From 9986652b27d27ad1e3053a357852b96714257041 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 20 Dec 2023 11:15:15 +0100 Subject: Add detection tests for XL compilers (#41743) --- .../repos/builtin/packages/xlc/detection_test.yaml | 18 ++++++++++++++++++ .../repos/builtin/packages/xlf/detection_test.yaml | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/xlc/detection_test.yaml create mode 100644 var/spack/repos/builtin/packages/xlf/detection_test.yaml (limited to 'var') diff --git a/var/spack/repos/builtin/packages/xlc/detection_test.yaml b/var/spack/repos/builtin/packages/xlc/detection_test.yaml new file mode 100644 index 0000000000..e76c608aba --- /dev/null +++ b/var/spack/repos/builtin/packages/xlc/detection_test.yaml @@ -0,0 +1,18 @@ +paths: + - layout: + - executables: + - "bin/xlc" + - "bin/xlc++" + - "bin/xlc_r" + - "bin/xlc++_r" + script: | + echo "IBM XL C/C++ for Linux, V16.1.1 (5725-C73, 5765-J13)" + echo "Version: 16.01.0001.0006" + - executables: + - "bin/xlcuf" + script: | + echo "IBM XL Fortran for Linux, V16.1.1 (5725-C73, 5765-J13)" + echo "Version: 16.01.0001.0006" + results: + - spec: "xlc+r@16.1" + - spec: "xlc~r@16.1" diff --git a/var/spack/repos/builtin/packages/xlf/detection_test.yaml b/var/spack/repos/builtin/packages/xlf/detection_test.yaml new file mode 100644 index 0000000000..461ef007d7 --- /dev/null +++ b/var/spack/repos/builtin/packages/xlf/detection_test.yaml @@ -0,0 +1,11 @@ +paths: + - layout: + - executables: + - "bin/xlf" + - "bin/xlf_r" + script: | + echo "IBM XL Fortran for Linux, V16.1.1 (5725-C73, 5765-J13)" + echo "Version: 16.01.0001.0006" + results: + - spec: "xlf+r@16.1" + - spec: "xlf~r@16.1" -- cgit v1.2.3-60-g2f50