Closed hraftery closed 3 years ago
Hi @hraftery,
For what it's worth, with latest everything (Crystal 0.35.1, macos 11.0.1, LLVM 11.0.0), crystalline seems to fail to build with this error:
Yes this is an issue with crystal itself that does not support llvm 11. (see: https://github.com/crystal-lang/crystal/issues/9809).
Seems to be an LLVM change, but Homebrew doesn't have LLVM@10, so not sure if it's worth rolling back to another version?
Using the llvm@9
formula should be fine until the above issue is solved.
I'll close as a duplicate since there is another issue regarding LLVM.
Yep, that did it! Embarrassingly enough I only had to add @9
to the build command, since it turns out I already had it installed. Somehow took me 19 days to verify though...
git clone https://github.com/elbywan/crystalline
cd crystalline
mkdir bin
shards install
env LLVM_CONFIG=/usr/local/opt/llvm@9/bin/llvm-config crystal build ./src/crystalline.cr -o ./bin/crystalline --release --no-debug --progress -Dpreview_mt
Easy and mess free!
For what it's worth, with latest everything (Crystal 0.35.1, macos 11.0.1, LLVM 11.0.0), crystalline seems to fail to build with this error:
Seems to be an LLVM change, but Homebrew doesn't have LLVM@10, so not sure if it's worth rolling back to another version?