-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on Arch Linux #308
Comments
The reason this fails is that the current Arch packages for LLVM and Clang 6.0 do not include static libraries for Clang. Therefore, I don't think it will be possible to build Terra with the current Arch packages, without teaching Terra to first build from dynamic libraries. |
I have managed to build Terra main binary on arch. It works pretty ok, all tests passed except for the single one. Of course that test is "dynlib" that itself assumes the same thing as the Terra Makefile: that clang and LLVM are static. (edit: nevermind, it just couldn't find the luajit lib because of hacking around with the compiler commands manually instead of letting makefile do stuff by itself... after I also additionally compiled the But yeah, it can be build on Arch, on dynamic libraries, while making every single test work. It just needs a whack into build statements.
|
We may theoretically be able to make this work out of the box now with CMake. I'm not sure that FindClang.cmake is robust enough to handle Clang's dynamic libraries, but I'm sure that can be fixed with some effort. |
With the following Dockerfile:
I get the following error:
The text was updated successfully, but these errors were encountered: