Use clang to build custom ninja

This commit is contained in:
uazo 2023-01-30 17:40:03 +01:00 committed by GitHub
parent e7381936fe
commit 45836ce3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ cd $WORKSPACE/
git clone https://github.com/ninja-build/ninja.git -b v1.8.2
cd ninja
git apply $WORKSPACE/bromite-buildtools/ninja-one-target-for-compdb.patch
./configure.py --bootstrap
CXX=clang++ ./configure.py --bootstrap
echo -e ${RED} -------- download clang indexer ${NC}
cd $WORKSPACE/