From dad972dff53b277a4d95eda8ed53d6eac0ec2132 Mon Sep 17 00:00:00 2001 From: Sebastian Grimberg Date: Thu, 11 Jul 2024 12:17:06 -0700 Subject: [PATCH] Fix Spack build on Ubuntu --- .github/workflows/spack.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spack.yml b/.github/workflows/spack.yml index 8ba3d7f4b..8544a72a8 100644 --- a/.github/workflows/spack.yml +++ b/.github/workflows/spack.yml @@ -82,7 +82,10 @@ jobs: fi # Build and install - spack dev-build local.palace@develop%${{ matrix.compiler }} $GPU_VARIANT ^petsc~hdf5 ^intel-oneapi-mkl + PALACE_SPEC="local.palace@develop%${{ matrix.compiler }}$GPU_VARIANT ^${{ matrix.mpi }}" + PALACE_SPEC="$PALACE_SPEC ^petsc~hdf5 ^intel-oneapi-mkl" + spack spec $PALACE_SPEC + spack dev-build $PALACE_SPEC - name: Run tests if: matrix.gpu == 'none' # Skip tests for GPU builds