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
f66acfde
Commit
f66acfde
authored
5 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
Make LCG release a variable
parent
b5fd1ec9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.dd4hep-ci.d/init_x86_64.sh
+11
-4
11 additions, 4 deletions
.dd4hep-ci.d/init_x86_64.sh
with
11 additions
and
4 deletions
.dd4hep-ci.d/init_x86_64.sh
+
11
−
4
View file @
f66acfde
...
@@ -43,10 +43,14 @@ fi
...
@@ -43,10 +43,14 @@ fi
# General variables
# General variables
LCGREPO
=
/cvmfs/sft.cern.ch/lcg/releases/LCG_96
if
[
-z
${
LCG_RELEASE
}
]
;
then
LCG_RELEASE
=
"LCG_96"
fi
LCGREPO
=
/cvmfs/sft.cern.ch/lcg/releases/
${
LCG_RELEASE
}
BUILD_FLAVOUR
=
x86_64-
${
OS
}
-
${
COMPILER_VERSION
}
-
${
BUILD_TYPE
}
BUILD_FLAVOUR
=
x86_64-
${
OS
}
-
${
COMPILER_VERSION
}
-
${
BUILD_TYPE
}
export
LD_LIBRARY_PATH
=
/cvmfs/sft.cern.ch/lcg/views/LCG_
96
/
${
BUILD_FLAVOUR
}
/lib64:/cvmfs/sft.cern.ch/lcg/views/LCG_
96
/
${
BUILD_FLAVOUR
}
/lib:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
/cvmfs/sft.cern.ch/lcg/views/
${
LCG_
RELEASE
}
/
${
BUILD_FLAVOUR
}
/lib64:/cvmfs/sft.cern.ch/lcg/views/
${
LCG_
RELEASE
}
/
${
BUILD_FLAVOUR
}
/lib:
$LD_LIBRARY_PATH
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Compiler
# Compiler
...
@@ -69,8 +73,11 @@ export PATH=${CMAKE_HOME}/bin:$PATH
...
@@ -69,8 +73,11 @@ export PATH=${CMAKE_HOME}/bin:$PATH
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Python
# Python
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
if
[[
$LCG_RELEASE
=
~
"python3"
]]
;
then
export
PYTHONDIR
=
${
LCGREPO
}
/Python/2.7.16/
${
BUILD_FLAVOUR
}
export
PYTHONDIR
=
${
LCGREPO
}
/Python/3.6.5/
${
BUILD_FLAVOUR
}
else
export
PYTHONDIR
=
${
LCGREPO
}
/Python/2.7.16/
${
BUILD_FLAVOUR
}
fi
export
PATH
=
${
PYTHONDIR
}
/bin:
$PATH
export
PATH
=
${
PYTHONDIR
}
/bin:
$PATH
export
LD_LIBRARY_PATH
=
${
PYTHONDIR
}
/lib:
${
LD_LIBRARY_PATH
}
export
LD_LIBRARY_PATH
=
${
PYTHONDIR
}
/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