Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
DD4hep
Commits
b5ad1b1d
Commit
b5ad1b1d
authored
Apr 27, 2020
by
Whitney Armstrong
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/AIDASoft/DD4hep
parents
7dcf0d1f
a29fe68e
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.dd4hep-ci.d/init_x86_64.sh
+3
-3
3 additions, 3 deletions
.dd4hep-ci.d/init_x86_64.sh
.gitlab-ci.yml
+23
-17
23 additions, 17 deletions
.gitlab-ci.yml
DDDigi/src/DigiKernel.cpp
+1
-1
1 addition, 1 deletion
DDDigi/src/DigiKernel.cpp
with
27 additions
and
21 deletions
.dd4hep-ci.d/init_x86_64.sh
+
3
−
3
View file @
b5ad1b1d
...
@@ -30,10 +30,10 @@ if [ -z ${COMPILER_TYPE} ]; then
...
@@ -30,10 +30,10 @@ if [ -z ${COMPILER_TYPE} ]; then
fi
fi
if
[
-z
${
COMPILER_VERSION
}
]
;
then
if
[
-z
${
COMPILER_VERSION
}
]
;
then
if
[
${
COMPILER_TYPE
}
==
"gcc"
]
;
then
if
[
${
COMPILER_TYPE
}
==
"gcc"
]
;
then
COMPILER_VERSION
=
"gcc
8
"
COMPILER_VERSION
=
"gcc
9
"
fi
fi
if
[[
${
COMPILER_TYPE
}
==
"clang"
]]
;
then
if
[[
${
COMPILER_TYPE
}
==
"clang"
]]
;
then
COMPILER_VERSION
=
"clang
8
"
COMPILER_VERSION
=
"clang
10
"
fi
fi
fi
fi
...
@@ -45,7 +45,7 @@ fi
...
@@ -45,7 +45,7 @@ fi
# General variables
# General variables
if
[
-z
${
LCG_RELEASE
}
]
;
then
if
[
-z
${
LCG_RELEASE
}
]
;
then
LCG_RELEASE
=
"LCG_9
6
"
LCG_RELEASE
=
"LCG_9
7
"
fi
fi
if
[[
"
${
LCG_RELEASE
}
"
=
~
"dev"
]]
;
then
if
[[
"
${
LCG_RELEASE
}
"
=
~
"dev"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
23
−
17
View file @
b5ad1b1d
...
@@ -3,14 +3,13 @@ stages:
...
@@ -3,14 +3,13 @@ stages:
-
documentation
-
documentation
-
deployment
-
deployment
slc6
-gcc8-Geant10.
5
:
centos7
-gcc8-Geant10.
6
:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
clicdp/
slc6
-lcg
image
:
clicdp/
cc7
-lcg
script
:
script
:
-
source .dd4hep-ci.d/init_x86_64.sh
-
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/setup.sh
-
unset CPATH
-
mkdir build
-
mkdir build
-
cd build
-
cd build
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 ..
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 ..
...
@@ -26,14 +25,13 @@ slc6-gcc8-Geant10.5:
...
@@ -26,14 +25,13 @@ slc6-gcc8-Geant10.5:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
centos7-gcc
8
-Geant10.
5
:
centos7-gcc
9
-Geant10.
6
:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
clicdp/cc7-lcg
image
:
clicdp/cc7-lcg
script
:
script
:
-
source .dd4hep-ci.d/init_x86_64.sh
-
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc9-opt/setup.sh
-
unset CPATH
-
mkdir build
-
mkdir build
-
cd build
-
cd build
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 ..
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 ..
...
@@ -49,13 +47,13 @@ centos7-gcc8-Geant10.5:
...
@@ -49,13 +47,13 @@ centos7-gcc8-Geant10.5:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
centos7-gcc
8
-Geant10.
5
-XERCESC
:
centos7-gcc
9
-Geant10.
6
-XERCESC
:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
clicdp/cc7-lcg
image
:
clicdp/cc7-lcg
script
:
script
:
-
source
.dd4hep-ci.d/init_x86_64
.sh
-
source
/cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc9-opt/setup
.sh
-
unset CPATH
-
unset CPATH
-
mkdir build
-
mkdir build
-
cd build
-
cd build
...
@@ -72,15 +70,13 @@ centos7-gcc8-Geant10.5-XERCESC:
...
@@ -72,15 +70,13 @@ centos7-gcc8-Geant10.5-XERCESC:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
centos7-gcc
8
-Geant10.
5
-Python3
:
centos7-gcc
9
-Geant10.
6
-Python3
:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
clicdp/cc7-lcg
image
:
clicdp/cc7-lcg
script
:
script
:
-
export LCG_RELEASE="LCG_96python3"
-
source /cvmfs/sft.cern.ch/lcg/views/LCG_97python3/x86_64-centos7-gcc9-opt/setup.sh
-
source .dd4hep-ci.d/init_x86_64.sh
-
unset CPATH
-
mkdir build
-
mkdir build
-
cd build
-
cd build
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DCMAKE_CXX_STANDARD=17 ..
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DCMAKE_CXX_STANDARD=17 ..
...
@@ -97,15 +93,13 @@ centos7-gcc8-Geant10.5-Python3:
...
@@ -97,15 +93,13 @@ centos7-gcc8-Geant10.5-Python3:
-
ctest --output-on-failure
-
ctest --output-on-failure
centos7-clang
8
-Geant10.
5
-XERCESC
:
centos7-clang
10
-Geant10.
6
-XERCESC
:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
clicdp/cc7-lcg
image
:
clicdp/cc7-lcg
script
:
script
:
-
export COMPILER_TYPE="clang"
-
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc9-opt/setup.sh
-
source .dd4hep-ci.d/init_x86_64.sh
-
unset CPATH
-
mkdir build
-
mkdir build
-
cd build
-
cd build
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DCMAKE_CXX_STANDARD=17 ..
-
cmake -GNinja -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DDD4HEP_USE_XERCESC=ON -DCMAKE_CXX_STANDARD=17 ..
...
@@ -171,6 +165,18 @@ mac1015-clang110-Geant10.6-XERCESC:
...
@@ -171,6 +165,18 @@ mac1015-clang110-Geant10.6-XERCESC:
-
ninja install
-
ninja install
-
ctest --output-on-failure
-
ctest --output-on-failure
Python
:
stage
:
build
tags
:
-
docker
image
:
clicdp/cc7-lcg
script
:
-
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc9-opt/setup.sh
-
echo "RUNNING PYLINT PY3K CHECK"
-
find . -name "*.py" -and -not -name "ddsix.py" -exec pylint --rcfile=.dd4hep-ci.d/DD4hep.pylint.py3k.rc --py3k {} +
-
echo "RUNNING FLAKE8 CHECK"
-
find . -name "*.py" -and -not -name 'ddsix.py' -exec flake8 {} +
#############################
#############################
...
...
This diff is collapsed.
Click to expand it.
DDDigi/src/DigiKernel.cpp
+
1
−
1
View file @
b5ad1b1d
...
@@ -273,7 +273,7 @@ void DigiKernel::submit(const DigiAction::Actors<DigiEventAction>& actions, Digi
...
@@ -273,7 +273,7 @@ void DigiKernel::submit(const DigiAction::Actors<DigiEventAction>& actions, Digi
if
(
parallel
)
{
if
(
parallel
)
{
tbb
::
task_group
que
;
tbb
::
task_group
que
;
for
(
auto
*
i
:
actions
)
for
(
auto
*
i
:
actions
)
que
.
run
(
Wrapper
(
context
,
*
i
));
que
.
run
(
Wrapper
(
context
,
i
));
que
.
wait
();
que
.
wait
();
goto
print_stamp
;
goto
print_stamp
;
}
}
...
...
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