build-all: Add an --llvm-only option
This commit is contained in:
1 parent
37daec78ac
commit
d3c7a1b06f
1 file changed
+7
-1
+7
-1
@@ -73,6 +73,9 @@ while [ $# -gt 0 ]; do
|
||||
--clean-runtimes)
|
||||
CLEAN_RUNTIMES=1
|
||||
;;
|
||||
--llvm-only)
|
||||
LLVM_ONLY=1
|
||||
;;
|
||||
*)
|
||||
if [ -n "$PREFIX" ]; then
|
||||
echo Unrecognized parameter $1
|
||||
@@ -84,7 +87,7 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
if [ -z "$PREFIX" ]; then
|
||||
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"
|
||||
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"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -109,6 +112,9 @@ if [ -z "$NO_TOOLS" ]; then
|
||||
./strip-llvm.sh $PREFIX $HOST_ARGS
|
||||
fi
|
||||
fi
|
||||
if [ -n "$LLVM_ONLY" ]; then
|
||||
exit 0
|
||||
fi
|
||||
./install-wrappers.sh $PREFIX $HOST_ARGS ${HOST_CLANG:+--host-clang=$HOST_CLANG}
|
||||
./build-mingw-w64-tools.sh $PREFIX $HOST_ARGS
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user