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
a8810dc2
Commit
a8810dc2
authored
7 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
Update ROOT in CI
parent
8ce1a007
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_mac.sh
+0
-106
0 additions, 106 deletions
.dd4hep-ci.d/init_mac.sh
.dd4hep-ci.d/init_x86_64.sh
+1
-1
1 addition, 1 deletion
.dd4hep-ci.d/init_x86_64.sh
with
1 addition
and
107 deletions
.dd4hep-ci.d/init_mac.sh
deleted
100644 → 0
+
0
−
106
View file @
8ce1a007
#!/bin/bash
#Determine which OS you are using
if
[
"
$(
uname
)
"
==
"Darwin"
]
;
then
if
[
$(
sw_vers
-productVersion
|
awk
-F
'.'
'{print $1 "." $2}'
)
==
"10.13"
]
;
then
OS
=
mac1013
COMPILER_TYPE
=
llvm
COMPILER_VERSION
=
llvm90
else
echo
"Bootstrap only works on macOS High Sierra (10.13)"
fi
elif
[
"
$(
uname
)
"
==
"Linux"
]
;
then
if
[
"
$(
cat
/etc/
*
-release
|
grep
Scientific
)
"
]
;
then
OS
=
slc6
elif
[
"
$(
cat
/etc/
*
-release
|
grep
CentOS
)
"
]
;
then
OS
=
centos7
fi
else
echo
"UNKNOWN OS"
exit
1
fi
#Determine is you have CVMFS installed
if
[
!
-d
"/cvmfs"
]
;
then
echo
"No CVMFS detected, please install it."
exit
1
fi
if
[
!
-d
"/cvmfs/clicdp.cern.ch"
]
;
then
echo
"No clicdp CVMFS repository detected, please add it."
exit
1
fi
#Choose build type
if
[
-z
${
BUILD_TYPE
}
]
;
then
BUILD_TYPE
=
opt
fi
# General variables
CLICREPO
=
/cvmfs/clicdp.cern.ch
BUILD_FLAVOUR
=
x86_64-
${
OS
}
-
${
COMPILER_VERSION
}
-
${
BUILD_TYPE
}
#--------------------------------------------------------------------------------
# CMake
#--------------------------------------------------------------------------------
export
CMAKE_HOME
=
${
CLICREPO
}
/software/CMake/3.9.5/
${
BUILD_FLAVOUR
}
export
PATH
=
${
CMAKE_HOME
}
/bin:
$PATH
#--------------------------------------------------------------------------------
# Python
#--------------------------------------------------------------------------------
export
PYTHONDIR
=
${
CLICREPO
}
/software/Python/2.7.14/
${
BUILD_FLAVOUR
}
export
PATH
=
${
PYTHONDIR
}
/bin:
$PATH
export
LD_LIBRARY_PATH
=
${
PYTHONDIR
}
/lib:
${
LD_LIBRARY_PATH
}
#--------------------------------------------------------------------------------
# ROOT
#--------------------------------------------------------------------------------
export
ROOTSYS
=
${
CLICREPO
}
/software/ROOT/6.10.08/
${
BUILD_FLAVOUR
}
export
PYTHONPATH
=
"
$ROOTSYS
/lib:
$PYTHONPATH
"
export
PATH
=
"
$ROOTSYS
/bin:
$PATH
"
export
LD_LIBRARY_PATH
=
"
$ROOTSYS
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# XercesC
#--------------------------------------------------------------------------------
export
XercesC_HOME
=
${
CLICREPO
}
/software/Xerces-C/3.2.0/
${
BUILD_FLAVOUR
}
export
PATH
=
"
$XercesC_HOME
/bin:
$PATH
"
export
LD_LIBRARY_PATH
=
"
$XercesC_HOME
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Geant4
#--------------------------------------------------------------------------------
export
G4INSTALL
=
${
CLICREPO
}
/software/Geant4/10.03.p03/
${
BUILD_FLAVOUR
}
export
G4ENV_INIT
=
"
${
G4INSTALL
}
/bin/geant4.sh"
export
G4SYSTEM
=
"Linux-g++"
#--------------------------------------------------------------------------------
# LCIO
#--------------------------------------------------------------------------------
export
LCIO
=
${
CLICREPO
}
/software/LCIO/2.11.0/
${
BUILD_FLAVOUR
}
export
PYTHONPATH
=
${
LCIO
}
/python
export
PATH
=
${
LCIO
}
/bin:
$PATH
export
LD_LIBRARY_PATH
=
"
$LCIO
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Boost
#--------------------------------------------------------------------------------
export
BOOST_ROOT
=
${
CLICREPO
}
/software/Boost/1.65.1/
${
BUILD_FLAVOUR
}
export
LD_LIBRARY_PATH
=
"
${
BOOST_ROOT
}
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Ninja
#--------------------------------------------------------------------------------
export
Ninja_HOME
=
${
CLICREPO
}
/software/Ninja/1.8.2/
${
BUILD_FLAVOUR
}
export
PATH
=
"
$Ninja_HOME
:
$PATH
"
This diff is collapsed.
Click to expand it.
.dd4hep-ci.d/init_x86_64.sh
+
1
−
1
View file @
a8810dc2
...
...
@@ -84,7 +84,7 @@ export LD_LIBRARY_PATH=${PYTHONDIR}/lib:${LD_LIBRARY_PATH}
# ROOT
#--------------------------------------------------------------------------------
export
ROOTSYS
=
${
CLICREPO
}
/software/ROOT/6.12.0
4
/
${
BUILD_FLAVOUR
}
export
ROOTSYS
=
${
CLICREPO
}
/software/ROOT/6.12.0
6
/
${
BUILD_FLAVOUR
}
export
PYTHONPATH
=
"
$ROOTSYS
/lib:
$PYTHONPATH
"
export
PATH
=
"
$ROOTSYS
/bin:
$PATH
"
export
LD_LIBRARY_PATH
=
"
$ROOTSYS
/lib:
$LD_LIBRARY_PATH
"
...
...
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