From 1b7b409158bab07f417e8123dfd25c9fb56c5a55 Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Thu, 26 Oct 2023 22:51:41 -0400 Subject: [PATCH] omit cuslide_benchmarks, cuslide_tests --- ci/omit-benchmarks-and-tests-from-build.patch | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/ci/omit-benchmarks-and-tests-from-build.patch b/ci/omit-benchmarks-and-tests-from-build.patch index 40f750bba..8f45eac66 100644 --- a/ci/omit-benchmarks-and-tests-from-build.patch +++ b/ci/omit-benchmarks-and-tests-from-build.patch @@ -20,6 +20,46 @@ index 0ab2e17..2a42462 100644 ) install(TARGETS ${INSTALL_TARGETS} +diff --git a/ci/omit-benchmarks-and-tests-from-build.patch b/ci/omit-benchmarks-and-tests-from-build.patch +index 40f750b..e69de29 100644 +--- a/ci/omit-benchmarks-and-tests-from-build.patch ++++ b/ci/omit-benchmarks-and-tests-from-build.patch +@@ -1,35 +0,0 @@ +-diff --git a/CMakeLists.txt b/CMakeLists.txt +-index 0ab2e17..2a42462 100644 +---- a/CMakeLists.txt +-+++ b/CMakeLists.txt +-@@ -138,7 +138,7 @@ set(CUCIM_PACKAGE_NAME cucim) # cucim +- ################################################################################ +- add_subdirectory(cpp) +- add_subdirectory(gds) +--add_subdirectory(benchmarks) +-+# add_subdirectory(benchmarks) +- add_subdirectory(examples/cpp) +- +- ################################################################################ +-@@ -155,7 +155,7 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/examples/cpp/CMakeLists.txt.examples.re +- set(INSTALL_TARGETS +- ${CUCIM_PACKAGE_NAME} +- fmt-header-only +-- cucim_benchmarks +-+ # cucim_benchmarks +- ) +- +- install(TARGETS ${INSTALL_TARGETS} +-diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt +-index 67409a6..d2230b3 100644 +---- a/cpp/CMakeLists.txt +-+++ b/cpp/CMakeLists.txt +-@@ -214,7 +214,7 @@ add_library(${CUCIM_PACKAGE_NAME}::${CUCIM_PACKAGE_NAME}-header-only ALIAS ${CUC +- ################################################################################ +- # Add tests +- ################################################################################ +--add_subdirectory(tests) +-+# add_subdirectory(tests) +- +- ################################################################################# +- ## Add bindings diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 67409a6..d2230b3 100644 --- a/cpp/CMakeLists.txt @@ -33,3 +73,30 @@ index 67409a6..d2230b3 100644 ################################################################################# ## Add bindings +diff --git a/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt b/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt +index 37dbca4..3cb57a6 100644 +--- a/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt ++++ b/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt +@@ -257,17 +257,17 @@ set_target_properties(${CUCIM_PLUGIN_NAME} PROPERTIES OUTPUT_NAME "${CUCIM_PLUGI + + ################################################################################ + # Add tests +-#########################################################std####################### +-add_subdirectory(tests) +-add_subdirectory(benchmarks) ++################################################################################ ++# add_subdirectory(tests) ++# add_subdirectory(benchmarks) + + ################################################################################ + # Install + ################################################################################ + set(INSTALL_TARGETS + ${CUCIM_PLUGIN_NAME} +- cuslide_tests +- cuslide_benchmarks ++ # cuslide_tests ++ # cuslide_benchmarks + ) + + install(TARGETS ${INSTALL_TARGETS}