Skip to content
Snippets Groups Projects
Commit a9eb16e4 authored by Marko Petric's avatar Marko Petric
Browse files

Add script for Coverity Scan

parent 065e72db
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
export COMPILER_TYPE="gcc"
source /Package/.dd4hep-ci.d/init_x86_64.sh
cd /Package
mkdir build
cd build
cmake -D DD4HEP_USE_GEANT4=ON -D DD4HEP_USE_BOOST=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -D Geant4_DIR=$G4INSTALL/lib64/Geant4-10.2.2 -D DD4HEP_USE_CXX11=ON -DCMAKE_BUILD_TYPE=Release -DROOT_DIR=$ROOTSYS -DCMAKE_CXX_FLAGS="-fdiagnostics-color=always" .. && \
export PATH=/Package/cov-analysis-linux64/bin:$PATH && \
cov-build --dir cov-int make -j2 && \
tar czvf myproject.tgz cov-int
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment