CI: a bit more streamlined scripts

This commit is contained in:
2024-06-04 14:48:52 +02:00
parent dddaf83543
commit fbb0205db0
3 changed files with 84 additions and 41 deletions

19
ficus-toolchain/buildenv.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
if [ -z "$FICUS_ROOT" ]; then
echo "$FICUS_ROOT" is blank
fi
export PREFIX="$FICUS_ROOT/toolchain/gcc-x86_64-ficus-prefix/"
export TARGET=x86_64-ficus
export PATH="$PREFIX/bin:$PATH"
if [ -z "${BUILD_PARALLEL}" ]
then
export BUILD_PARALLEL=$(nproc)
fi
if [ -z "${BUILD_PARALLEL}" ]
then
export BUILD_PARALLEL=$BUILD_PARALLEL
fi