Skip to content

Commit

Permalink
omit build of cuslide_benchmarks and cuslide_tests on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Oct 27, 2023
1 parent 971d90d commit 6f7c6ef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
5 changes: 1 addition & 4 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ else
apt install yasm libopenslide-dev -y
dpkg -L libopenslide-dev

# temporarily add a sleep here to slow down the aarch64 workers to allow
# x86_64 cases to try to run instead of being cancelled if the aarch64
# case failed
sleep 10m
git apply ci/omit-cuslide-benchmarks-and-tests.patch
fi

# First build the C++ lib using CMake via the run script
Expand Down
25 changes: 25 additions & 0 deletions ci/omit-cuslide-benchmarks-and-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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}

0 comments on commit 6f7c6ef

Please sign in to comment.