Skip to content
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

Cannot build on Ubuntu 18.04.5 LTS, Please help. #1

Open
chanwitkepha opened this issue Apr 5, 2021 · 3 comments
Open

Cannot build on Ubuntu 18.04.5 LTS, Please help. #1

chanwitkepha opened this issue Apr 5, 2021 · 3 comments

Comments

@chanwitkepha
Copy link

According from guide in https://github.com/haynesgt/icgrep-clone/blob/master/README-icgrep.txt

When I build LLVM with command

cmake -DCMAKE_INSTALL_PREFIX=../libllvm -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_TOOLS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release ../llvm-3.8.0.src

Then I use command

make

But It have error as below

lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/build.make:62: recipe for target 'lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o' failed make[2]: *** [lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o] Error 1 CMakeFiles/Makefile2:3884: recipe for target 'lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/all' failed make[1]: *** [lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2

So please suggest me how to solve this problem, Thank you.

@haynesgt
Copy link
Owner

haynesgt commented Apr 6, 2021

You'll probably need to use an older version of libboost.

@haynesgt
Copy link
Owner

haynesgt commented Apr 6, 2021

I remember having the same problem in 2018. I'm not sure which boost version would work.

@chanwitkepha
Copy link
Author

Thank you, I will try again with older version of Ubuntu. Maybe it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants