forked from CakeML/regression
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use HOL-<sha>, shared between all jobs using that sha. Use cakeml-<jid> for a particular job's CakeML working dir.
- Loading branch information
Showing
4 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/sh | ||
set -e | ||
pushd $1 | ||
NAME=cakeml-job-$1 | ||
tar --create --file ${NAME}.tar --exclude-from=HOL/tools-poly/rebuild-excludes.txt --exclude=HOL/help/Docfiles --exclude=HOL/help/theorygraph --transform="s|^|${NAME}/|" HOL | ||
tar --append --file ${NAME}.tar --exclude-from=cakeml/developers/rebuild-excludes --transform="s|^|${NAME}/|" cakeml | ||
NAME=cakeml-$1 | ||
HOLDIR=$(cat ${NAME}/HOLDIR) | ||
tar --create --file ${NAME}.tar --exclude-from="${HOLDIR}/tools-poly/rebuild-excludes.txt" --exclude="${HOLDIR}/help/Docfiles" --exclude="${HOLDIR}/help/theorygraph" --transform="s|^${HOLDIR}|${NAME}/HOL|r" ${HOLDIR} | ||
tar --append --file ${NAME}.tar --exclude-from="${NAME}/developers/rebuild-excludes" --transform="s|^${NAME}|${NAME}/cakeml|r" ${NAME} | ||
gzip ${NAME}.tar | ||
rsync -Pvz ${NAME}.tar.gz [email protected]:/strongspace/xrchz/public/ | ||
popd | ||
|
||
# Developer Recipe | ||
# | ||
# 1. download stuff | ||
# 2. untar working directories in fresh locations | ||
# 3. rebuild | ||
# - HOL will require | ||
# 1. poly < tools/smart-configure.sml | ||
# 2. bin/build --relocbuild | ||
# 1. poly --script tools/smart-configure.sml | ||
# 2. bin/build --relocbuild --nograph | ||
# - CakeML | ||
# 1. cd cakeml/`cat cakeml/resume` | ||
# 2. Holmake --qof -k --relocbuild | ||
# 2. fix Lem stuff: remove addancs dependencies in semantics/Holmakefile | ||
# 3. /path/to/the/above/HOL/bin/Holmake --relocbuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters