Fixed OpenBLAS compilation error on POWER8 with GCC 7. (#4783)
* Fixed compilation error on POWER8 with GCC 7. * Restrict patch to ppc64 with gcc.
This commit is contained in:
parent
6485c3feb5
commit
41361cffea
2 changed files with 7813 additions and 0 deletions
|
@ -62,6 +62,10 @@ class Openblas(MakefilePackage):
|
|||
patch('openblas_icc_openmp.patch', when='%intel@16.0:')
|
||||
patch('openblas_icc_fortran.patch', when='%intel@16.0:')
|
||||
|
||||
# Fixes compilation error on POWER8 with GCC 7
|
||||
# https://github.com/xianyi/OpenBLAS/pull/1098
|
||||
patch('power8.patch', when='@0.2.18:0.2.19 %gcc@7.1.0: target=ppc64')
|
||||
|
||||
# Change file comments to work around clang 3.9 assembler bug
|
||||
# https://github.com/xianyi/OpenBLAS/pull/982
|
||||
patch('openblas0.2.19.diff', when='@0.2.19')
|
||||
|
|
7809
var/spack/repos/builtin/packages/openblas/power8.patch
Normal file
7809
var/spack/repos/builtin/packages/openblas/power8.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue