Skip to content

Commit

Permalink
Build clang-tools-extra as part of stock clang under Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
afd committed Nov 8, 2023
1 parent f68780c commit c0bb4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ case "$(uname)" in
if [ "${BUILD_WITH_PREBUILT_CLANG}" == 0 ]
then
INSTALL_DIR="${INSTALL_DIR}-stock-clang"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}" -DLLVM_ENABLE_PROJECTS="clang"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra"
else
INSTALL_DIR="${INSTALL_DIR}-prebuilt-clang"
cmake -G Ninja -C clang/cmake/caches/Fuchsia.cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}"
Expand Down

0 comments on commit c0bb4c9

Please sign in to comment.