mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2025-12-31 05:48:35 +03:00
Make BUILD_NAME globally configurable
This commit is contained in:
6
build.sh
6
build.sh
@@ -13,6 +13,10 @@ if [ ! -e config.sh ]; then
|
||||
fi
|
||||
source ./config.sh
|
||||
|
||||
if [ -z "${BUILD_NAME}" ]; then
|
||||
export BUILD_NAME="custom_build"
|
||||
fi
|
||||
|
||||
if [ -z "${NUM_CORES}" ]; then
|
||||
export NUM_CORES=16
|
||||
fi
|
||||
@@ -162,7 +166,7 @@ export basedir="$(pwd)"
|
||||
mkdir -p ${basedir}/out
|
||||
mkdir -p ${basedir}/out/logs
|
||||
|
||||
export podman_run="${podman} run -it --rm --env NUM_CORES --env CLASSICAL=${build_classical} --env MONO=${build_mono} -v ${basedir}/godot.tar.gz:/root/godot.tar.gz -v ${basedir}/mono-glue:/root/mono-glue -w /root/"
|
||||
export podman_run="${podman} run -it --rm --env BUILD_NAME --env NUM_CORES --env CLASSICAL=${build_classical} --env MONO=${build_mono} -v ${basedir}/godot.tar.gz:/root/godot.tar.gz -v ${basedir}/mono-glue:/root/mono-glue -w /root/"
|
||||
export img_version=3.2-mono-6.12.0.114
|
||||
|
||||
# Get AOT compilers from their containers.
|
||||
|
||||
Reference in New Issue
Block a user