Commit graph

115 commits

Author SHA1 Message Date
Piotr Kubaj
dcb1e86511 math/openblas: -lm is after all necessary
I'm not sure why it previously built for me, but now it doesn't anymore.
2024-08-13 11:40:48 +02:00
Piotr Kubaj
9fea2ebb5b math/openblas: -lm doesn't seem to be necessary on powerpc64le anymore 2024-07-16 03:05:05 +02:00
Piotr Kubaj
5a764ac25d math/openblas: fix build on powerpc64*
gemv.c:229:31: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in this function)
  229 |   if ( 1L * m * n < 115200L * GEMM_MULTITHREAD_THRESHOLD )
2024-06-23 11:25:37 +02:00
Artyom Davidov
4f7c0ccc21 math/openblas: update to 0.3.27
Changelog at <https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.27>.

PR:		276789
Reported by:	Artyom Davidov
Approved by:	Eijiro Shibusawa (maintainer)
Exp-run by:	antoine@
2024-06-21 19:49:23 +02:00
Piotr Kubaj
db83072812 math/openblas: fix build on powerpc64le
/usr/local/bin/ld: ../libopenblasp-r0.3.25.a(dnrm2_k_POWER8.o): undefined reference to symbol 'sqrt@@FBSD_1.0'
2024-01-16 15:35:23 +01:00
Po-Chuan Hsieh
391b9fd144
math/openblas: Fix PLIST when INTERFACE64 option is enabled
from Makefile.install:
165 #Generating openblas.pc
166 ifeq ($(INTERFACE64),1)
167         SUFFIX64=64
168 endif
169         PKGFILE="$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/$(LIBSONAMEBASE)$(SUFFIX64).pc"
...
178         @cat openblas.pc.in >> "$(PKGFILE)"

PR:		275802
Submitted by:	Sergey V. Koupreyenko <sergey.koupreyenko@gmail.com>
Approved by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
2023-12-26 00:11:03 +08:00
Eijiro Shibusawa
84ca7effd3 math/openblas: upgrade to 0.3.25
Releases notes at <https://github.com/OpenMathLib/OpenBLAS/releases>.

PR:		273219
Exp-run by:	antoine@
2023-12-12 20:03:50 +01:00
Po-Chuan Hsieh
497dbfcfd7
math/openblas: Fix WWW and GH_ACCOUNT
- Re-apply b159e5d830

Approved by:	portmgr (blanket)
2023-10-11 20:58:52 +08:00
Robert Clausecker
2c83bd52e5 math/openblas: Revert "update to 0.3.24"
On some amd64 CPUs, this change broke py-scipy during configure,
and octave at runtime.  In the end, octave kills the package
builders.

This reverts commit c45681ef50.

Approved by:	portmgr (antoine)
PR:		273219
MFH:		2023Q4
2023-10-10 13:18:06 -04:00
Robert Clausecker
632c6342c8 math/openblas: Revert "Fix WWW and GH_ACCOUNT"
This reverts commit b159e5d830 in
preparation of a revert of c45681ef50.

Approved by:	portmgr (antoine)
2023-10-10 13:17:25 -04:00
Po-Chuan Hsieh
b159e5d830
math/openblas: Fix WWW and GH_ACCOUNT
Approved by:	portmgr (blanket)
2023-10-08 19:56:42 +08:00
Eijiro Shibusawa
c45681ef50 math/openblas: update to 0.3.24
Changelog: https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.24

