Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
ThirdParty-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
ThirdParty-common
Commits
cb75d015
Commit
cb75d015
authored
5 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
ENH: improve toolset naming
- if passed things like "clang-9", strip down to the base name "clang"
parent
baae61e0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
makeCGAL
+10
-2
10 additions, 2 deletions
makeCGAL
with
10 additions
and
2 deletions
makeCGAL
+
10
−
2
View file @
cb75d015
...
...
@@ -128,7 +128,7 @@ do
shift
;;
-toolset
=
*
)
optToolset
=
"
${
1
*=
}
"
optToolset
=
"
${
1
#
*=
}
"
;;
-sys
*
)
gmpPACKAGE
=
"gmp-system"
...
...
@@ -268,7 +268,15 @@ else
(
*
)
# Toolset for bootstrap and build
[
-n
"
$optToolset
"
]
||
optToolset
=
"
$(
whichCC
)
"
if
[
-z
"
$optToolset
"
]
then
optToolset
=
"
$(
whichCC
)
"
# Base names for gcc-8, clang-9 etc.
case
"
$optToolset
"
in
(
clang
*
)
optToolset
=
clang
;;
(
gcc
*
)
optToolset
=
gcc
;;
esac
fi
buildOpt
=
"toolset=
$optToolset
"
;;
esac
...
...
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