Commit 701b3d78 authored by ARM64 Builder's avatar ARM64 Builder
Browse files

in clean-classic for linux-arm32 and linux_thumb add gast library and examples

parent 6d2002cb
Pipeline #50935 passed with stage
in 17 minutes and 6 seconds
......@@ -42,6 +42,9 @@ done
mkdir -p clean/data/Generics
cp clean-libraries/Libraries/GenLib/*.[id]cl clean/data/Generics/
mkdir -p clean/data/Gast
cp -r -t clean/data/Gast clean-libraries/Libraries/Gast/*
mkdir -p clean/data/StdLib
cp clean-libraries/Libraries/StdLib/*.[id]cl clean/data/StdLib/
......
......@@ -37,6 +37,21 @@ clm -nt -dynamics type_dependent_functions -o type_dependent_functions
EOF
chmod +x clean/examples/DynamicsExamples/make.sh
(cd git/gast; git checkout master Tests)
mkdir -p clean/examples/GastExamples
mv git/gast/Tests/*.icl clean/examples/GastExamples
rm -rf git/gast/Tests
cat > clean/examples/GastExamples/make.sh<< EOF
export PATH=../../bin:\$PATH
clm -nt -b -IL Gast -IL Platform bool -o bool
clm -nt -b -IL Gast -IL Platform char -o char
clm -nt -b -IL Gast -IL Platform int -o int
clm -nt -b -IL Gast -IL Platform tree -o tree
clm -nt -b -IL Gast -IL Platform with_options -o with_options
EOF
chmod +x clean/examples/GastExamples/make.sh
mkdir -p clean/examples/PlatformExamples/socket
mkdir -p clean/examples/PlatformExamples/WebPM/icons
cp clean-platform/src/examples/*.* clean/examples/PlatformExamples
......
......@@ -5,6 +5,10 @@ set -e
mkdir -p clean-libraries/Libraries
mv git/clean-libraries/Libraries/* clean-libraries/Libraries/
(cd git/gast; git checkout master Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast)
mkdir -p clean-libraries/Libraries
mv git/gast/Libraries clean-libraries/Libraries/Gast/
(cd git/clean-platform; git checkout master .)
mkdir clean-platform
mv git/clean-platform/* clean-platform/
......
......@@ -8,6 +8,7 @@ git clone -n --depth=1 https://gitlab.science.ru.nl/clean-compiler-and-rts/stden
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clm.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-ide.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/gast.git gast
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-platform.git
cd ..
mkdir svn
......
......@@ -56,7 +56,7 @@ GMAKECURRENTDIR = ${shell echo `pwd`}
#
# Install section
#
install: install_bin install_stdenv install_man install_doc install_ArgEnv install_Generics install_StdLib install_Directory install_MersenneTwister install_TCPIP install_Platform $(PATCHES)
install: install_bin install_stdenv install_man install_doc install_ArgEnv install_Generics install_Gast install_StdLib install_Directory install_MersenneTwister install_TCPIP install_Platform $(PATCHES)
$(PATCH_BIN) $(INSTALL_CLM) CLEANLIB $(INSTALL_EXE_DIR)
cleanup: cleanup_stdenv
......@@ -173,6 +173,13 @@ $(INSTALL_LIB_DIR)/Generics :
install_Generics : $(INSTALL_LIB_DIR)/Generics
cp -r data/Generics/* $(INSTALL_LIB_DIR)/Generics
$(INSTALL_LIB_DIR)/Gast :
mkdir -p $@
mkdir -p $@/"Clean System Files"
install_Gast : $(INSTALL_LIB_DIR)/Gast
cp -r data/Gast/* $(INSTALL_LIB_DIR)/Gast
$(INSTALL_LIB_DIR)/StdLib :
mkdir -p $@
mkdir -p $@/"Clean System Files"
......
......@@ -42,6 +42,9 @@ done
mkdir -p clean/data/Generics
cp clean-libraries/Libraries/GenLib/*.[id]cl clean/data/Generics/
mkdir -p clean/data/Gast
cp -r -t clean/data/Gast clean-libraries/Libraries/Gast/*
mkdir -p clean/data/StdLib
cp clean-libraries/Libraries/StdLib/*.[id]cl clean/data/StdLib/
......
......@@ -37,6 +37,21 @@ clm -nt -dynamics type_dependent_functions -o type_dependent_functions
EOF
chmod +x clean/examples/DynamicsExamples/make.sh
(cd git/gast; git checkout master Tests)
mkdir -p clean/examples/GastExamples
mv git/gast/Tests/*.icl clean/examples/GastExamples
rm -rf git/gast/Tests
cat > clean/examples/GastExamples/make.sh<< EOF
export PATH=../../bin:\$PATH
clm -nt -b -IL Gast -IL Platform bool -o bool
clm -nt -b -IL Gast -IL Platform char -o char
clm -nt -b -IL Gast -IL Platform int -o int
clm -nt -b -IL Gast -IL Platform tree -o tree
clm -nt -b -IL Gast -IL Platform with_options -o with_options
EOF
chmod +x clean/examples/GastExamples/make.sh
mkdir -p clean/examples/PlatformExamples/socket
mkdir -p clean/examples/PlatformExamples/WebPM/icons
cp clean-platform/src/examples/*.* clean/examples/PlatformExamples
......
......@@ -5,6 +5,10 @@ set -e
mkdir -p clean-libraries/Libraries
mv git/clean-libraries/Libraries/* clean-libraries/Libraries/
(cd git/gast; git checkout master Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast)
mkdir -p clean-libraries/Libraries
mv git/gast/Libraries clean-libraries/Libraries/Gast/
(cd git/clean-platform; git checkout master .)
mkdir clean-platform
mv git/clean-platform/* clean-platform/
......
......@@ -8,6 +8,7 @@ git clone -n --depth=1 https://gitlab.science.ru.nl/clean-compiler-and-rts/stden
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clm.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-ide.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries.git
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/gast.git gast
git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-platform.git
cd ..
mkdir svn
......
......@@ -56,7 +56,7 @@ GMAKECURRENTDIR = ${shell echo `pwd`}
#
# Install section
#
install: install_bin install_stdenv install_man install_doc install_ArgEnv install_Generics install_StdLib install_Directory install_MersenneTwister install_TCPIP install_Platform $(PATCHES)
install: install_bin install_stdenv install_man install_doc install_ArgEnv install_Generics install_Gast install_StdLib install_Directory install_MersenneTwister install_TCPIP install_Platform $(PATCHES)
$(PATCH_BIN) $(INSTALL_CLM) CLEANLIB $(INSTALL_EXE_DIR)
cleanup: cleanup_stdenv
......@@ -173,6 +173,13 @@ $(INSTALL_LIB_DIR)/Generics :
install_Generics : $(INSTALL_LIB_DIR)/Generics
cp -r data/Generics/* $(INSTALL_LIB_DIR)/Generics
$(INSTALL_LIB_DIR)/Gast :
mkdir -p $@
mkdir -p $@/"Clean System Files"
install_Gast : $(INSTALL_LIB_DIR)/Gast
cp -r data/Gast/* $(INSTALL_LIB_DIR)/Gast
$(INSTALL_LIB_DIR)/StdLib :
mkdir -p $@
mkdir -p $@/"Clean System Files"
......
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