PR:		273219
2023-10-04 15:59:58 -04:00
Gerald Pfeifer
8d3e020ed0 *: Bump PORTREVISIONs for math/mpc update to 1.3.1 2023-04-23 09:09:58 +00:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
f53eb28489 math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Alessando Sagratini <ale_sagra@hotmail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Amarendra Godbole <amarendra.godbole@gmail.com>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andrew L. Neporada <andrew@chg.ru>
  *  Andrey <gugu@zoo.rambler.ru>
  *  Andrey Zakhvatov
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@plab.ku.dk>
  *  Anton Berezin <tobez@tobez.org>
  *  Anton Shterenlikht
  *  Anton Shterenlikht <mexas@bris.ac.uk>
  *  Bob Eager <bob@eager.cx>
  *  Charlie Kester <corky1951@comcast.net>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Cheng-Lung Sung <clsung@dragon2.net>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Christopher J. Ruwe
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Chuck Hein <geekdude@pacbell.net>
  *  Cyrille Szymanski <cnszym@gmail.com>
  *  Dan Rue <drue@therub.org>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  David Naylor <dbn@FreeBSD.org>
  *  David Naylor <naylor.b.david@gmail.com>
  *  Dereckson <dereckson@gmail.com>
  *  Devin Teske <dteske@FreeBSD.org>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Dmitry Sivachenko <mitya@yandex-team.ru>
  *  Don Croyle <croyle@gelemna.org>
  *  Douglas K. Rand (rand@meridian-enviro.com)
  *  Dylan Simon <dylan@dylex.net>
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Eijiro Shibusawa <ej-sib@ice.uec.ac.jp>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Eoin Lawless (eoin@maths.tcd.ie)
  *  Eric A. Griff <eagriff@global2000.net>
  *  Eric van Gyzen <vangyzen@stat.duke.edu>
  *  Ewgenij Gawrilow <gawrilow@math.tu-berlin.de>
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Foxfair Hu <foxfair@FreeBSD.org>
  *  Frederic Han <han@math.jussieu.fr>
  *  Gabor Kovesdan <gabor@FreeBSD.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
  *  Greg Larkin <glarkin@FreeBSD.org>
  *  Guangyuan Yang <ygy@FreeBSD.org>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  Heinz Tschabitscher
  *  Horia Racoviceanu <horia@racoviceanu.com>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Iblis Lin <iblis@hs.ntnu.edu.tw>
  *  Issei Suzuki <issei@jp.FreeBSD.ORG>
  *  Janni
  *  Jason Harris <jharris@widomaker.com>
  *  Javad Kouhi <javad.kouhi@gmail.com>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes M Dieterich <jmd@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Marino <marino@FreeBSD.org>
  *  Joseph Koshy <jkoshy@FreeBSD.org>
  *  Ju Pengfei <ju.pengfei@gmail.com>
  *  Jukka A. Ukkonen <jau@iki.fi>
  *  Kay Lehmann <kay_lehmann@web.de>
  *  Kevin Lo <kevlo@FreeBSD.org>
  *  Klaus T. Aehlig <aehlig@linta.de>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Kurt Jaeger <fbsd-ports@opsec.eu>
  *  Lars Engels <lme@FreeBSD.org>
  *  Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
  *  Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
  *  Li-Wen Hsu <lwhsu@FreeBSD.org>
  *  Li-Wen Hsu <lwhsu@lwhsu.org>
  *  M. L. Dodson, <bdodson@scms.utmb.edu>
  *  Maho Nakata <maho@FreeBSD.org>
  *  Mario S F Ferreira <lioux@FreeBSD.org>
  *  Mario S F Ferreira <lioux@linf.unb.br> et al.
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark R V Murray <markm@FreeBSD.org>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Matthew Seaman <matthew@FreeBSD.org>
  *  Maurice Castro <maurice@serc.rmit.edu.au>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Maxime Henrion <mux@FreeBSD.org>
  *  Michael Haro <mharo@FreeBSD.org>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael Neumann <mneumann@ntecs.de>
  *  Muhammad Moinur Rahmanh <5u623l20@gmail.com>
  *  NAKATA Maho <chat95@mbox.kyoto-inet.or.jp>
  *  NAKATA, Maho <maho@FreeBSD.org>
  *  Nakata Maho <maho@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  Olivier Duchateau
  *  Pedro F. Giffuni
  *  Pedro F. Giffuni <giffunip@asme.org>
  *  Pedro Giffuni
  *  Pedro Giffuni <giffunip@asme.org>
  *  Pedro Giffuni <pfg@FreeBSD.org>
  *  Peter Pentchev <roam@FreeBSD.org>
  *  Philip Paeps <philip@FreeBSD.org>
  *  Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
  *  Pietro Cerutti <gahr@FreeBSD.org>
  *  Piotr Rybicki <meritus@innervision.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Robert Jenssen
  *  Robin Schilham
  *  Rod Taylor <ports@rbt.ca>
  *  Roman Neuhauser <neuhauser@sigpipe.cz>
  *  Sander Vesik <sander@haldjas.folklore.ee>
  *  Scott Flatman <sf@dsinw.com>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Akifyev <asa@agava.com>
  *  Sergey Akifyev <asa@gascom.ru>
  *  Sergey Skvortsov <skv@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Shell Hung <shell@shellhung.org>
  *  Shin-ya MURAKAMI <murashin@gfd-dennou.org>
  *  Stas Timokhin <devel@stasyan.com>
  *  Stefan A. Deutscher (sad@mailaps.org)
  *  Stefan Esser <se@StefanEsser.FreeBSD.org>
  *  Stephen Montgomery-Smith <stephen@FreeBSD.edu>
  *  Stephen Montgomery-Smith <stephen@FreeBSD.org>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Stephen Montgomery-Smith <stephen@missouri.edu>
  *  Steve Wills <steve@mouf.net>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@f2o.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  Thierry Thomas (<thierry@pompo.net>)
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas Sandford <freebsduser@paradisegreen.co.uk>
  *  Timothy Bourke <timbob@bigpond.com>
  *  Tony Maher
  *  Tz-Huan Huang <tzhuan@csie.org>
  *  Vsevolod Stakhov <vsevolod@FreeBSD.org>
  *  Vsevolod Stakhov <vsevolod@highsecure.ru>
  *  Waitman Gobble <waitman@waitman.net>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Will Andrews <andrews@technologist.com>
  *  Yi-Hsuan Hsin <mhsin@mhsin.org>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yinghong.Liu <relaxbsd@gmail.com>
  *  Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
  *  Yukihiro Nakai <Nakai@technologist.com>
  *  Yuri Victorovich <yuri@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Yuri Victorovich <yuri@tsoft.com>
  *  Zhen REN <bg1tpt@gmail.com>
  *  amir.husaini@gmail.com
  *  arved
  *  asami
  *  b.f. <bf@FreeBSD.org>
  *  bart <lbartoletti@FreeBSD.org>
  *  bauerm
  *  bf <bf2006a@yahoo.com>
  *  bf <bf@FreeBSD.org>
  *  bf@FreeBSD.org
  *  bremner@unb.ca
  *  chinsan
  *  chuckr@FreeBSD.org
  *  dawe <daweonline@gmail.com>
  *  dbader@ece.unm.edu
  *  dd
  *  demon@FreeBSD.org
  *  dikshie
  *  eserte
  *  fenner
  *  gahr
  *  giffunip
  *  gmarco@giovannelli.it
  *  gurkan@phys.ethz.ch
  *  ijliao
  *  janek@gaja.ipan.lublin.pl
  *  jhs@berklix.com / asami (original)
  *  jmz
  *  js@jeannot.org
  *  keith@FreeBSD.org
  *  ljo
  *  mr
  *  nobu@rd.isac.co.jp
  *  pauls@utdallas.edu
  *  pusto@web.de
  *  reg@shale.csir.co.za
  *  rfarmer@predatorlabs.net
  *  stephen@FreeBSD.org
  *  thierry@pompo.net
  *  tobez
  *  will
  * # Created by Matthias Fechner <mfechner@FreeBSD.org>

