Skip to content

Commit

Permalink
omit building cucim_benchmarks, cucim_tests on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Oct 27, 2023
1 parent 6f7c6ef commit f9cd975
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions ci/omit-cuslide-benchmarks-and-tests.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,68 @@
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/ci/omit-cuslide-benchmarks-and-tests.patch b/ci/omit-cuslide-benchmarks-and-tests.patch
index 6394bf2..e69de29 100644
--- a/ci/omit-cuslide-benchmarks-and-tests.patch
+++ b/ci/omit-cuslide-benchmarks-and-tests.patch
@@ -1,25 +0,0 @@
-diff --git a/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt b/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt
-index 37dbca4..18b301a 100644
---- a/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt
-+++ b/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt
-@@ -258,16 +258,16 @@ 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}
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/plugins/cucim.kit.cuslide/CMakeLists.txt b/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt
index 37dbca4..18b301a 100644
--- a/cpp/plugins/cucim.kit.cuslide/CMakeLists.txt
Expand Down

0 comments on commit f9cd975

Please sign in to comment.