valopt release-channel "dev" "the name of the release channel to build"
valopt musl-root "/usr/local" "MUSL root installation directory"
+# Used on systems where "cc" and "ar" are unavailable
+valopt default-linker "cc" "the default linker"
+valopt default-ar "ar" "the default ar"
+
# Many of these are saved below during the "writing configuration" step
# (others are conditionally saved).
opt_nosave manage-submodules 1 "let the build manage the git submodules"
LLVM_BUILD_DIR=
LLVM_INST_DIR=$CFG_LLVM_ROOT
do_reconfigure=0
+ # Check that LLVm FileCheck is available. Needed for the tests
+ need_cmd $LLVM_INST_DIR/bin/FileCheck
fi
-
if [ ${do_reconfigure} -ne 0 ]
then
# because git is hilarious, it might have put the module index