With hat:	portmgr
2022-07-20 16:22:24 +02:00
Yasuhiro Kimura
422dc9c3e2 math/openblas: Update to 0.3.20
It fixes CPU detection error with Intel Alder Lake.

ChangeLog:	https://github.com/xianyi/OpenBLAS/blob/v0.3.20/Changelog.txt
PR:		262838
Approved by:	maintainer
2022-03-27 15:53:50 +09:00
Bernhard Froehlich
1d76fb4df1
math/openblas: Add CPE information
Approved by:    portmgr (blanket)
2021-12-21 12:30:02 +00:00
Oleg Sidorkin
94c6fb8e9e math/openblas: update to 0.3.18
PR:		259038
Approved by:	phd_kimberlite AT yahoo DOT co DOT jp (maintainer)
2021-10-12 09:50:58 -07:00
Piotr Kubaj
09d6ef8b0f math/openblas: fix build on amd64
Same issue as in https://github.com/xianyi/OpenBLAS/issues/3309.
While it builds on i386 and powerpc64, for some reason it fails on amd64.
2021-07-14 00:19:05 +00:00
Piotr Kubaj
ea1c1fe4ae math/openblas: update to 0.3.16
Changelog:	https://github.com/xianyi/OpenBLAS/releases/tag/v0.3.16
PR:		257136
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2021-07-13 09:26:52 +00:00
Thierry Thomas
c2488a6020 math/lapack: +math/blas et al., upgrade to 3.9.1
- Upgrade math/blas, math/cblas, math/lapack, math/lapacke and math/xlapack
  to 3.9.1;
  Latest release notes at <http://www.netlib.org/lapack/lapack-3.9.1.html>

