Skip to content

Commit

Permalink
Fixed standalone build
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas authored and slava77 committed Jun 6, 2024
1 parent 0edc116 commit ee1e94e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion RecoTracker/LSTCore/standalone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OBJECTS=$(OBJECTS_CPU) $(OBJECTS_CUDA) $(OBJECTS_ROCM)

CXX = g++
CXXFLAGS = -g -O2 -Wall -fPIC -Wshadow -Woverloaded-virtual -Wno-unused-function -fno-var-tracking -std=c++17 -DLST_IS_CMSSW_PACKAGE
INCLUDEFLAGS= -ISDL -I$(shell pwd) -Icode -Icode/core -I${ALPAKA_ROOT}/include -I/${BOOST_ROOT}/include $(shell rooutil-config --include) -I$(shell root-config --incdir) -I${CMSSW_BASE}/src -I../interface/alpaka/ -I../src/alpaka/
INCLUDEFLAGS= -ISDL -I$(shell pwd) -Icode -Icode/core -I${ALPAKA_ROOT}/include -I/${BOOST_ROOT}/include $(shell rooutil-config --include) -I$(shell root-config --incdir) -I${TRACKLOOPERDIR}/../../../ -I${CMSSW_BASE}/src -I../interface/alpaka/ -I../src/alpaka/
ifdef CMSSW_RELEASE_BASE
INCLUDEFLAGS:= ${INCLUDEFLAGS} -I${CMSSW_RELEASE_BASE}/src
endif
Expand Down
2 changes: 1 addition & 1 deletion RecoTracker/LSTCore/standalone/SDL/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ CXX = g++
CXXFLAGS_CPU = -march=native -mtune=native -Ofast -fno-reciprocal-math -fopenmp-simd -g -Wall -Wshadow -Woverloaded-virtual -fPIC -fopenmp -I..
CXXFLAGS_CUDA = -O3 -g --compiler-options -Wall --compiler-options -Wshadow --compiler-options -Woverloaded-virtual --compiler-options -fPIC --compiler-options -fopenmp -dc -lineinfo --ptxas-options=-v --cudart shared $(GENCODE_CUDA) --use_fast_math --default-stream per-thread -I..
CXXFLAGS_ROCM = -O3 -g -Wall -Wshadow -Woverloaded-virtual -fPIC -I${ROCM_ROOT}/include -I..
CMSSWINCLUDE := -I${CMSSW_BASE}/src -DLST_IS_CMSSW_PACKAGE
CMSSWINCLUDE := -I${TRACKLOOPERDIR}/../../../ -I${CMSSW_BASE}/src -DLST_IS_CMSSW_PACKAGE
ifdef CMSSW_RELEASE_BASE
CMSSWINCLUDE := ${CMSSWINCLUDE} -I${CMSSW_RELEASE_BASE}/src
endif
Expand Down
4 changes: 0 additions & 4 deletions RecoTracker/LSTCore/standalone/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,3 @@ fi
export LATEST_CPU_BENCHMARK_EFF_MUONGUN="/data2/segmentlinking/muonGun_cpu_efficiencies.root"
export LATEST_CPU_BENCHMARK_EFF_PU200="/data2/segmentlinking/pu200_cpu_efficiencies.root"
#eof

eval `scramv1 runtime -sh`
# this needs to be last because it gets overwritten by cmsenv
export LD_LIBRARY_PATH=$DIR/SDL:$DIR:$LD_LIBRARY_PATH
5 changes: 0 additions & 5 deletions RecoTracker/LSTCore/standalone/setup_hpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,3 @@ export LSTPERFORMANCEWEBDIR=/home/users/phchang/public_html/LSTPerformanceWeb
export LATEST_CPU_BENCHMARK_EFF_MUONGUN=
export LATEST_CPU_BENCHMARK_EFF_PU200=
#eof

eval `scramv1 runtime -sh`
# this needs to be last because it gets overwritten by cmsenv
export LD_LIBRARY_PATH=$DIR/SDL:$DIR:$LD_LIBRARY_PATH

0 comments on commit ee1e94e

Please sign in to comment.