From dded2075afb448eee03ba7a977a7377aabedfa5e Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Fri, 9 Jan 2026 10:45:45 +0100 Subject: [PATCH 1/2] Exclude benchmark on macOS This is done because std::experimental::simd is not defined for the standard development environment of that platform yet. --- root/math/genvector/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/root/math/genvector/CMakeLists.txt b/root/math/genvector/CMakeLists.txt index 518ac1fd..7680a119 100644 --- a/root/math/genvector/CMakeLists.txt +++ b/root/math/genvector/CMakeLists.txt @@ -1,4 +1,6 @@ -RB_ADD_GBENCHMARK(GenVectorBenchmarks - Cartesian3DBenchmarks.cxx - LABEL short - LIBRARIES GenVector MathCore) +if(NOT CMAKE_SYSTEM_NAME MATCHES Darwin) + RB_ADD_GBENCHMARK(GenVectorBenchmarks + Cartesian3DBenchmarks.cxx + LABEL short + LIBRARIES GenVector MathCore) +endif() \ No newline at end of file From 00ce6efb326c9c92e6cf503a4d00f45b20c67d03 Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Fri, 9 Jan 2026 11:24:26 +0100 Subject: [PATCH 2/2] Exclude tests if we are on macOS the way in which the time command is invoked internally is not compatible. --- root/interpreter/CMakeLists.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/root/interpreter/CMakeLists.txt b/root/interpreter/CMakeLists.txt index f0ffa6be..b2d00db4 100644 --- a/root/interpreter/CMakeLists.txt +++ b/root/interpreter/CMakeLists.txt @@ -1,7 +1,9 @@ -RB_ADD_GBENCHMARK(InterpreterBenchmarks - RunInterpreter.cxx - LABEL short) +if(NOT CMAKE_SYSTEM_NAME MATCHES Darwin) + RB_ADD_GBENCHMARK(InterpreterBenchmarks + RunInterpreter.cxx + LABEL short) -RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH - RunInterpreterNoPCH.cxx - LABEL short) \ No newline at end of file + RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH + RunInterpreterNoPCH.cxx + LABEL short) +endif()