-
Notifications
You must be signed in to change notification settings - Fork 132
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
Trouble With Compiling Dependencies #355
Comments
I' believe to have found the reason behind the "ar: bin/build/llvm_objects/llvm_.o: No such file or directory" problem: the Halide's Makefile. The Makefile of Halide's tiramisu_64 branch (at 3rdParty) bundles multiple LLVM libs for libHalide.a. This list is compiled by line 670 of Makefile. However, this list is never used. I've changed line 696 to add argument "$(BUILD_DIR)/llvm_objects/list" instead of "$(BUILD_DIR)/llvm_objects/llvm_.o". This allows the compilation of Halide through install_submodules.sh. Now, when trying to compile tiramisu, there are many linker errors similar to this: |
@WillianJunior Do you solve the linkers errors? I experienced the same problem as you met. However, after running the install script again, the problem "ar: bin/build/llvm_objects/llvm_.o: No such file or directory" disappeared. After |
I'm attempting to compile tag V0.2, but failing to resolve the 3rd party dependencies. More specifically, Halide. After running install_submodules.sh I encounter the following error:
I also tried to compile Halide manually, as advised by INSTALL.md with no success, as it breaks at tiramisu/3rdParty/Halide/Makefile:696:
ar: bin/build/llvm_objects/llvm_.o: No such file or directory
At last, I tried to compile Halide through cmake, which after some changes to CMakeFiles.txt it found the tiramisu/3rdParty/llvm dependency, but still failled to find some includes:
/home/willian/git/tiramisu/3rdParty/Halide/src/LLVM_Headers.h:18:10: fatal error: llvm/ExecutionEngine/JITEventListener.h: No such file or directory
I'm using Ubuntu 20.04, gcc 7.5.0 and cmake 3.16.3.
How should I proceed in order to compile the dependencies?
Thanks for the help
The text was updated successfully, but these errors were encountered: