Skip to content
Snippets Groups Projects
Unverified Commit 3ca533c9 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Use eigen unsupported in guix container builds.

parent 00fc137d
No related branches found
No related tags found
No related merge requests found
...@@ -45,15 +45,19 @@ deploy container: ...@@ -45,15 +45,19 @@ deploy container:
script: script:
- which guix - which guix
- guix describe - guix describe
- |
if [[ "$GUIX_PACKAGE" =~ .*-mkl ]]; then
GUIX_ARGS="--with-commit=eigen=9000b3767770f6dd0f4cfb12f4e19c71921885a4 --without-tests=eigen --with-configure-flag=vtk-9.3=-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=OFF"
fi
# Build phase, retry once if failed # Build phase, retry once if failed
- guix time-machine -C scripts/guix/channels.scm -- build bash coreutils - guix time-machine -C scripts/guix/channels.scm -- build bash coreutils
- if [ $? -ne 0 ]; then !!; fi - if [ $? -ne 0 ]; then !!; fi
- guix time-machine -C scripts/guix/channels.scm -- build ${GUIX_PACKAGE} --with-source=${GUIX_PACKAGE}=$PWD - guix time-machine -C scripts/guix/channels.scm -- build ${GUIX_PACKAGE} --with-source=${GUIX_PACKAGE}=$PWD ${GUIX_ARGS}
- if [ $? -ne 0 ]; then !!; fi - if [ $? -ne 0 ]; then !!; fi
# Pack phase # Pack phase
- mcli alias set minio https://minio.ufz.de $MINIO_PUBLIC_ACCESS_KEY $MINIO_PUBLIC_SECRET_KEY - mcli alias set minio https://minio.ufz.de $MINIO_PUBLIC_ACCESS_KEY $MINIO_PUBLIC_SECRET_KEY
# Pack serial image # Pack serial image
- image=$( guix time-machine -C scripts/guix/channels.scm -- pack -RR --format=squashfs bash coreutils ${GUIX_PACKAGE} --with-source=${GUIX_PACKAGE}=$PWD | tee | tail -1 ) - image=$( guix time-machine -C scripts/guix/channels.scm -- pack -RR --format=squashfs bash coreutils ${GUIX_PACKAGE} --with-source=${GUIX_PACKAGE}=$PWD ${GUIX_ARGS} | tee | tail -1 )
- echo "Image (${GUIX_PACKAGE}) $image" - echo "Image (${GUIX_PACKAGE}) $image"
- mcli cp $image minio/ogs/public/container/ogs/master/${GUIX_PACKAGE}.squashfs - mcli cp $image minio/ogs/public/container/ogs/master/${GUIX_PACKAGE}.squashfs
# Copy petsc image to eve as well # Copy petsc image to eve as well
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment