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
cab21aa9
Commit
cab21aa9
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Travis: Allow compiler version be set from outside
parent
6fa14ba9
No related branches found
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
+7
-5
7 additions, 5 deletions
.dd4hep-ci.d/init_x86_64.sh
with
7 additions
and
5 deletions
.dd4hep-ci.d/init_x86_64.sh
+
7
−
5
View file @
cab21aa9
...
...
@@ -28,11 +28,13 @@ fi
if
[
-z
${
COMPILER_TYPE
}
]
;
then
COMPILER_TYPE
=
"gcc"
fi
if
[
${
COMPILER_TYPE
}
==
"gcc"
]
;
then
COMPILER_VERSION
=
"gcc8"
fi
if
[[
${
COMPILER_TYPE
}
==
"clang"
]]
;
then
COMPILER_VERSION
=
"clang8"
if
[
-z
${
COMPILER_VERSION
}
]
;
then
if
[
${
COMPILER_TYPE
}
==
"gcc"
]
;
then
COMPILER_VERSION
=
"gcc8"
fi
if
[[
${
COMPILER_TYPE
}
==
"clang"
]]
;
then
COMPILER_VERSION
=
"clang8"
fi
fi
...
...
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