Skip to content

Commit 214ff41

Browse files
committed
Update checkout_build_install_llvm.sh.
1 parent 47e8452 commit 214ff41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

checkout_build_install_llvm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ cd $WORK_DIR/src/llvm/projects && git clone --depth 1 http://llvm.org/git/libcxx
3737
# Build & Install
3838
mkdir -p $WORK_DIR/work/llvm
3939
cd $WORK_DIR/work/llvm
40+
41+
# Consider adding of -DCMAKE_INSTALL_PREFIX=%PATH% flag, if you do not want to
42+
# install fresh llvm binaries into standard system paths.
4043
cmake -G "Ninja" \
4144
-DLIBCXX_ENABLE_SHARED=OFF -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
4245
-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" \

0 commit comments

Comments
 (0)