diff --git a/CMakeLists.txt b/CMakeLists.txt index b9bda2f882df87369d440f3ad0bcb51f240b1aa9..4f38d74c79c597326515cfaa81758e0cbcb655e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,16 +42,16 @@ ExternalProject_Add(TUnfold configure_file(tunfold.xml.in tunfold.xml) install(FILES "${CMAKE_BINARY_DIR}/tunfold.xml" TYPE SYSCONF) -ExternalProject_Add(ProtoDarwin - GIT_REPOSITORY https://gitlab.cern.ch/paconnor/ProtoDarwin.git +ExternalProject_Add(Darwin + GIT_REPOSITORY https://gitlab.cern.ch/Proto/Darwin.git GIT_TAG origin/master - SOURCE_DIR "${CMAKE_SOURCE_DIR}/ProtoDarwin" + SOURCE_DIR "${CMAKE_SOURCE_DIR}/Darwin" CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} INSTALL_DIR "${CMAKE_INSTALL_PREFIX}" TEST_AFTER_INSTALL ON ) -configure_file(protodarwin.xml.in protodarwin.xml) -install(FILES "${CMAKE_BINARY_DIR}/protodarwin.xml" TYPE SYSCONF) +configure_file(darwin.xml.in darwin.xml) +install(FILES "${CMAKE_BINARY_DIR}/darwin.xml" TYPE SYSCONF) ExternalProject_Add(tables GIT_REPOSITORY https://gitlab.cern.ch/DasAnalysisSystem/tables.git diff --git a/Makefile b/Makefile index 5a108b25aadcb4f945e94518fe69444a1cb94ef0..dc2d1e94c476d3a63ecdba6e06730569b879fa82 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ TABLES ?= $(GITLAB)/DasAnalysisSystem/tables.git .NOTPARALLEL: all -all: $(CMSSW) libgit2 TUnfold ProtoDarwin tables +all: $(CMSSW) libgit2 TUnfold Darwin tables cd $(CMSSW) && \ eval `scramv1 runtime -sh` && \ scram b @@ -36,12 +36,12 @@ FastNLO: # TODO # TODO: improve make statement & better interface with content of xml file (using `xmllint` --> check availability in CI) -ProtoDarwin: $(CMSSW) libgit2 tables - git clone $(GITLAB)/paconnor/ProtoDarwin.git +Darwin: $(CMSSW) libgit2 tables + git clone $(GITLAB)/Proto/Darwin.git cd $(CMSSW) && eval `scramv1 runtime -sh` && \ BOOST=$$(scram tool tag boost_header BOOSTHEADER_BASE) && \ - cd $(BASE)/ProtoDarwin && make -j BOOST=$$BOOST && \ - cd $(BASE)/$(CMSSW) && scram setup $(BASE)/protodarwin.xml + cd $(BASE)/Darwin && make -j BOOST=$$BOOST && \ + cd $(BASE)/$(CMSSW) && scram setup $(BASE)/darwin.xml libgit2: $(CMSSW) cd $(BASE)/$(CMSSW) && eval `scramv1 runtime -sh` && scram setup $(BASE)/libgit2.xml @@ -56,4 +56,4 @@ tables: git clone $(TABLES) $@ clean: - @rm -rf $(CMSSW) TUnfold ProtoDarwin tables + @rm -rf $(CMSSW) TUnfold Darwin tables diff --git a/protodarwin.xml b/darwin.xml similarity index 93% rename from protodarwin.xml rename to darwin.xml index 40a39375589cbe2478d702f0d80be13d59e4652b..3d5d029d0893ecc63287aca2cb48eb0d864046f4 100644 --- a/protodarwin.xml +++ b/darwin.xml @@ -6,7 +6,7 @@ <lib name="DarwinDict"/> <info url="https://protodarwin.docs.cern.ch"/> <client> - <environment name="DARWIN" default="$CMSSW_BASE/../ProtoDarwin"/> + <environment name="DARWIN" default="$CMSSW_BASE/../Darwin"/> <environment name="INCLUDE" default="$DARWIN/interface"/> <environment name="LIBDIR" default="$DARWIN/build/lib"/> </client> diff --git a/protodarwin.xml.in b/darwin.xml.in similarity index 100% rename from protodarwin.xml.in rename to darwin.xml.in diff --git a/install.sh b/install.sh index 758274b33642983b7a9101f30a013c0cd0ba316c..881e82ce59598d800a04fd9d574b3f2f12a6900c 100755 --- a/install.sh +++ b/install.sh @@ -26,6 +26,9 @@ cmake3 --build .build --target install -j$(nproc) cd $CMSSW_BASE/src [ ! -d Core ] && git clone https://gitlab.cern.ch/DasAnalysisSystem/Core.git +# And JetToolbox +[ ! -d JMEAnalysis/JetToolbox ] && git clone https://github.com/cms-jet/JetToolbox.git JMEAnalysis/JetToolbox -b jetToolbox_120X + # Set up scram tools in CMSSW -- must be done after fetching Core cd $CMSSW_BASE for xml in $BASE_DIR/tools/etc/*.xml; do