diff options
author | Cody Balos <balos1@llnl.gov> | 2021-11-12 13:27:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 15:27:15 -0600 |
commit | c4b52098f33e87cc330787bc2fa319bf6355bbc7 (patch) | |
tree | 4e501a83173fcee07debe70a61751ced4b461489 /var | |
parent | 3f4d0943d71a8c55902322843561bdccde550fd7 (diff) | |
download | spack-c4b52098f33e87cc330787bc2fa319bf6355bbc7.tar.gz spack-c4b52098f33e87cc330787bc2fa319bf6355bbc7.tar.bz2 spack-c4b52098f33e87cc330787bc2fa319bf6355bbc7.tar.xz spack-c4b52098f33e87cc330787bc2fa319bf6355bbc7.zip |
superlu-dist: fix case for cce fortran compiler (#27296)
* superlu-dist: fix build with cce fortran compiler
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 1 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/superlu-cray-ftn-case.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index 82aa8f134f..9d5704ac12 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -53,6 +53,7 @@ class SuperluDist(CMakePackage, CudaPackage): patch('xl-611.patch', when='@:6.1.1 %xl') patch('xl-611.patch', when='@:6.1.1 %xl_r') + patch('superlu-cray-ftn-case.patch', when='@:7.1.1 %cce') def cmake_args(self): spec = self.spec diff --git a/var/spack/repos/builtin/packages/superlu-dist/superlu-cray-ftn-case.patch b/var/spack/repos/builtin/packages/superlu-dist/superlu-cray-ftn-case.patch new file mode 100644 index 0000000000..8f3963656e --- /dev/null +++ b/var/spack/repos/builtin/packages/superlu-dist/superlu-cray-ftn-case.patch @@ -0,0 +1,15 @@ +diff --git a/FORTRAN/CMakeLists.txt b/FORTRAN/CMakeLists.txt +index bf402a9..6a039e1 100644 +--- a/FORTRAN/CMakeLists.txt ++++ b/FORTRAN/CMakeLists.txt +@@ -3,8 +3,8 @@ include_directories(${SuperLU_DIST_SOURCE_DIR}/SRC) + include_directories(${SuperLU_DIST_BINARY_DIR}/FORTRAN) + + set(headers +- ${CMAKE_BINARY_DIR}/FORTRAN/superlu_mod.mod +- ${CMAKE_BINARY_DIR}/FORTRAN/superlupara_mod.mod ++ ${CMAKE_BINARY_DIR}/FORTRAN/SUPERLU_MOD.mod ++ ${CMAKE_BINARY_DIR}/FORTRAN/SUPERLUPARA_MOD.mod + ${CMAKE_BINARY_DIR}/FORTRAN/superlu_dist_config.fh + ) + |