Enable minimal build
Some checks failed
Builds / XTChain (windows) (push) Failing after -59m46s
Builds / XTChain (linux) (push) Successful in 16s

This commit is contained in:
Aiken Harris 2025-07-07 09:18:39 +02:00 committed by CodingWorkshop Signing Team
parent b8b5562cc4
commit bc85522143
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

View File

@ -18,6 +18,7 @@ GENERIC="generic-w64-mingw32"
# Default Configuration # Default Configuration
BUILD_JOBS=0 BUILD_JOBS=0
BUILD_MINIMAL=0
CLEAN_BUILD=0 CLEAN_BUILD=0
ENABLE_LLVM_ASSEMBLY=0 ENABLE_LLVM_ASSEMBLY=0
LLVM_DYNAMIC_LINK=ON LLVM_DYNAMIC_LINK=ON
@ -286,7 +287,7 @@ prepare_environment()
# Prints usage help # Prints usage help
print_usage() print_usage()
{ {
echo "USAGE: ${0} [--clean] [--enable-llvm-assembly] [--jobs=N] [--static-llvm] [--target={linux,windows}]" echo "USAGE: ${0} [--clean] [--enable-llvm-assembly] [--jobs=N] [--minimal] [--static-llvm] [--target={linux,windows}]"
exit 1 exit 1
} }
@ -392,6 +393,9 @@ while [ $# -gt 0 ]; do
# Sets number of CPU cores used for compilation # Sets number of CPU cores used for compilation
BUILD_JOBS="${1#*=}" BUILD_JOBS="${1#*=}"
;; ;;
--minimal)
BUILD_MINIMAL=1
;;
--static-llvm) --static-llvm)
# Compiles LLVM statically # Compiles LLVM statically
LLVM_DYNAMIC_LINK=OFF LLVM_DYNAMIC_LINK=OFF