Bug 231371

Summary: math/openblas: Update to 0.3.6
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: freebsd-ports-bugs mailing list <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: chitty_cloud, iblis, linimon, phd_kimberlite, pkubaj
Priority: --- Flags: phd_kimberlite: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/xianyi/OpenBLAS/issues/1763
Attachments:
Description Flags
patch
none
patch
none
patch
none
patch
none
patch
none
patch
none
patch pkubaj: maintainer-approval? (phd_kimberlite)

Description Yuri Victorovich freebsd_committer 2018-09-15 04:24:17 UTC
Created attachment 197101 [details]
patch
Comment 1 Yuri Victorovich freebsd_committer 2018-09-15 08:37:33 UTC
Created attachment 197103 [details]
patch
Comment 2 Yuri Victorovich freebsd_committer 2018-09-15 16:18:57 UTC
Thank you for approving!
Comment 3 kunda 2019-01-10 06:31:33 UTC
0.3.5 is current stable
Comment 4 Iblis Lin 2019-02-06 07:01:22 UTC
good to go?
Comment 5 Yuri Victorovich freebsd_committer 2019-02-06 07:26:21 UTC
(In reply to Iblis Lin from comment #4)

I'll look at this this week, thanks.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2019-03-29 17:52:42 UTC
(In reply to Yuri Victorovich from comment #5)

Ping?  Q2 is almost upon us.
Comment 7 Yuri Victorovich freebsd_committer 2019-03-31 16:54:45 UTC
The build fails now: https://github.com/xianyi/OpenBLAS/issues/2074
Comment 8 Yuri Victorovich freebsd_committer 2019-03-31 21:38:05 UTC
(In reply to Yuri Victorovich from comment #7)

Now the above error is gone, but it fails to build in poudriere with the DYNAMIC_ARCH option. I am investigating.
Comment 9 Yuri Victorovich freebsd_committer 2019-03-31 22:34:58 UTC
(In reply to Yuri Victorovich from comment #8)

Pending: https://github.com/xianyi/OpenBLAS/issues/2076
Comment 10 kunda 2019-05-16 20:05:23 UTC
Looks like it was merged in https://github.com/xianyi/OpenBLAS/pull/2080
Comment 11 Piotr Kubaj freebsd_committer 2019-06-25 08:42:31 UTC
Created attachment 205323 [details]
patch

I got this patch updated to 0.3.6 and working on powerpc64. Patches are currently waiting for upstream acceptance.

It still needs pkg-plist to be updated.
Comment 12 Piotr Kubaj freebsd_committer 2019-06-25 09:02:22 UTC
https://github.com/xianyi/OpenBLAS/issues/1895
Comment 13 Piotr Kubaj freebsd_committer 2019-06-25 09:02:38 UTC
Sorry, I meant https://github.com/xianyi/OpenBLAS/pull/2169
Comment 14 Piotr Kubaj freebsd_committer 2019-06-25 16:23:52 UTC
Created attachment 205333 [details]
patch

Tested in Poudriere on 12.0-RELEASE/amd64 and CURRENT/powerpc64.

I optimize for POWER7 on powerpc64, because optimizing for PPC970 causes errors, and POWER7 is the last generation that is supported on big-endian systems (newer POWER CPU's are supported by openblas only in little-endian variant).

Please test.
Comment 15 Piotr Kubaj freebsd_committer 2019-06-25 16:29:43 UTC
Created attachment 205334 [details]
patch

Just noticed that files/patch-Makefile.system is not necessary anymore.
Comment 16 Piotr Kubaj freebsd_committer 2019-06-25 16:31:14 UTC
Created attachment 205335 [details]
patch

Also, ia64 is not supported anymore on FreeBSD.
Comment 17 Piotr Kubaj freebsd_committer 2019-06-26 08:57:28 UTC
Created attachment 205347 [details]
patch

Also update Mk/Uses/blaslapack.mk and rename library to libopenblas.so.0.
Comment 18 kunda 2019-07-23 01:46:07 UTC
Any progress?
Comment 19 Yuri Victorovich freebsd_committer 2019-07-23 01:47:59 UTC
Sorry, I wouldn't have time to look at this.