Skip to content

Commit

Permalink
#350: Change env variables used for CI to use magistrate instead of c…
Browse files Browse the repository at this point in the history
…heckpoint
  • Loading branch information
JacobDomagala committed Jul 3, 2024
1 parent a3e095c commit 2c9ed35
Show file tree
Hide file tree
Showing 23 changed files with 238 additions and 238 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-11-ubuntu-mpich-vt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 1
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 1
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 0
CHECKPOINT_UBSAN: 1
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 0
MAGISTRATE_UBSAN: 1
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-clang-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-gcc-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-gcc-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 1
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-gcc-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 1
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 1
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 0
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 1
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 0
CACHE: ~/.local/cache/

steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dockerimage-nvcc-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
BUILD_TYPE: release
ULIMIT_CORE: 0
CODE_COVERAGE: 0
CHECKPOINT_TESTS: 1
CHECKPOINT_EXAMPLES: 1
CHECKPOINT_MPI: 1
CHECKPOINT_WARNINGS_AS_ERRORS: 1
CHECKPOINT_DOCS: 0
CHECKPOINT_ASAN: 0
CHECKPOINT_UBSAN: 0
CHECKPOINT_SERIALIZATION_ERROR_CHECKING: 0
MAGISTRATE_TESTS: 1
MAGISTRATE_EXAMPLES: 1
MAGISTRATE_MPI: 1
MAGISTRATE_WARNINGS_AS_ERRORS: 1
MAGISTRATE_DOCS: 0
MAGISTRATE_ASAN: 0
MAGISTRATE_UBSAN: 0
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 0
CACHE: ~/.local/cache/

steps:
Expand Down
6 changes: 3 additions & 3 deletions ci/build_against_vt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ cd build
rm -Rf ./*
cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DCMAKE_INSTALL_PREFIX="${CHECKPOINT_BUILD}/install" \
-Dcheckpoint_asan_enabled="${CHECKPOINT_ASAN_ENABLED:-1}" \
-Dcheckpoint_ubsan_enabled="${CHECKPOINT_UBSAN_ENABLED:-1}" \
-Dcheckpoint_serialization_error_checking_enabled="${CHECKPOINT_SERIALIZATION_ERROR_CHECKING_ENABLED:-1}" \
-Dcheckpoint_asan_enabled="${MAGISTRATE_ASAN_ENABLED:-1}" \
-Dcheckpoint_ubsan_enabled="${MAGISTRATE_UBSAN_ENABLED:-1}" \
-Dcheckpoint_serialization_error_checking_enabled="${MAGISTRATE_SERIALIZATION_ERROR_CHECKING_ENABLED:-1}" \
"${CHECKPOINT}"
cmake --build . --target install

Expand Down
20 changes: 10 additions & 10 deletions ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -ex
source_dir=${1}
build_dir=${2}

if test "${CHECKPOINT_DOXYGEN_ENABLED:-0}" -eq 1
if test "${MAGISTRATE_DOXYGEN_ENABLED:-0}" -eq 1
then
token=${3}
else
Expand Down Expand Up @@ -33,14 +33,14 @@ fi

cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
-Dcheckpoint_doxygen_enabled="${CHECKPOINT_DOXYGEN_ENABLED:-0}" \
-Dcheckpoint_tests_enabled="${CHECKPOINT_TESTS_ENABLED:-1}" \
-Dcheckpoint_examples_enabled="${CHECKPOINT_EXAMPLES_ENABLED:-1}" \
-Dcheckpoint_warnings_as_errors="${CHECKPOINT_WARNINGS_AS_ERRORS:-0}" \
-Dcheckpoint_mpi_enabled="${CHECKPOINT_MPI_ENABLED:-1}" \
-Dcheckpoint_asan_enabled="${CHECKPOINT_ASAN_ENABLED:-0}" \
-Dcheckpoint_ubsan_enabled="${CHECKPOINT_UBSAN_ENABLED:-0}" \
-Dcheckpoint_serialization_error_checking_enabled="${CHECKPOINT_SERIALIZATION_ERROR_CHECKING_ENABLED:-$is_debug}" \
-Dmagistrate_doxygen_enabled="${MAGISTRATE_DOXYGEN_ENABLED:-0}" \
-Dmagistrate_tests_enabled="${MAGISTRATE_TESTS_ENABLED:-1}" \
-Dmagistrate_examples_enabled="${MAGISTRATE_EXAMPLES_ENABLED:-1}" \
-Dmagistrate_warnings_as_errors="${MAGISTRATE_WARNINGS_AS_ERRORS:-0}" \
-Dmagistrate_mpi_enabled="${MAGISTRATE_MPI_ENABLED:-1}" \
-Dmagistrate_asan_enabled="${MAGISTRATE_ASAN_ENABLED:-0}" \
-Dmagistrate_ubsan_enabled="${MAGISTRATE_UBSAN_ENABLED:-0}" \
-Dmagistrate_serialization_error_checking_enabled="${MAGISTRATE_SERIALIZATION_ERROR_CHECKING_ENABLED:-$is_debug}" \
-DCMAKE_BUILD_TYPE="${cmake_build_type}" \
-DCMAKE_CXX_COMPILER="${CXX:-c++}" \
-DCMAKE_C_COMPILER="${CC:-cc}" \
Expand All @@ -53,7 +53,7 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DKokkosKernels_ROOT="${KOKKOS_KERNELS_ROOT}" \
"$CHECKPOINT"

if test "${CHECKPOINT_DOXYGEN_ENABLED:-0}" -eq 1
if test "${MAGISTRATE_DOXYGEN_ENABLED:-0}" -eq 1
then
MCSS=$PWD/m.css
GHPAGE=$PWD/DARMA-tasking.github.io
Expand Down
34 changes: 17 additions & 17 deletions ci/docker/ubuntu-18.04-clang-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,23 @@ ENV MPI_EXTRA_FLAGS="" \
FROM base as build
COPY . /checkpoint

ARG CHECKPOINT_DOXYGEN_ENABLED
ARG CHECKPOINT_TESTS_ENABLED
ARG CHECKPOINT_EXAMPLES_ENABLED
ARG CHECKPOINT_WARNINGS_AS_ERRORS
ARG CHECKPOINT_MPI_ENABLED
ARG CHECKPOINT_ASAN_ENABLED
ARG CHECKPOINT_UBSAN_ENABLED
ARG CHECKPOINT_SERIALIZATION_ERROR_CHECKING_ENABLED

ENV CHECKPOINT_DOXYGEN_ENABLED=${CHECKPOINT_DOXYGEN_ENABLED} \
CHECKPOINT_TESTS_ENABLED=${CHECKPOINT_TESTS_ENABLED} \
CHECKPOINT_EXAMPLES_ENABLED=${CHECKPOINT_EXAMPLES_ENABLED} \
CHECKPOINT_WARNINGS_AS_ERRORS=${CHECKPOINT_WARNINGS_AS_ERRORS} \
CHECKPOINT_MPI_ENABLED=${CHECKPOINT_MPI_ENABLED} \
CHECKPOINT_ASAN_ENABLED=${CHECKPOINT_ASAN_ENABLED} \
CHECKPOINT_UBSAN_ENABLED=${CHECKPOINT_UBSAN_ENABLED} \
CHECKPOINT_SERIALIZATION_ERROR_CHECKING_ENABLED=${CHECKPOINT_SERIALIZATION_ERROR_CHECKING_ENABLED} \
ARG MAGISTRATE_DOXYGEN_ENABLED
ARG MAGISTRATE_TESTS_ENABLED
ARG MAGISTRATE_EXAMPLES_ENABLED
ARG MAGISTRATE_WARNINGS_AS_ERRORS
ARG MAGISTRATE_MPI_ENABLED
ARG MAGISTRATE_ASAN_ENABLED
ARG MAGISTRATE_UBSAN_ENABLED
ARG MAGISTRATE_SERIALIZATION_ERROR_CHECKING_ENABLED

ENV MAGISTRATE_DOXYGEN_ENABLED=${MAGISTRATE_DOXYGEN_ENABLED} \
MAGISTRATE_TESTS_ENABLED=${MAGISTRATE_TESTS_ENABLED} \
MAGISTRATE_EXAMPLES_ENABLED=${MAGISTRATE_EXAMPLES_ENABLED} \
MAGISTRATE_WARNINGS_AS_ERRORS=${MAGISTRATE_WARNINGS_AS_ERRORS} \
MAGISTRATE_MPI_ENABLED=${MAGISTRATE_MPI_ENABLED} \
MAGISTRATE_ASAN_ENABLED=${MAGISTRATE_ASAN_ENABLED} \
MAGISTRATE_UBSAN_ENABLED=${MAGISTRATE_UBSAN_ENABLED} \
MAGISTRATE_SERIALIZATION_ERROR_CHECKING_ENABLED=${MAGISTRATE_SERIALIZATION_ERROR_CHECKING_ENABLED} \
CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}

RUN /checkpoint/ci/build_cpp.sh /checkpoint /build
Expand Down
Loading

0 comments on commit 2c9ed35

Please sign in to comment.