superlu-dist: fix case for cce fortran compiler (#27296)
* superlu-dist: fix build with cce fortran compiler
This commit is contained in:
parent
3f4d0943d7
commit
c4b52098f3
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in a new issue