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:
Jia Li 2017-08-05 13:56:04 -04:00 committed by Adam J. Stewart
parent 6485c3feb5
commit 41361cffea
2 changed files with 7813 additions and 0 deletions

View file

@ -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')

File diff suppressed because it is too large Load diff