Minimal build enabled
Some checks failed
Builds / XTChain (linux) (push) Failing after 23s
Builds / XTChain (windows) (push) Failing after 23s

This commit is contained in:
Aiken Harris 2025-07-07 21:41:10 +02:00 committed by CodingWorkshop Signing Team
parent 243c010b20
commit 153cfa0181
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

View File

@ -372,6 +372,16 @@ xtchain_build()
cp ${WRKDIR}/scripts/xtchain${EXTENSION} ${BINDIR}/ cp ${WRKDIR}/scripts/xtchain${EXTENSION} ${BINDIR}/
} }
# This function generates XTCHAIN version file
xtchain_vergen()
{
cd ${WRKDIR}
: ${XTCVER:=$(git describe --exact-match --tags 2>/dev/null)}
: ${XTCVER:=DEVEL}
[ ${BUILD_MINIMAL} -eq 1 ] && XTCVER="${XTCVER}-min"
echo "${XTCVER}" > ${BINDIR}/Version
}
# Parse all arguments provided to the script # Parse all arguments provided to the script
@ -426,28 +436,26 @@ fi
mkdir -p ${BINDIR} mkdir -p ${BINDIR}
mkdir -p ${SRCDIR} mkdir -p ${SRCDIR}
# Build XTChain tools # Build XTchain tools
#xtchain_build #xtchain_build
# Download and build Wine tools # Download and build Wine tools
#wine_fetch #wine_fetch
#wine_build #wine_build
# Download and build LLVM if [ ${BUILD_MINIMAL} -eq 0 ]; then
#llvm_fetch # Download and build LLVM
#llvm_build #llvm_fetch
#llvm_build
# Download and build CMake # Download and build CMake
#cmake_fetch #cmake_fetch
#cmake_build #cmake_build
# Download and build Ninja # Download and build Ninja
#ninja_fetch #ninja_fetch
#ninja_build #ninja_build
fi
# Save XT Toolchain version # Generate XTchain version file
cd ${WRKDIR} #xtchain_vergen
: ${XTCVER:=$(git describe --exact-match --tags 2>/dev/null)}
: ${XTCVER:=DEVEL}
[ ${BUILD_MINIMAL} -eq 1 ] && XTCVER="${XTCVER}-min"
echo "${XTCVER}" > ${BINDIR}/Version