- Chase this upgrade in biology/treekin;

- Add a test target;

- Remove a conflict with math/openblas (PR 244296);

- Fix the build with Gcc10 (PR 247485).

PR:		247542
Approved by:	expr-run by antoine@
2021-06-13 19:48:12 +02:00
Mikael Urankar
f0441d2baa math/openblas: Fix build on armv6/v7
OpenMP is not available on these arches:
  In file included from ../common.h:847:
  ../common_thread.h:43:10: fatal error: 'omp.h' file not found

Approved by:	portmgr (build fix blanket)
2021-06-03 18:51:32 +02:00
Mikael Urankar
ec82c98536 math/openblas: Fix build on aarch64
Yet another upstream patch to fix the previous broken patch.

PR:		255908
Approved by:	portmgr (build fix blanket)
2021-05-27 17:06:54 +02:00
Mikael Urankar
b51013bd73 math/openblas: Fix build on aarch64
Import upstream patch.

Approved by:	portmgr (build fix blanket)
2021-05-18 18:36:12 +02:00
Eijiro Shibusawa
16d0fe189c math/openblas: Update to 0.3.15
Changes: https://github.com/xianyi/OpenBLAS/blob/develop/Changelog.txt

PR:	255661
2021-05-06 08:51:03 -07:00
Alexey Dokuchaev
9d142bc1d2 Replace ${ECHO} with ${ECHO_CMD}, ECHO builtin is cleared with ``make -s''
PR:	253684
2021-04-17 21:50:00 +08:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Gleb Popov
b640f00733 math/openblas: Allow building in poudriere with DYNAMIC_ARCH=off.
The removed check was simply a safety belt. Improve option's description to underline that turning it off semantically equals to building with march=native.

PR:		245926
Approved by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
2021-03-22 16:00:58 +00:00
Piotr Kubaj
d0c899453d math/openblas: exclude OPENMP on powerpc64le
Like on other powerpc* platforms, OpenMP is mandatory and openblas can't be compiled without it.
2021-03-17 17:26:02 +00:00
Thierry Thomas
4c1e724aa1 Do not force GCC when OPENMP is selected.
PR:		254284
Submitted by:	/me
Approved by:	phd_kimberlite (maintainer)
2021-03-15 16:55:25 +00:00
Luca Pizzamiglio
1d8f69366d math/openblas: Update to 0.3.13
Changes: https://github.com/xianyi/OpenBLAS/blob/develop/Changelog.txt

PR:		251885
Submitted by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
2021-02-21 22:58:51 +00:00
Piotr Kubaj
60ded0c82b math/openblas: fix build on powerpc64le
Commit forgotten patch.
2021-01-01 21:21:27 +00:00
Piotr Kubaj
266d1cee01 math/openblas: fix build on powerpc64le
Use GCC to build, like on powerpc64.
Since LE supports DYNAMIC_ARCH, add it.
Correct check for 64-bit architectures.

