Skip to content

Commit

Permalink
Tmp! Try 2.4.1 with deprecated flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Jan 11, 2024
1 parent a0c8bfa commit 083424e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitlab/docker/Dockerfile.spack_build
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ARG NUM_PROCS

COPY . ${SOURCE_DIR}

# Print spack spec since not printed if the compiler image is found on jfrog
RUN spack spec -lI $spack_spec
## Print spack spec since not printed if the compiler image is found on jfrog
#RUN spack spec -lI $spack_spec

# Configure & Build
RUN spack build-env $spack_spec -- bash -c "cmake -B${BUILD_DIR} ${SOURCE_DIR} \
Expand Down
4 changes: 2 additions & 2 deletions .gitlab/docker/Dockerfile.spack_compiler
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN echo "spack arch: $(spack arch)"

# Install dependencies for this configuration
ARG SPACK_SPEC
ARG DEPRECATED=
ENV spack_spec $SPACK_SPEC
RUN spack spec -lI $spack_spec && \
spack install --fail-fast --only dependencies $spack_spec && \
RUN spack install $DEPRECATED --fail-fast --only dependencies $spack_spec && \
spack clean --all
5 changes: 3 additions & 2 deletions .gitlab/includes/gcc10_apex_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ include:
COMPILER: gcc@10.3.0
CXXSTD: 17
SPACK_SPEC: "pika@main +apex arch=$ARCH %${COMPILER} malloc=system cxxstd=$CXXSTD \
^apex@2.6.3~openmp~papi"
^apex@2.4.1~openmp~papi"
DEPRECATED: '--deprecated'

gcc10_apex_spack_image:
stage: spack_configs
Expand All @@ -32,7 +33,7 @@ gcc10_apex_spack_image:
- echo -e "BASE_IMAGE=$PERSIST_IMAGE_NAME" >> compiler.env
variables:
DOCKERFILE: .gitlab/docker/Dockerfile.spack_compiler
DOCKER_BUILD_ARGS: '["BASE_IMAGE","ARCH","COMPILER","SPACK_SPEC"]'
DOCKER_BUILD_ARGS: '["BASE_IMAGE","ARCH","COMPILER","SPACK_SPEC","DEPRECATED"]'
artifacts:
reports:
dotenv: compiler.env
Expand Down

0 comments on commit 083424e

Please sign in to comment.