From b273ea4bde5ceacb5d263dad08dea354301f8344 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Fri, 12 Jul 2024 09:42:06 -0600 Subject: [PATCH] improve robustness of install testing procedure --- docs/dev/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/dev/testing.rst b/docs/dev/testing.rst index f0f02ed2..7d8a6783 100644 --- a/docs/dev/testing.rst +++ b/docs/dev/testing.rst @@ -38,9 +38,11 @@ Testing the Install cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install echo "==== CFG KOKKOS COMM ====" + rm -rf "$COMM_BUILD" cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKokkosComm_ENABLE_TESTS=OFF -DKokkosComm_ENABLE_PERFTESTS=OFF -DCMAKE_INSTALL_PREFIX="$COMM_INSTALL" echo "==== BUILD & INSTALL KOKKOS COMM ====" + rm -rf "$COMM_INSTALL" VERBOSE=1 cmake --build "$COMM_BUILD" --target install echo "==== REMOVE KOKKOS COMM BUILD FILES ===="