Skip to content

Commit

Permalink
#345 trying to compile with conda-forge packages and OpenGL in container
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc committed May 23, 2023
1 parent 32eabb9 commit b1f30b7
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
3 changes: 2 additions & 1 deletion conda/apptainer.def
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bootstrap: docker
From: ubuntu:22.04
From: ubuntu

%environment
export CASA=/casa
Expand All @@ -19,6 +19,7 @@ From: ubuntu:22.04
%post
mkdir /casa
apt update
apt install distro-info-data # to get lsb_release

%runscript
export PATH=/casa/conda/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion conda/setup_conda
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ ! -e "$casaconda/conda" ]; then
$apptainer /casa/src/casa-distro/conda/setup_dev_conda
fi

#$root_apptainer /casa/src/casa-distro/conda/setup_run_compiled
$root_apptainer /casa/src/casa-distro/conda/setup_run_compiled

if [ ! -e "$casaconda/src" ]; then
$apptainer git clone https://github.com/sapetnioc/brainvisa-submodules /casa/src
Expand Down
2 changes: 1 addition & 1 deletion conda/setup_dev_apt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ set -x
set -e

apt install -y libgl1-mesa-dev

# yum install mesa-libGL
1 change: 1 addition & 0 deletions conda/setup_dev_conda
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fi
version_control_packages=(
git
git-lfs
vcstool
#! git-man
#! subversion still necessary ?
)
Expand Down
3 changes: 2 additions & 1 deletion conda/setup_run_apt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
set -x
set -e

apt install -y wget build-essential distro-info-data
# apt install -y wget # build-essential
# yum install wget
16 changes: 8 additions & 8 deletions conda/setup_run_conda
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ build_dependencies=(
# to avoid an upgrade of sip package. The sip command
# is only installed with sip package version 4.* but sip
# package depends on sip 6.*
# pyqt
# qtconsole #? was python3-qtconsole
# 'matplotlib==3.4.3'
pyqt5-sip
'sip=4'
qt-main
qtconsole-base
'matplotlib-base==3.4.3'
pyqt
qtconsole #? was python3-qtconsole
'matplotlib==3.4.3'
#pyqt5-sip
#'sip=4'
#qt-main
#qtconsole-base
#'matplotlib-base==3.4.3'
)

# Runtime dependencies of FSL
Expand Down

0 comments on commit b1f30b7

Please sign in to comment.