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
f838fe49
Commit
f838fe49
authored
8 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
add init file for clang
parent
839750c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.d/init_clang.sh
+87
-0
87 additions, 0 deletions
.gitlab-ci.d/init_clang.sh
with
87 additions
and
0 deletions
.gitlab-ci.d/init_clang.sh
0 → 100644
+
87
−
0
View file @
f838fe49
#!/bin/bash
if
[
"
$(
cat
/etc/
*
-release
|
grep
Scientific
)
"
]
;
then
OS
=
slc6
elif
[
"
$(
cat
/etc/
*
-release
|
grep
CentOS
)
"
]
;
then
OS
=
centos7
else
echo
"UNKNOWN OS"
exit
1
fi
BUILD_TYPE
=
opt
# General variables
CLICREPO
=
/cvmfs/clicdp.cern.ch
BUILD_FLAVOUR
=
x86_64-slc6-llvm39-
${
BUILD_TYPE
}
#--------------------------------------------------------------------------------
# LLVM
#--------------------------------------------------------------------------------
source
${
CLICREPO
}
/compilers/llvm/3.9.0/x86_64-
${
OS
}
/setup.sh
#--------------------------------------------------------------------------------
# CMake
#--------------------------------------------------------------------------------
export
CMAKE_HOME
=
${
CLICREPO
}
/software/CMake/3.6.2/
${
BUILD_FLAVOUR
}
export
PATH
=
${
CMAKE_HOME
}
/bin:
$PATH
#--------------------------------------------------------------------------------
# Python
#--------------------------------------------------------------------------------
export
PYTHONDIR
=
${
CLICREPO
}
/software/Python/2.7.12/
${
BUILD_FLAVOUR
}
export
PATH
=
$PYTHONDIR
/bin:
$PATH
export
LD_LIBRARY_PATH
=
$PYTHONDIR
/lib:
$LD_LIBRARY_PATH
#--------------------------------------------------------------------------------
# ROOT
#--------------------------------------------------------------------------------
export
ROOTSYS
=
${
CLICREPO
}
/software/ROOT/6.08.00-rc1/
${
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.1.4/
${
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.02.p02/
${
BUILD_FLAVOUR
}
export
G4ENV_INIT
=
"
$G4INSTALL
/bin/geant4.sh"
export
G4SYSTEM
=
"Linux-g++"
#--------------------------------------------------------------------------------
# LCIO
#--------------------------------------------------------------------------------
export
LCIO
=
${
CLICREPO
}
/software/LCIO/2.7.1/x86_64-slc6-gcc48-opt
# export PYTHONPATH="$LCIO/src/python:$LCIO/examples/python:$PYTHONPATH"
export
PATH
=
"
$LCIO
/bin:
$PATH
"
export
LD_LIBRARY_PATH
=
"
$LCIO
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Boost
#--------------------------------------------------------------------------------
export
BOOST_ROOT
=
${
CLICREPO
}
/software/Boost/1.62.0/
${
BUILD_FLAVOUR
}
export
LD_LIBRARY_PATH
=
"
${
BOOST_ROOT
}
/lib:
$LD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Ninja
#--------------------------------------------------------------------------------
export
Ninja_HOME
=
${
CLICREPO
}
/software/Ninja/1.7.1/
${
BUILD_FLAVOUR
}
export
PATH
=
"
$Ninja_HOME
:
$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