Files
spack/var/spack/repos/builtin/packages/apple-clang/detection_test.yaml
Massimiliano Culpo c4d86a9c2e apple-clang: add new package (#41485)
* apple-clang: added new package
* Add a maintainer
* Use f-strings, remove leftover comment
2023-12-11 10:06:27 -08:00

36 lines
1.2 KiB
YAML

paths:
# Apple Clang on MacBook Pro (Catalina)
- layout:
- executables:
- "bin/clang"
- "bin/clang++"
script: |
echo "Apple clang version 11.0.0 (clang-1100.0.33.8)"
echo "Target: x86_64-apple-darwin19.5.0"
echo "Thread model: posix"
echo "InstalledDir: /Library/Developer/CommandLineTools/usr/bin"
results:
- spec: 'apple-clang@11.0.0'
# Apple Clang on Apple M1 (Ventura)
- layout:
- executables:
- "bin/clang"
- "bin/clang++"
script: |
echo "Apple clang version 15.0.0 (clang-1500.0.40.1)"
echo "Target: arm64-apple-darwin22.6.0"
echo "Thread model: posix"
echo "InstalledDir: /Library/Developer/CommandLineTools/usr/bin"
results:
- spec: 'apple-clang@15.0.0'
# Test that missing a compiler prevents the package from being detected
- layout:
- executables:
- "bin/clang"
script: |
echo "Apple clang version 11.0.0 (clang-1100.0.33.8)"
echo "Target: x86_64-apple-darwin19.5.0"
echo "Thread model: posix"
echo "InstalledDir: /Library/Developer/CommandLineTools/usr/bin"
results: [ ]