Last active
October 24, 2020 20:40
-
-
Save lsparrish/15d4e457ad2bcb7a0ae4d306fcbf79fa to your computer and use it in GitHub Desktop.
Build Clasp / Cando
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
# Ramnode instance, Ubuntu 20.04 Server Cloud | |
fallocate -l 8G /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
export USER=lsparrish | |
adduser $USER | |
gpasswd sudo --add $USER | |
sed -i 's/sudo\tALL=(ALL:ALL) ALL/sudo\tALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers | |
cp -r .ssh/ /home/$USER/; chown -R $USER /home/$USER/.ssh | |
su - $USER | |
git clone https://github.com/clasp-developers/clasp | |
# llvm/clang 10 doesn't work yet | |
sudo apt-get install -y python-is-python3 make llvm-9-dev clang-9 libclang-9-dev clang-format-9 clang-tools-9 clangd-9 sbcl libgmp-dev libgc-dev libz3-dev libboost-dev libboost-filesystem-dev libboost-date-time-dev curl git gpg libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libbsd-dev libelf-dev libexpat-dev libgmp-dev libzmq3-dev nano npm python3-pip sbcl wget zlib1g-dev libunwind-dev netcdf-bin libnetcdf-dev libnetcdf-c++4-dev | |
wget https://beta.quicklisp.org/quicklisp.lisp | |
sbcl --load quicklisp.lisp | |
git clone https://github.com/clasp-developers/clasp-boehm | |
cd clasp-boehm | |
sed -i 's/makefile/Makefile/' makefile | |
make | |
cd .. | |
cd clasp/extensions | |
git clone https://github.com/cando-developers/cando | |
cd .. | |
./waf distclean configure build_cboehm | |
./build/boehm/icando-boehm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment