From 833e800e72eb96fb012a8de5da020666247b9d4b Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Thu, 19 Dec 2024 09:31:27 +0100 Subject: [PATCH] copypkgs instead of git-cms-addpkg --- crab/scram-build/run.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crab/scram-build/run.sh b/crab/scram-build/run.sh index 66656a9e8d1..9d37dc59733 100755 --- a/crab/scram-build/run.sh +++ b/crab/scram-build/run.sh @@ -5,10 +5,14 @@ pushd $CMSSW_BASE scram b clean scram build enable-multi-targets rm -rf src - mkdir src - git cms-addpkg FWCore/Framework DataFormats/Common > $log + for pkg in FWCore/Framework DataFormats/Common ; do + mkdir -p src/$pkg + rsync -a --no-g $CMSSW_RELEASE_BASE/src/$pkg/ src/$pkg/ + done scram b -v -k -j $(nproc) >$log 2>&1 || true eval `scram run -sh` + echo $LD_LIBRARY_PATH | tr : '\n' + echo $PATH | tr : '\n' which edmPluginDump edmPluginDump -a >>$log || true which cmsRun