Add RACKET_CS "flavor"; closes #37

This commit is contained in:
Greg Hendershott 2019-10-24 11:42:16 -04:00
parent 523825f1ac
commit b438731ab3
2 changed files with 17 additions and 2 deletions

View File

@ -15,6 +15,13 @@ else
RACKET_NATIPKG=""
fi
if [[ "$RACKET_CS" = "1" ]]; then
RACKET_CS="-cs"
else
RACKET_CS=""
fi
DL_BASE="https://www.cs.utah.edu/plt/installers"
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
@ -48,7 +55,7 @@ elif [[ "$RACKET_VERSION" = 6.[0-4] ]] || [[ "$RACKET_VERSION" = 6.[0-4].[0-9] ]
elif [[ "$RACKET_VERSION" = 6.* ]]; then
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux${RACKET_NATIPKG}.sh"
elif [[ "$RACKET_VERSION" = 7.* ]]; then
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux${RACKET_NATIPKG}.sh"
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux${RACKET_NATIPKG}${RACKET_CS}.sh"
else
echo "ERROR: Unsupported version ${RACKET_VERSION}"
exit 1

10
test.sh
View File

@ -1,4 +1,12 @@
for VER in HEAD HEADCS RELEASE RELEASECS 7.4 7.3 7.2 7.1 7.0 6.12 6.11 6.10 6.9 6.8 6.7 6.6 6.5 6.4 6.3 6.2 6.2.1 6.1 6.1.1 6.0 6.0.1 5.93 5.92 5.3 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 ; do
for VER in 7.4 ; do
for MIN in 0 1; do
for CS in 0 1; do
TEST=1 RACKET_MINIMAL=$MIN RACKET_CS=$CS RACKET_VERSION=$VER ./install-racket.sh
done
done
done
for VER in HEAD HEADCS RELEASE RELEASECS 7.3 7.2 7.1 7.0 6.12 6.11 6.10 6.9 6.8 6.7 6.6 6.5 6.4 6.3 6.2 6.2.1 6.1 6.1.1 6.0 6.0.1 5.93 5.92 5.3 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 ; do
for MIN in 0 1; do
TEST=1 RACKET_MINIMAL=$MIN RACKET_VERSION=$VER ./install-racket.sh
done