Bug 1355896 - build openblas on aarch64
Summary: build openblas on aarch64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openblas
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1356620
TreeView+ depends on / blocked
 
Reported: 2016-07-12 21:28 UTC by Jeff Bastian
Modified: 2016-07-14 13:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-13 03:09:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch for openblas.spec (2.17 KB, patch)
2016-07-12 21:28 UTC, Jeff Bastian
no flags Details | Diff
openblas.spec (21.72 KB, text/plain)
2016-07-12 21:57 UTC, Jeff Bastian
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.