Skip to content

Commit

Permalink
Print variables used in Dockerfile.spack_build
Browse files Browse the repository at this point in the history
Being more verbose allows us to cross check values faster
  • Loading branch information
aurianer committed Dec 20, 2024
1 parent 04d79b2 commit bbbf632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab/docker/Dockerfile.spack_build
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ARG CMAKE_FLAGS

COPY . ${SOURCE_DIR}


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

Expand All @@ -23,6 +24,7 @@ RUN spack -e pika_ci config add "config:flags:keep_werror:all" && \
if [[ $COMPILER =~ clang ]]; then \
export PATH="$(spack location --install-dir llvm)/bin:$PATH"; \
fi && \
echo "build_type: ${BUILD_TYPE} cmake_flags: ${CMAKE_COMMON_FLAGS} ${CMAKE_FLAGS}" && \
spack -e pika_ci build-env $spack_spec -- \
bash -c " \
cmake -B${BUILD_DIR} ${SOURCE_DIR} -DCMAKE_BUILD_TYPE=$BUILD_TYPE $CMAKE_COMMON_FLAGS $CMAKE_FLAGS && \
Expand Down

0 comments on commit bbbf632

Please sign in to comment.