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.
Exclude .git from reloc tarballs and update docs
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,28 @@ | |
set -e | ||
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} | ||
tar --create --file ${NAME}.tar --exclude-from="${HOLDIR}/tools-poly/rebuild-excludes.txt" --exclude="${HOLDIR}/.git" --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" --exclude="${NAME}/.git" --transform="s|^${NAME}|${NAME}/cakeml|r" ${NAME} | ||
gzip ${NAME}.tar | ||
rsync -Pvz ${NAME}.tar.gz [email protected]:/strongspace/xrchz/public/ | ||
|
||
# Developer Recipe | ||
# | ||
# 1. download stuff | ||
# 2. untar working directories in fresh locations | ||
# 1. Download http://strongspace.com/xrchz/public/cakeml-XXX.tar.gz | ||
# 2. tar -xzf cakeml-XXX.tar.gz && cd cakeml-XXX | ||
# 3. rebuild | ||
# - HOL will require | ||
# - HOL: | ||
# 1. poly --script tools/smart-configure.sml | ||
# 2. bin/build --relocbuild --nograph | ||
# - CakeML | ||
# 1. cd cakeml/`cat cakeml/resume` | ||
# 2. fix Lem stuff: remove addancs dependencies in semantics/Holmakefile | ||
# This will eventually fail complaining about | ||
# missing help/Docfiles/HTML - that is OK | ||
# - CakeML: | ||
# 1. Manually build some heaps (until https://github.com/CakeML/cakeml/issues/389 is solved): | ||
# cd cakeml/semantics/proofs | ||
# /path/to/the/above/HOL/bin/Holmake --relocbuild heap | ||
# cd ../.. | ||
# 2. cd $(cat resume) | ||
# 3. /path/to/the/above/HOL/bin/Holmake --relocbuild | ||
# 4. After hacking, you could copy your .git into the cakeml directory | ||
# (from a working directory checked out to the the correct branch) | ||
# to make commits. |