Approved by:	tier 2 blanket
2021-01-01 15:01:28 +00:00
Piotr Kubaj
14691bf6d3 math/openblas: update to 0.3.12
Remove one patch that was committed to upstream.

PR:		251338
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2020-11-24 00:56:50 +00:00
Piotr Kubaj
e9f8ea17dd math/openblas: add missing library to pkg-plist
lib/libopenblas.so.0 was forgotten in my previous commit.
2020-09-06 18:28:35 +00:00
Piotr Kubaj
a2fe46eed4 math/openblas: update to 0.3.10, add POWER8 option
Changelog:

common:

    Improved thread locking behaviour in blas_server and parallel getrf
    Imported bugfix 394 from LAPACK (spurious reference to "XERBL"
    due to overlong lines)
    Imported bugfix 403 from LAPACK (compile option "recursive" required
    for correctness with Intel and PGI)
    Imported bugfix 408 from LAPACK (wrong scaling in ZHEEQUB)
    Imported bugfix 411 from LAPACK (infinite loop in LARGV/LARTG/LARTGP)
    Fixed mismatches between BUFFERSIZE and GEMM_UNROLL parameters that
    could lead to crashes at large matrix sizes
    Restored internal soname in dynamic libraries on FreeBSD and Dragonfly
    Added API (openblas_setaffinity) to set thread affinity
    programmatically on Linux
    Added initial infrastructure for half-precision floating point
    (bfloat16) support with a generic implementation of SHGEMM
    Added CMAKE build system support for building the cblas_Xgemm3m
    functions
    Fixed CMAKE support for building in a path with embedded spaces
    Fixed CMAKE (non)handling of NO_EXPRECISION and MAX_STACK_ALLOC
    Fixed GCC version detection in the Makefiles
    Allowed overriding the names of AR, AS and LD in Makefile builds

POWER:

    fixed big-endian POWER8 ELFv2 builds on FreeBSD
    Fixed GCC version checks and DYNAMIC_ARCH builds on POWER9
    Fixed CMAKE build support for POWER9
    fixed a potential race condition in the thread buffer allocation
    Worked around LAPACK test failures on PPC G4

MIPS:

    fixed a potential race condition in the thread buffer allocation
    Added support for MIPS 24K/24KE family based on P5600 kernels

MIPS64:

    fixed a potential race condition in the thread buffer allocation
    Added TARGET=GENERIC

ARMV7:

    fixed a race condition in the thread buffer allocation

ARMV8:

    Fixed a race condition in the thread buffer allocation
    Fixed zero initialisation in the assembly for SGEMM and DGEMM BETA
    Improved performance of the ThunderX2 DAXPY kernel
    Added an optimized SGEMM kernel for Cortex A53
    Fixed Makefile support for INTERFACE64 (8-byte integer)

x86_64:

    Fixed a syntax error in the CMAKE setup for SkylakeX
    Improved performance of STRSM on Haswell, SkylakeX and Ryzen
    Improved SGEMM performance on SGEMM for workloads with ldc a
    multiple of 1024
    Improved DGEMM performance on Skylake X
    Fixed unwanted AVX512-dependency of SGEMM in DYNAMIC_ARCH
    builds created on SkylakeX
    Removed data alignment requirement in the SSE2 copy kernels
    that could cause spurious crashes
    Added a workaround for an optimizer bug in AppleClang 11.0.3
    Fixed LAPACK-TEST failures with Intel Fortran
    Fixed compilation and LAPACK test results with recent Flang
    and AMD AOCC
    Fixed DYNAMIC_ARCH builds with CMAKE on OS X
    Fixed missing exports of cblas_i?amin, cblas_i?min, cblas_i?max,
    cblas_?sum, cblas_?gemm3m in the shared library on OS X
    Fixed reporting of cpu name in DYNAMIC_ARCH builds (would sometimes
    show the name of an older generation chip supported by the same kernels)

