File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ while [ $# -gt 0 ]; do
7373 --clean-runtimes)
7474 CLEAN_RUNTIMES=1
7575 ;;
76+ --llvm-only)
77+ LLVM_ONLY=1
78+ ;;
7679 * )
7780 if [ -n " $PREFIX " ]; then
7881 echo Unrecognized parameter $1
@@ -84,7 +87,7 @@ while [ $# -gt 0 ]; do
8487 shift
8588done
8689if [ -z " $PREFIX " ]; then
87- echo " $0 [--host-clang[=clang]] [--enable-asserts] [--disable-dylib] [--with-clang] [--thinlto] [--full-llvm] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--host=triple] [--with-default-win32-winnt=0x601] [--with-default-msvcrt=ucrt] [--enable-cfguard|--disable-cfguard] [--no-runtimes] [--no-tools] [--wipe-runtimes] [--clean-runtimes] dest"
90+ echo " $0 [--host-clang[=clang]] [--enable-asserts] [--disable-dylib] [--with-clang] [--thinlto] [--full-llvm] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--host=triple] [--with-default-win32-winnt=0x601] [--with-default-msvcrt=ucrt] [--enable-cfguard|--disable-cfguard] [--no-runtimes] [--llvm-only] [-- no-tools] [--wipe-runtimes] [--clean-runtimes] dest"
8891 exit 1
8992fi
9093
@@ -109,6 +112,9 @@ if [ -z "$NO_TOOLS" ]; then
109112 ./strip-llvm.sh $PREFIX $HOST_ARGS
110113 fi
111114 fi
115+ if [ -n " $LLVM_ONLY " ]; then
116+ exit 0
117+ fi
112118 ./install-wrappers.sh $PREFIX $HOST_ARGS ${HOST_CLANG: +--host-clang=$HOST_CLANG }
113119 ./build-mingw-w64-tools.sh $PREFIX $HOST_ARGS
114120fi
You can’t perform that action at this time.
0 commit comments