Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
5f054649
Commit
5f054649
authored
7 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
Add Geant4 10.3.1 to CI
parent
67f6c5e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dd4hep-ci.d/init_x86_64.sh
+5
-1
5 additions, 1 deletion
.dd4hep-ci.d/init_x86_64.sh
.gitlab-ci.yml
+46
-0
46 additions, 0 deletions
.gitlab-ci.yml
with
51 additions
and
1 deletion
.dd4hep-ci.d/init_x86_64.sh
+
5
−
1
View file @
5f054649
...
@@ -101,8 +101,12 @@ export LD_LIBRARY_PATH="$XercesC_HOME/lib:$LD_LIBRARY_PATH"
...
@@ -101,8 +101,12 @@ export LD_LIBRARY_PATH="$XercesC_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Geant4
# Geant4
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
#Determine which Geant4 version to use
if
[
-z
${
GEANT4_VERSION
}
]
;
then
GEANT4_VERSION
=
"10.02.p03"
fi
export
G4INSTALL
=
${
CLICREPO
}
/software/Geant4/
10.02.p03
/
${
BUILD_FLAVOUR
}
export
G4INSTALL
=
${
CLICREPO
}
/software/Geant4/
${
GEANT4_VERSION
}
/
${
BUILD_FLAVOUR
}
export
G4ENV_INIT
=
"
${
G4INSTALL
}
/bin/geant4.sh"
export
G4ENV_INIT
=
"
${
G4INSTALL
}
/bin/geant4.sh"
export
G4SYSTEM
=
"Linux-g++"
export
G4SYSTEM
=
"Linux-g++"
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
46
−
0
View file @
5f054649
...
@@ -42,6 +42,29 @@ slc6-llvm40-Geant10.2:
...
@@ -42,6 +42,29 @@ slc6-llvm40-Geant10.2:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
slc6-ggc7-Geant10.3
:
tags
:
-
docker
image
:
clicdp/slc6-base
script
:
-
export COMPILER_TYPE="gcc"
-
export GEANT4_VERSION="10.03.p01"
-
source .dd4hep-ci.d/init_x86_64.sh
-
mkdir build
-
cd build
-
cmake -GNinja -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.3.1 -D DD4HEP_USE_CXX11=ON -DCMAKE_BUILD_TYPE=Release -DROOT_DIR=$ROOTSYS ..
-
ninja
-
ninja install
-
. ../bin/thisdd4hep.sh
-
ctest --output-on-failure -j4
-
cd ../examples/
-
mkdir build
-
cd build
-
cmake -GNinja ..
-
ninja
-
ninja install
-
ctest --output-on-failure
slc6-gcc7-Geant10.2-XERCESC
:
slc6-gcc7-Geant10.2-XERCESC
:
tags
:
tags
:
-
docker
-
docker
...
@@ -109,6 +132,29 @@ centos7-llvm40-Geant10.2:
...
@@ -109,6 +132,29 @@ centos7-llvm40-Geant10.2:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
centos7-llvm40-Geant10.3-XERCESC
:
tags
:
-
docker
image
:
clicdp/slc6-base
script
:
-
export COMPILER_TYPE="llvm"
-
export GEANT4_VERSION="10.03.p01"
-
source .dd4hep-ci.d/init_x86_64.sh
-
mkdir build
-
cd build
-
cmake -GNinja -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.3.1 -D DD4HEP_USE_CXX11=ON -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=${XercesC_HOME} -DROOT_DIR=$ROOTSYS ..
-
ninja
-
ninja install
-
. ../bin/thisdd4hep.sh
-
ctest --output-on-failure -j4
-
cd ../examples/
-
mkdir build
-
cd build
-
cmake -GNinja ..
-
ninja
-
ninja install
-
ctest --output-on-failure
mac1012-clang80
:
mac1012-clang80
:
tags
:
tags
:
-
mac
-
mac
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment