Skip to content

Commit

Permalink
remove RUN_EXAMPLES configuration option
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Feb 27, 2024
1 parent ec34e6a commit f2ef62a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
7 changes: 0 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ build/cuda101/openmpi/gcc/all/debug/shared:
BUILD_HIP: "ON"
BUILD_TYPE: "Debug"
BUILD_PAPI_SDE: "ON"
RUN_EXAMPLES: "ON"
CUDA_ARCH: 35

build/cuda101/nompi/clang/all/release/static:
Expand Down Expand Up @@ -404,7 +403,6 @@ build/amd/nompi/gcc/rocm45/release/shared:
BUILD_OMP: "ON"
BUILD_HIP: "ON"
NONDEFAULT_STREAM: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Release"
BUILD_HWLOC: "OFF"

Expand All @@ -418,7 +416,6 @@ build/amd/nompi/clang/rocm45/release/static:
CXX_COMPILER: "clang++"
BUILD_OMP: "ON"
BUILD_HIP: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Release"
BUILD_SHARED_LIBS: "OFF"

Expand All @@ -432,7 +429,6 @@ build/amd/nompi/clang/rocm45/debug/shared:
CXX_COMPILER: "clang++"
BUILD_OMP: "ON"
BUILD_HIP: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Debug"

# ROCm 5.0.2 and friends
Expand All @@ -445,7 +441,6 @@ build/amd/nompi/gcc/rocm502/debug/static:
variables:
BUILD_OMP: "ON"
BUILD_HIP: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Debug"
BUILD_SHARED_LIBS: "OFF"

Expand All @@ -459,7 +454,6 @@ build/amd/nompi/clang/rocm502/release/shared:
CXX_COMPILER: "clang++"
BUILD_OMP: "ON"
BUILD_HIP: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Release"

# without omp
Expand All @@ -473,7 +467,6 @@ build/amd/nompi/gcc/rocm502_wo_omp/release/shared:
BUILD_OMP: "OFF"
BUILD_MPI: "OFF"
BUILD_HIP: "ON"
RUN_EXAMPLES: "ON"
BUILD_TYPE: "Release"

# no cuda but latest gcc and clang
Expand Down
23 changes: 0 additions & 23 deletions .gitlab/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
-DGINKGO_FAST_TESTS=${FAST_TESTS}
-DGINKGO_TEST_NONDEFAULT_STREAM=${NONDEFAULT_STREAM}
-DGINKGO_MIXED_PRECISION=${MIXED_PRECISION}
-DGINKGO_RUN_EXAMPLES=${RUN_EXAMPLES}
-DGINKGO_CONFIG_LOG_DETAILED=${CONFIG_LOG}
-DGINKGO_DPCPP_SINGLE_MODE=${DPCPP_SINGLE_MODE}
- ninja -j${NUM_CORES} -l${CI_LOAD_LIMIT} install
Expand Down Expand Up @@ -95,7 +94,6 @@
-DGINKGO_MIXED_PRECISION=${MIXED_PRECISION}
-DGINKGO_CONFIG_LOG_DETAILED=${CONFIG_LOG}
-DGINKGO_DPCPP_SINGLE_MODE=${DPCPP_SINGLE_MODE}
-DGINKGO_RUN_EXAMPLES=${RUN_EXAMPLES}
- ninja -j${NUM_CORES} -l${CI_LOAD_LIMIT} install
- awk '!/^#/ { print ($2 - $1)/1000 " " $4 }' .ninja_log | sort -nr
- |
Expand All @@ -106,27 +104,6 @@
- pushd test/test_install
- ninja install
- popd
- |
if [ "${RUN_EXAMPLES}" == "ON" ]; then
export EX_ARG="reference"
ninja run_all_examples
ninja validate_all_examples
if [ "{BUILD_OMP}" == "ON" ]; then
export EX_ARG="omp"
ninja run_all_examples
ninja validate_all_examples
fi
if [ "{BUILD_CUDA}" == "ON" ]; then
export EX_ARG="cuda"
ninja run_all_examples
ninja validate_all_examples
fi
if [ "{BUILD_HIP}" == "ON" ]; then
export EX_ARG="hip"
ninja run_all_examples
ninja validate_all_examples
fi
fi
- if [ -n "${SYCL_DEVICE_TYPE}" ]; then unset SYCL_DEVICE_TYPE; fi
- if [ -n "${SYCL_DEVICE_FILTER}" ]; then unset SYCL_DEVICE_FILTER; fi
- PKG_CONFIG_PATH=${INSTALL_PREFIX}/lib/pkgconfig:$PKG_CONFIG_PATH LD_LIBRARY_PATH=${INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH ninja test_pkgconfig
Expand Down
1 change: 0 additions & 1 deletion .gitlab/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
NONDEFAULT_STREAM: "OFF"
DPCPP_SINGLE_MODE: "OFF"
MIXED_PRECISION: "ON"
RUN_EXAMPLES: "OFF"
CONFIG_LOG: "ON"
CXX_FLAGS: "-Wpedantic"
EXTRA_CMAKE_FLAGS: ""
Expand Down

0 comments on commit f2ef62a

Please sign in to comment.