From d69c32d7efb83020f094f6b729bc38959b8ec605 Mon Sep 17 00:00:00 2001 From: "Kelly (KT) Thompson" Date: Thu, 16 Jul 2020 18:35:33 -0600 Subject: Version 1.13.2 still needs the XL patch. (#17561) --- var/spack/repos/builtin/packages/random123/package.py | 1 + .../repos/builtin/packages/random123/v1132-xl161.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 var/spack/repos/builtin/packages/random123/v1132-xl161.patch (limited to 'var') diff --git a/var/spack/repos/builtin/packages/random123/package.py b/var/spack/repos/builtin/packages/random123/package.py index 7cc754a5bd..bc958abe38 100644 --- a/var/spack/repos/builtin/packages/random123/package.py +++ b/var/spack/repos/builtin/packages/random123/package.py @@ -21,6 +21,7 @@ class Random123(Package): patch('ibmxl.patch', when='@1.09') patch('arm-gcc.patch', when='@1.09') + patch('v1132-xl161.patch', when='@1.13.2') def install(self, spec, prefix): # Random123 doesn't have a build system. diff --git a/var/spack/repos/builtin/packages/random123/v1132-xl161.patch b/var/spack/repos/builtin/packages/random123/v1132-xl161.patch new file mode 100644 index 0000000000..398de3cc2a --- /dev/null +++ b/var/spack/repos/builtin/packages/random123/v1132-xl161.patch @@ -0,0 +1,13 @@ +diff --git a/include/Random123/features/compilerfeatures.h b/include/Random123/features/compilerfeatures.h +index 2341a7a..3c5d999 100644 +--- a/include/Random123/features/compilerfeatures.h ++++ b/include/Random123/features/compilerfeatures.h +@@ -206,7 +206,7 @@ added to each of the *features.h files, AND to examples/ut_features.cpp. + #include "nvccfeatures.h" + #elif defined(__ICC) + #include "iccfeatures.h" +-#elif defined(__xlC__) ++#elif defined(__xlC__) || defined(__ibmxl__) + #include "xlcfeatures.h" + #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #include "sunprofeatures.h" -- cgit v1.2.3-70-g09d2