From 14599f09be6cd6eac4dc4d9d2d01a0ad001ae3f5 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 25 Jun 2020 18:18:48 +0200 Subject: Separate Apple Clang from LLVM Clang (#17110) * Separate Apple Clang from LLVM Clang Apple Clang is a compiler of its own. All places referring to "-apple" suffix have been updated. * Hack to use a dash in 'apple-clang' To be able to use autodoc from Sphinx we need a valid Python name for the module that contains Apple's Clang code. * Updated packages to account for the existence of apple-clang Co-authored-by: Adam J. Stewart * Added unit test for XCode related functions Co-authored-by: Gregory Becker Co-authored-by: Adam J. Stewart --- etc/spack/defaults/darwin/packages.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/spack/defaults/darwin/packages.yaml b/etc/spack/defaults/darwin/packages.yaml index 1150f6bab7..b2bcd560c6 100644 --- a/etc/spack/defaults/darwin/packages.yaml +++ b/etc/spack/defaults/darwin/packages.yaml @@ -15,7 +15,11 @@ # ------------------------------------------------------------------------- packages: all: - compiler: [clang, gcc, intel] + compiler: + - apple-clang + - clang + - gcc + - intel providers: elf: [libelf] unwind: [apple-libunwind] -- cgit v1.2.3-60-g2f50