arnetheduck / nlvm

LLVM-based compiler for the Nim language
Other
701 stars 41 forks source link

cannot build on macos #27

Closed bentxt closed 3 years ago

bentxt commented 3 years ago

hi, make fails with

CMake Error at cmake/modules/HandleLLVMOptions.cmake:273 (message): Host compiler does not support '-fuse-ld=gold'

I do have an working llvm installed (Homebrew) in /usr/local/Cellar/llvm/11.0.0/

Doesn't seems to be recognized, since the nlvm build script tries to build llvm from sources

arnetheduck commented 3 years ago

Per the README, osx is indeed not supported (I don't have/use a mac) - happy to take contributions