Bug 1355896

Summary: build openblas on aarch64
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: openblasAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahs3, dmarlin, pwhalen, susi.lehtola
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
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 03:09:02 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:    
Bug Blocks: 1356620    
Attachments:
Description Flags
patch for openblas.spec
none
openblas.spec none

Description Jeff Bastian 2016-07-12 21:28:42 UTC
Created attachment 1178998 [details]
patch for openblas.spec

Description of problem:
The openblas package is not building on Fedora aarch64 (64-bit ARM).  The source includes some basic aarch64 support, so it just needs a few updates to the spec file.  Attached is a proposed patch.

Note: I don't believe we need to use execstack on aarch64, so I removed the requirement for this platform.  It may be possible to drop this requirement for all other architectures too.

Version-Release number of selected component (if applicable):
openblas-0.2.18-1

How reproducible:
always

Steps to Reproduce:
1. rpmbuild --rebuild openblas-0.2.18-1.fc24.src.rpm

Actual results:
error: Architecture is not included: aarch64

Expected results:
openblas rpms for aarch64

Additional info:

Comment 1 Jeff Bastian 2016-07-12 21:57:33 UTC
Created attachment 1179014 [details]
openblas.spec

For reference, the full openblas.spec file that I used.

Comment 2 Jeff Bastian 2016-07-12 22:02:42 UTC
Test packages built with the patched openblas.spec are available for Fedora 24 and EPEL7 for aarch64:
  http://people.redhat.com/~jbastian/openblas/

I did not run any testing to verify that the packages are good or work correctly.  This was just a build test.

Comment 3 Jeff Bastian 2016-07-12 22:19:33 UTC
I also did a Koji scratch build just to make sure it build properly:
  http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3624731

Comment 4 Susi Lehtola 2016-07-13 03:09:02 UTC
Thanks for the spec file, I'm not sure how I missed this.