Commit a6cc96e5 authored by John van Groningen's avatar John van Groningen
Browse files

in clean-classic for linux-arm64 remove txt/install.sh and txt/make.sh, use...

in clean-classic for linux-arm64 remove txt/install.sh and txt/make.sh, use install_no_profile.sh and make.sh from stdenv repository instead
parent e74c5aad
Pipeline #50105 passed with stage
in 14 minutes and 58 seconds
......@@ -28,8 +28,8 @@ cp stdenv/_SystemStrictMaybes.dcl clean/StdEnv
cp stdenv/StdEnv\ 64\ Changed\ Files/_SystemStrictMaybes.icl clean/StdEnv
cp stdenv/Makefile_no_profile.linux clean/StdEnv/Makefile
cp clean-classic/linux-arm64/txt/make.sh clean/StdEnv/make.sh
cp clean-classic/linux-arm64/txt/install.sh clean/StdEnv/install.sh
cp stdenv/make.sh clean/StdEnv/make.sh
cp stdenv/install_no_profile.sh clean/StdEnv/install.sh
mkdir -p clean/StdEnv/Clean\ System\ Files
cp "stdenv/Clean System Files/_system.abc" clean/StdEnv/Clean\ System\ Files
......
set -e
./make.sh
CALL_CP="cp --preserve=timestamps"
CALL_CHMOD="chmod 644"
CLEAN_MODULES="StdArray StdCharList StdClass StdDebug StdFunc StdFunctions StdList StdOrdList \
StdOverloaded StdTuple _SystemEnum StdEnum _SystemArray StdEnv _SystemStrictLists \
_SystemEnumStrict StdStrictLists StdOverloadedList StdGeneric StdMaybe _SystemStrictMaybes \
_SystemDynamic StdDynamic"
SYSTEM_MODULES="StdBool StdChar StdFile StdInt StdMisc StdReal StdString"
ABC_MODULES="_system"
OBJECT_MODULES="_startup _startupTrace"
mkdir -p $INSTALL_STDENV_DIR
mkdir -p $INSTALL_STDENV_DIR/"Clean System Files"
for M in $CLEAN_MODULES; do
$CALL_CP $M.icl $INSTALL_STDENV_DIR/$M.icl
$CALL_CHMOD $INSTALL_STDENV_DIR/$M.icl
done
for M in $CLEAN_MODULES $SYSTEM_MODULES $ABC_MODULES $OBJECT_MODULES; do
$CALL_CP $M.dcl $INSTALL_STDENV_DIR/$M.dcl
$CALL_CHMOD $INSTALL_STDENV_DIR/$M.dcl
done
for M in $SYSTEM_MODULES $CLEAN_MODULES $ABC_MODULES; do
$CALL_CP "Clean System Files"/$M.abc $INSTALL_STDENV_DIR/"Clean System Files"/$M.abc
$CALL_CHMOD $INSTALL_STDENV_DIR/"Clean System Files"/$M.abc
done
sleep 1
for M in $SYSTEM_MODULES $CLEAN_MODULES $ABC_MODULES $OBJECT_MODULES; do
$CALL_CP "Clean System Files"/$M.o $INSTALL_STDENV_DIR/"Clean System Files"/$M.o
$CALL_CHMOD $INSTALL_STDENV_DIR/"Clean System Files"/$M.o
done
# before calling the script define: INSTALL_STDENV_DIR CLEANLIB CLEANPATH CLMP CLMFLAGS
set -e
CLEAN_MODULES="StdArray StdCharList StdClass StdDebug StdFunc StdFunctions StdList StdOrdList \
StdOverloaded StdTuple _SystemEnum StdEnum _SystemArray StdEnv _SystemStrictLists \
_SystemEnumStrict StdStrictLists StdOverloadedList StdGeneric StdMaybe _SystemStrictMaybes"
CLEAN_DYNAMIC_MODULES="_SystemDynamic StdDynamic"
SYSTEM_MODULES="StdBool StdChar StdFile StdInt StdMisc StdReal StdString"
ABC_MODULES="_system"
CALL_CLM="$CLMP -P . $CLMFLAGS"
for M in $SYSTEM_MODULES ; do
$CALL_CLM -pt -ABC $M
done
# and again for inlining
for M in $SYSTEM_MODULES ; do
rm "Clean System Files"/$M.abc
$CALL_CLM -pt -ABC $M
done
for M in $CLEAN_DYNAMIC_MODULES; do
$CALL_CLM -dynamics -ABC $M
done
for M in $CLEAN_MODULES $ABC_MODULES; do
$CALL_CLM -ABC $M
done
sleep 1
for M in $CLEAN_DYNAMIC_MODULES; do
$CALL_CLM -dynamics -O $M
done
for M in $SYSTEM_MODULES $CLEAN_MODULES $ABC_MODULES; do
$CALL_CLM -O $M
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment