Warning, /RecoTracker/MkFitCore/standalone/README_buildFromCMSSW.txt is written in an unsupported language. File is not indexed.
0001 # Procedure to clone just enough of CMSSW to build mkFit for standalone runs.
0002 # In "git clone" below, substitute the CMSSW branch you want to start from.
0003
0004 git clone --branch master --single-branch --no-checkout --reference /cvmfs/cms-ib.cern.ch/git/cms-sw/cmssw.git git@github.com:cms-sw/cmssw.git mkFitFromCMSSW
0005 cd mkFitFromCMSSW
0006 git config core.sparsecheckout true
0007 echo -e "/.gitignore\n/.clang-tidy\n/.clang-format" > .git/info/sparse-checkout
0008 echo -e "/RecoTracker/MkFit/\n/RecoTracker/MkFitCMS/\n/RecoTracker/MkFitCore/" >> .git/info/sparse-checkout
0009 echo -e "/FWCore/Utilities/interface/" >> .git/info/sparse-checkout
0010 git checkout # enter detached-head state
0011 ./RecoTracker/MkFitCore/standalone/configure $PWD
0012 unset INTEL_LICENSE_FILE
0013
0014 # To build with gcc:
0015 source ./RecoTracker/MkFitCore/standalone/xeon_scripts/init-env.sh
0016 make -j 16 AVX_512:=1 WITH_ROOT=1
0017
0018 # To build with icpx, do this instead (note, WITH_ROOT doesn't work yet):
0019 # source /opt/intel/oneapi/compiler/latest/env/vars.sh
0020 # source /opt/intel/oneapi/tbb/latest/env/vars.sh
0021 # make -j 16 AVX_512:=1 CXX=icpx
0022
0023 # To build with icc (obsolete), source the gcc AND icpx scripts above, then:
0024 # if [ -z ${INTEL_LICENSE_FILE+x} ]; then export INTEL_LICENSE_FILE=1; fi
0025 # make -j 16 AVX_512:=1 WITH_ROOT=1