Skip to content
Snippets Groups Projects
Commit 986b28f1 authored by Gregory Becker's avatar Gregory Becker
Browse files

Fixed boost toolset detection

parent c678a9e3
Branches
Tags
No related merge requests found
......@@ -133,11 +133,15 @@ def url_for_version(self, version):
def determine_toolset(self, spec):
if spec.satisfies("platform=darwin"):
return 'darwin'
if 'icpc' in self.compiler.cxx_names:
return 'intel-darwin'
else:
return 'darwin'
toolsets = {'g++': 'gcc',
'icpc': 'intel',
'clang++': 'clang'}
'icpc': 'intel-linux',
'clang++': 'clang',
'pgi++': 'pgi'}
for cc, toolset in toolsets.iteritems():
if cc in self.compiler.cxx_names:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment