Temporary fix: Clang is the default compiler on Mac OS X.
This commit is contained in:
		| @@ -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,8 +48,12 @@ | ||||
| _required_instance_vars = ['cc', 'cxx', 'f77', 'fc'] | ||||
|  | ||||
| # TODO: customize order in config file | ||||
| 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): | ||||
|         if not isinstance(cspec_like, spack.spec.CompilerSpec): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin