Skip to content

Commit

Permalink
Renamed apptainer files
Browse files Browse the repository at this point in the history
  • Loading branch information
meister committed Oct 17, 2024
1 parent d90a495 commit 1e8fe24
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apptainer/cando-arch.def
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
BootStrap: docker
From: ghcr.io/yitzchak/archlinux-makepkg:latest

%files
$HOME/Downloads/UDB-Corporate-8.0.0 /downloads/udb

%post
pacman -Syu --noconfirm binutils inetutils boost clang gmp fmt libunwind llvm ninja sbcl jupyterlab emacs openssh netcdf expat gocryptfs nodejs npm
(cd /downloads/udb; make install)
cd /mnt
./koga --extensions=cando --build-mode=bytecode-faso --llvm-config="/usr/bin/llvm-config" --build-path=build-apptainer/
ninja -C build-apptainer
Expand All @@ -16,10 +20,14 @@ From: ghcr.io/yitzchak/archlinux-makepkg:latest
export PATH="/home/cando/miniconda3/bin:${PATH}"
conda install -y -c conda-forge jupyterlab sidecar ambertools
jupyter-lab build
mkdir /home/cando/.cache
cando -e "(load -e "(ql:quickload :cando-jupyter)" -e "(core:exit)"
chmod -R ugo+rw /home/cando/

%environment
export PATH="/home/cando/miniconda3/bin:${PATH}"
export AMBERHOME=/home/cando/miniconda3
export XDG_CACHE_HOME=/home/cando/.cache



File renamed without changes.
4 changes: 4 additions & 0 deletions apptainer/cando.def → apptainer/old-cando.def
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
BootStrap: docker
From: ubuntu:lunar

%files
$HOME/Downloads/UDB-Corporate-8.0.0 /downloads/udb

%post
apt-get update
apt-get upgrade -y
apt-get install -y -o Dpkg::Options::="--force-overwrite" nano wget sudo git locales curl python3-pip iputils-ping iproute2 nodejs npm binutils-gold clang-16 libclang-16-dev libfmt-dev libboost-dev libclang-cpp16-dev libelf-dev libgmp-dev libunwind-dev llvm-16 ninja-build sbcl pkg-config libnetcdf-dev libczmq-dev libexpat1-dev
(cd /downloads/udb; make install)
echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen
locale-gen
cd /mnt
Expand Down

0 comments on commit 1e8fe24

Please sign in to comment.