IBM Z:

    Improved performance of SGEMM/STRMM and DGEMM/DTRMM on Z14

PR:		249120
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2020-09-06 17:52:25 +00:00
Piotr Kubaj
6a4ef45fef math/openblas: disable OPENMP for powerpc
Same as on powerpc64, USE_THREAD=1 enables OpenMP, so OpenMP will be always enabled.
2020-06-04 14:29:04 +00:00
Piotr Kubaj
e61a6d80b0 math/openblas: fix build on powerpc
Merge upstream commit to fix build on powerpc.
Use GCC from ports to build it.
Since this is mostly about G3 and G4 machines that users have and OpenBLAS supports only G4 of those, target G4.
Due to some (still unknown) regression on head, this builds on 12.1, but fails tests on head.
2020-06-04 11:37:24 +00:00
Yuri Victorovich
df9f45a412 math/openblas: Fix a regression in 0.3.9 by backporting the pull request
The upstream agrees that this is a bug but they wouldn't make a release to fix it
https://github.com/xianyi/OpenBLAS/issues/2600

Approved by:	portmgr (unbreak)
2020-05-07 00:29:48 +00:00
Yuri Victorovich
29d4d693a4 math/openblas: Unbreak some users because some functions were broken with OPENMP=OFF
Change the default to OPENMP=ON

For example, erkale (science/erkale) was breaking:
OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.

Approved by:	portmgr (unbreak)
2020-05-06 21:02:24 +00:00
Yuri Victorovich
7d92fc516d math/openblas: Update 0.3.7 -> 0.3.9
Includes the patch from 244637.

PR:		246095 244637
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer),
2020-05-06 08:41:37 +00:00
Thierry Thomas
1649f8e10f Set a SONAME in libopenblas.so.
PR:		245320
Submitted by:	/me
Approved by:	phd_kimberlite (maintainer)
2020-04-04 09:03:31 +00:00
Piotr Kubaj
2c35691e5a math/openblas: actually add libopenblas library to the package on powerpc64 head
On powerpc64 head, libopenblas_ppc970p-r0.3.7.* weren't added to the package, even though the package itself built succesfully. This problem doesn't exist on 12.
Lack of libopenblas_ppc970p-r0.3.7.* made many packages fail.
Add DYNAMIC_ARCH option everywhere since it will cause the post-install target dependent on this option to run and include libopenblas_ppc970p-r0.3.7.* in the package.
This is only to get the necessary libs in the package, the option only works on ppc64le, which we don't support.

Bump PORTREVISION because of package change.
2020-02-04 18:27:37 +00:00
Steve Wills
af523b65d9 math/openblas: fix plist with DYNAMIC_ARCH off
This is further fallout from r523749 and r524642

While here, fix order of PORTREVISION. There is no PORTREVISION bump
because this a build fix.

PR:		231371
PR:		243739
Reported by:	many
2020-01-31 14:57:31 +00:00
Steve Wills
fb44dca45d Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2020-01-30 14:17:44 +00:00
Piotr Kubaj
016b985dc2 math/openblas: fix build on powerpc64 without POWER6
PPC970 build was broken and fixed in https://github.com/xianyi/OpenBLAS/pull/2309

Approved by: portmgr (build fix)
2020-01-22 12:28:49 +00:00
Piotr Kubaj
6f226739a3 math/openblas: change option to optimize for POWER8 to POWER6
Optimizing for POWER8 is broken on big-endian.
2020-01-22 09:21:48 +00:00
Steve Wills
033b9daecd math/openblas: Update to 0.3.7
While here, improve formatting and fix build of dependant ports.

PR:		231371
Submitted by:	yuri (initial version), pkubaj (ppc fixes)
Approved by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
2020-01-21 22:03:19 +00:00
Gleb Popov
6eeb9e9bc1 math/openblas: Fix build with DYNAMIC_ARCH=OFF.
PR:		238228
Submitted by:	Artyom Davidov <ard_1@mail.ru>
2019-10-31 13:21:45 +00:00