- Make sure to also
git submodule initandgit submodule updateto fetch the submodules. (Or do the clone recursively thing, can't remember the flag) - After cloning repo / submodules, make sure that each submodule is pointing to the right remote / branch:
cd npm/; git remote -v; git status; cd ..should show the remote ishttps://github.com/donald-pinckney/cli/, and the branch islatestcd arborist/; git remote -v; git status; cd ..should show the remote ishttps://github.com/donald-pinckney/arborist, and the branch ismain- If either of these are wrong, change remotes / checkout branches appropriately.
- You need to have installed:
- node (I have
v15.2.1) - any somewhat recent npm (the version really shouldn't matter)
- Racket (I have
Racket v8.4 [cs])
- node (I have
Run all the following on a compute node if on discovery!
pushd arborist/; npm install; popdpushd npm/; npm install -g; popdpushd rosette/; raco pkg remove rosette; raco pkg install; popdpushd z3/; python3 scripts/mk_make.py --staticbin; cd build/; make -j12; popdpushd version-oldness/; npm install; popdpushd version-cve-badness/; npm install; popdpushd RosetteSolver/; raco exe rosette-solver.rkt; popd- Find the location of the installed NPM binary, and symlink it to someplace in your PATH under the name
minnpm. E.g.:ln -s $(which npm) ~/.local/bin/minnpm. - Then probably restart your terminal
- From anywhere, run
minnpm install --help. You should see--rosettelisted as an option.
- You need to have installed:
- Docker (version should not matter)
pushd dockerfile/; ./build.sh minnpm.Dockerfile; popd- Now, you will have the docker image installed as
pacsolve:latest