From 44257cad3763ac16077070bc6dbae048b9a51b8d Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Wed, 14 Aug 2024 14:36:59 -0600 Subject: [PATCH 1/2] add include guard --- test/test_bounds.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_bounds.cpp b/test/test_bounds.cpp index 34d2f7da40..6dcd06c637 100644 --- a/test/test_bounds.cpp +++ b/test/test_bounds.cpp @@ -12,6 +12,8 @@ // publicly and display publicly, and to permit others to do so. //------------------------------------------------------------------------------ +#ifdef SINGULARITY_USE_SPINER + #include #include @@ -132,3 +134,4 @@ SCENARIO("Logarithmic, piecewise bounds in boudns object", "[Bounds]") { } } } +#endif // SINGULARITY_USE_SPINER From 971c5590551c05c7329f8c138d81b2c59bd81527 Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Wed, 14 Aug 2024 14:51:42 -0600 Subject: [PATCH 2/2] turn off spiner in minimal tests to ensure we support building without spiner --- .github/workflows/tests_minimal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_minimal.yml b/.github/workflows/tests_minimal.yml index 1cb56d1502..0b96d615f5 100644 --- a/.github/workflows/tests_minimal.yml +++ b/.github/workflows/tests_minimal.yml @@ -28,7 +28,7 @@ jobs: cd bin mkdir -p ${HOME}/install cmake -DCMAKE_INSTALL_PREFIX=${HOME}/install \ - -DSINGULARITY_USE_SPINER=ON \ + -DSINGULARITY_USE_SPINER=OFF \ -DSINGULARITY_USE_SPINER_WITH_HDF5=OFF \ -DSINGULARITY_BUILD_TESTS=ON \ -DSINGULARITY_FORCE_SUBMODULE_MODE=ON \