Bug 1356189
Summary: | enable build on ppc64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | openblas | Assignee: | Susi Lehtola <susi.lehtola> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | susi.lehtola |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-13 22:32:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1356152 | ||
Bug Blocks: | 1071880 |
Description
Dan Horák
2016-07-13 15:30:32 UTC
diff --git a/openblas.spec b/openblas.spec index 886a282..e8e6eb0 100644 --- a/openblas.spec +++ b/openblas.spec @@ -78,7 +78,7 @@ BuildRequires: lapack64-static # Upstream supports the package only on these architectures. # Runtime processor detection is not available on other archs. -ExclusiveArch: x86_64 %{ix86} armv7hl ppc64le aarch64 +ExclusiveArch: x86_64 %{ix86} armv7hl %{power64} aarch64 %global base_description \ OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \ @@ -331,6 +331,9 @@ export AVX="NO_AVX2=1" %ifarch armv7hl TARGET="TARGET=ARMV7 DYNAMIC_ARCH=0" %endif +%ifarch ppc64 +TARGET="TARGET=POWER6 DYNAMIC_ARCH=0" +%endif %ifarch ppc64le TARGET="TARGET=POWER8 DYNAMIC_ARCH=0" %endif @@ -375,6 +378,9 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name} %ifarch armv7hl suffix="_armv7" %endif +%ifarch ppc64 +suffix="_power6" +%endif %ifarch ppc64le suffix="_power8" %endif Slightly better version, covers more from the ppc64 supported hw. Seems the DYNAMIC_ARCH supports only x86 :-( Would be useful for our ppc64 case ... |