Skip to content

Commit b8a5d71

Browse files
committed
Streamline dataframe/CMakeLists.txt
1 parent 70a2bde commit b8a5d71

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

root/tree/dataframe/CMakeLists.txt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ RB_ADD_GBENCHMARK(RDFBenchmarks
44
LABEL short
55
LIBRARIES Core Hist Imt RIO Tree TreePlayer ROOTDataFrame ROOTVecOps)
66

7+
if(NUMPY_FOUND)
8+
RB_ADD_PYTESTBENCHMARK(pytest-rdataframe-asnumpy rdataframe_asnumpy.py LABEL short)
9+
endif()
10+
711
if(rootbench-datafiles)
812
RB_ADD_GBENCHMARK(gbenchmark-df102_NanoAODDimuonAnalysis
913
df102_NanoAODDimuonAnalysis.C
@@ -16,13 +20,7 @@ if(rootbench-datafiles)
1620
LABEL long
1721
DOWNLOAD_DATAFILES h1analysis.root
1822
LIBRARIES Core Hist Imt RIO Tree TreePlayer ROOTDataFrame ROOTVecOps)
19-
endif()
2023

21-
if(NUMPY_FOUND)
22-
RB_ADD_PYTESTBENCHMARK(pytest-rdataframe-asnumpy rdataframe_asnumpy.py LABEL short)
23-
endif()
24-
25-
if(rootbench-datafiles)
2624
RB_ADD_PYTESTBENCHMARK(pytest-df102_NanoAODDimuonAnalysis
2725
df102_NanoAODDimuonAnalysis.py
2826
DOWNLOAD_DATAFILES Run2012B_DoubleMuParked.root Run2012C_DoubleMuParked.root
@@ -32,14 +30,14 @@ if(rootbench-datafiles)
3230
df104_HiggsToTwoPhotons.py
3331
DOWNLOAD_DATAFILES data_A.GamGam.root data_B.GamGam.root data_C.GamGam.root data_D.GamGam.root mc_343981.ggH125_gamgam.GamGam.root mc_345041.VBFH125_gamgam.GamGam.root
3432
LABEL long)
33+
34+
if (CMAKE_CXX_FLAGS MATCHES "-std=c\\+\\+17" OR CMAKE_CXX_STANDARD GREATER 14)
35+
RB_ADD_GBENCHMARK(ZPeak
36+
zpeak.cxx
37+
LIBRARIES Core Hist Imt RIO MathCore Physics Tree TreePlayer ROOTDataFrame ROOTVecOps
38+
DOWNLOAD_DATAFILES zpeak_data_small.root
39+
LABEL long)
40+
endif()
3541
endif()
3642

3743
add_subdirectory(LoopSUSYFrame)
38-
39-
if(rootbench-datafiles AND ((CMAKE_CXX_FLAGS MATCHES "-std=c\\+\\+17") OR (CMAKE_CXX_STANDARD GREATER 14)))
40-
RB_ADD_GBENCHMARK(ZPeak
41-
zpeak.cxx
42-
LIBRARIES Core Hist Imt RIO MathCore Physics Tree TreePlayer ROOTDataFrame ROOTVecOps
43-
DOWNLOAD_DATAFILES zpeak_data_small.root
44-
LABEL long)
45-
endif()

0 commit comments

Comments
 (0)