Distinguish build type in the archive name
All checks were successful
Builds / XTchain (full, linux) (push) Successful in 2m25s
Builds / XTchain (full, windows) (push) Successful in 2m23s
Builds / XTchain (minimal, linux) (push) Successful in 2m10s
Builds / XTchain (minimal, windows) (push) Successful in 2m6s

This commit is contained in:
Aiken Harris 2025-07-09 12:32:00 +02:00 committed by CodingWorkshop Signing Team
parent 9d93103940
commit eb90b2892a
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

View File

@ -375,6 +375,7 @@ xtchain_build()
# This function generates XTCHAIN version file and produces tarball archive
xtchain_tarball()
{
local BUILD="full"
local EXTENSION=""
local LIBDIR=""
@ -417,7 +418,10 @@ xtchain_tarball()
# Build tarball
echo ">>> Creating toolchain archive ..."
tar -I 'zstd -19' -cpf xtchain-${XTCVER}-${TARGET_SYSTEM}.tar.zst -C ${BINDIR} .
if [ ${BUILD_MINIMAL} -eq 1 ]; then
BUILD="min"
fi
tar -I 'zstd -19' -cpf xtchain-${XTCVER}-${TARGET_SYSTEM}-${BUILD}.tar.zst -C ${BINDIR} .
}
@ -475,11 +479,11 @@ mkdir -p ${BINDIR}
mkdir -p ${SRCDIR}
# Build XTchain tools
#xtchain_build
xtchain_build
# Download and build Wine tools
#wine_fetch
#wine_build
wine_fetch
wine_build
if [ ${BUILD_MINIMAL} -eq 0 ]; then
# Download and build LLVM
@ -491,9 +495,9 @@ if [ ${BUILD_MINIMAL} -eq 0 ]; then
#cmake_build
# Download and build Ninja
#ninja_fetch
#ninja_build
ninja_fetch
ninja_build
fi
# Generate tarball archive
#xtchain_tarball
xtchain_tarball