Open bobhairgrove opened 4 hours ago
FWIW, the Clang tests seem to pass OK:
ninja clang-test
[0/1] Running the Clang regression tests
llvm-lit: /home/bob/code/clang-llvm/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /home/bob/code/clang-llvm/build/bin/clang
Testing Time: 1090.41s
Total Discovered Tests: 45538
Skipped : 8 (0.02%)
Unsupported : 145 (0.32%)
Passed : 45357 (99.60%)
Expectedly Failed: 28 (0.06%)
Platform is Linux Ubuntu 22.04 with g++ version 11.4.0.
I tried to clone and build LLVM and Clang from source following the instructions found here: https://clang.llvm.org/docs/LibASTMatchersTutorial.html
My
clang-llvm
directory is not directly under the $HOME directory, but in/home/bob/code/clang-llvm
, so I cloned the source code from GitHub as follows:Output:
CMake
andninja
were already installed in my system; their versions are:Then I did:
Then I ran:
There were quite a few warnings, but it seemed to run successfully. Finally, I ran:
The last command failed. Here is the complete output with the error message at the end:
I'm not a stranger to configuring and compiling things from source, but I do feel somewhat overwhelmed by the messages here. Can anyone please tell me exactly what failed, and how I might rectify this?