-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Description
Congrats to all the contributors and the release team getting 21.1.0 out the door!
To celebrate I decided to rebuild my clang/lld/lldb/extras environment on the new release. I downloaded llvm-project-llvmorg-21.1.0.tar.gz and ran the following commands to extract, configure and build.
tar -xzf llvm-project-llvmorg-21.1.0.tar.gz -C ~/
cd ~/llvm-project-llvmorg-21.1.0
mkdir build
cmake -S llvm -B build -G "Unix Makefiles" \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb;" \
-DCMAKE_INSTALL_PREFIX=/Users/xxx/os_tools/llvm21.1.0 \
-DCMAKE_BUILD_TYPE=Release \
-DCLANG_DEFAULT_LINKER=lld \
-DLLDB_USE_SYSTEM_DEBUGSERVER=ON \
-DLLDB_INCLUDE_TESTS=OFF
cmake --build build -j10
The cmake configure step seems to run fine, but the build step almost immediately gives errors about missing lldb header files. Lots of lines such as this in the output, all about lldb headers:
/bin/sh: /Users/xxx/llvm-project-llvmorg-21.1.0/build/include/lldb/LLDB.h: No such file or directory
The build does continue without any additional errors until the very end where it fails.
I've uploaded the output from both cmake commands.
Computer: macOS Sequoia 15.6 on M3 processor
Metadata
Metadata
Assignees
Type
Projects
Status