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
8af8eaf1
Commit
8af8eaf1
authored
7 years ago
by
Marko Petric
Committed by
Andre Sailer
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Deduce CLHEP location from CLHEP_INCLUDE_DIR
parent
ce78f0e5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
cmake/thisdd4hep.sh
+3
-3
3 additions, 3 deletions
cmake/thisdd4hep.sh
with
5 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
1
View file @
8af8eaf1
...
...
@@ -57,10 +57,11 @@ slc6-gcc7-Geant10.3-XERCESC:
image
:
clicdp/slc6-base
script
:
-
export COMPILER_TYPE="gcc"
-
export GEANT4_VERSION="10.04"
-
source .dd4hep-ci.d/init_x86_64.sh
-
mkdir build
-
cd build
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DGeant4_DIR=$G4INSTALL/lib64/Geant4-10.
3.3
-DCMAKE_CXX_STANDARD=14 -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=${XercesC_HOME} -DROOT_DIR=$ROOTSYS ..
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DGeant4_DIR=$G4INSTALL/lib64/Geant4-10.
4.0
-DCMAKE_CXX_STANDARD=14 -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=${XercesC_HOME} -DROOT_DIR=$ROOTSYS ..
-
ninja
-
ninja install
-
. ../bin/thisdd4hep.sh
...
...
This diff is collapsed.
Click to expand it.
cmake/thisdd4hep.sh
+
3
−
3
View file @
8af8eaf1
...
...
@@ -92,9 +92,9 @@ if [ ${Geant4_DIR} ]; then
if
[
@GEANT4_USE_CLHEP@
]
;
then
dd4hep_add_library_path @CLHEP_LIBRARY_PATH@
;
fi
;
export
CLHEP_DIR
=
@CLHEP_
ROOT
_DIR@
;
export
CLHEP_ROOT_DIR
=
@CLHEP_
ROOT
_DIR@
;
export
CLHEP_
LIBRARY_PATH
=
@CLHEP_LIBRARY_PATH
@
;
export
CLHEP_DIR
=
@CLHEP_
INCLUDE
_DIR@
/../
;
export
CLHEP_ROOT_DIR
=
@CLHEP_
INCLUDE
_DIR@
/../
;
export
CLHEP_
INCLUDE_DIR
=
@CLHEP_INCLUDE_DIR
@
;
dd4hep_add_library_path
${
G4LIB_DIR
}
;
unset
G4ENV_INIT
;
unset
G4LIB_DIR
;
...
...
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