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
clang-12: error: no such file or directory: 'libclang_rt.builtins-aarch64.a' #18958
Comments
After I search for a while, I'm working on build compiler-rt myself with this page. |
I have done this: git clone https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir build (in-tree build is not supported)
cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
make -j8
make install
cd llvm-project
mkdir build-compiler-rt
cd build-compiler-rt
cmake ../compiler-rt -DLLVM_CONFIG_PATH=/usr/local/bin/llvm-config
make -j8
make install
cp /usr/local/lib/linux/libclang_rt.builtins-aarch64.a /usr/local/lib , which get through the error. |
This error have got through, then I got another error. Might I create a new issuse or just post in this issuse? @robot-clickhouse |
I got this warning error:
Then I comment out these three lines in CMakelists.txt:
And then pass through the warn error. |
Compile completed. |
Make sure that
git diff
result is empty and you've just pulled fresh master. Try cleaning up cmake cache. Just in case, official build instructions are published here: https://clickhouse.yandex/docs/en/development/build/After I upgrade clang and ninja version from this issuse #18866
compile command:
error message:
Operating system
custom distribution based on centos
Cmake version
3.19.1
Ninja version
1.10.2
Compiler name and version
clang 12.0.0
Full cmake and/or ninja output
The text was updated successfully, but these errors were encountered: