Closed basicfeatures closed 1 year ago
pkg_add llvm
seemed to do the trick.
Actually that was not at all how. But I found a temp workaround, maybe leave this issue open until we have a real solution?
$ ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-openbsd]
$ uname -sr
OpenBSD 7.3
$ gem install --user-install tiktoken_ruby
[...fails...]
$ doas pkg_add gmake
$ export LIBCLANG_PATH=/usr/local/lib/
$ gmake
$ doas gmake install
Nasty!
Found the way:
make=gmake LIBCLANG_PATH=/usr/local/lib gem install --user-install tiktoken_ruby
I see it's aware of OpenBSD's clang and clang++ which is great. For those who don't know, OpenBSD's has its own rewrite alternative of almost everything, including make.
Anybody know what to do?