Temporary fix: Clang is the default compiler on Mac OS X.
This commit is contained in:
parent
aa00999fca
commit
358b2ab4ba
1 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
"""
|
||||
import imp
|
||||
import os
|
||||
import platform
|
||||
|
||||
from llnl.util.lang import memoized, list_modules
|
||||
from llnl.util.filesystem import join_path
|
||||
|
@ -47,7 +48,11 @@
|
|||
_required_instance_vars = ['cc', 'cxx', 'f77', 'fc']
|
||||
|
||||
# TODO: customize order in config file
|
||||
_default_order = ['gcc', 'intel', 'pgi', 'clang', 'xlc']
|
||||
if platform.system() == 'Darwin':
|
||||
_default_order = ['clang', 'gcc', 'intel']
|
||||
else:
|
||||
_default_order = ['gcc', 'intel', 'pgi', 'clang', 'xlc']
|
||||
|
||||
|
||||
def _auto_compiler_spec(function):
|
||||
def converter(cspec_like, *args, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue