Skip to content
Snippets Groups Projects
Commit 73605e9f authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

Chore: Update go (used for singularity build) from 1.11.5 to 1.17

Change-Id: Icdf35f993fe7ae4ef5836846d7ad3af719aedef2
parent 3707361b
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ SINGULARITY_REPO="https://github.com/electronicvisions/singularity.git" ...@@ -12,7 +12,7 @@ SINGULARITY_REPO="https://github.com/electronicvisions/singularity.git"
SINGULARITY_BRANCH="bugfix/for_EINCHosts" # temporary branch with hotfixes for sschmitt as well as newer kernels SINGULARITY_BRANCH="bugfix/for_EINCHosts" # temporary branch with hotfixes for sschmitt as well as newer kernels
GO_INSTALL_PATH=/opt/go GO_INSTALL_PATH=/opt/go
GO_VERSION=1.11.5 GO_VERSION=1.17
OS=linux OS=linux
ARCH=amd64 ARCH=amd64
...@@ -58,7 +58,8 @@ if [ ! -d "${GOPATH}}" ]; then ...@@ -58,7 +58,8 @@ if [ ! -d "${GOPATH}}" ]; then
fi fi
# build singularity # build singularity
# golang is a bit finicky about where things are placed. Here is the correct way to build Singularity from source. # this is a go 1.11-based install flow which probably should be adjusted for
# modern go (no need to build from source within the gopath folder anymore)
SINGULARITY_INSTALL_PATH="${GOPATH}/src/github.com/sylabs/singularity" SINGULARITY_INSTALL_PATH="${GOPATH}/src/github.com/sylabs/singularity"
mkdir -p "${SINGULARITY_INSTALL_PATH}/../" mkdir -p "${SINGULARITY_INSTALL_PATH}/../"
git clone -b "${SINGULARITY_BRANCH}" \ git clone -b "${SINGULARITY_BRANCH}" \
...@@ -72,7 +73,7 @@ pushd "${SINGULARITY_INSTALL_PATH}" ...@@ -72,7 +73,7 @@ pushd "${SINGULARITY_INSTALL_PATH}"
--sysconfdir=/etc --sysconfdir=/etc
pushd "${SPACK_TMPDIR}/singularity-builddir" pushd "${SPACK_TMPDIR}/singularity-builddir"
make && make install GO111MODULE=auto make && make install
popd popd
popd popd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment