head 1.2; access; symbols pkgsrc-2020Q4:1.1.0.2 pkgsrc-2020Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2021.03.25.23.22.35; author thor; state dead; branches; next 1.1; commitid sfNc1BNbwi9fiKMC; 1.1 date 2020.11.05.16.31.45; author bacon; state Exp; branches; next ; commitid QbQki5HSY1E5yIuC; desc @@ 1.2 log @openblas: update to 0.3.10, fixing build with gcc 10 Fix openblas build issues, mainly by updating to 0.3.10. This pulls in these commits from WIP (newest first): commit 3c6284cba90280bc367cf4d1d8252ae4d6e92e76 Author: Jason Bacon Date: Thu Feb 25 11:56:13 2021 -0600 openblas: Update ONLY_FOR_PLATFORMS documentation commit 8071bf28f3ffc95af046ff3eaaac6983f4f70035 Author: Jason Bacon Date: Thu Feb 25 11:51:32 2021 -0600 openblas*: Successful build on NetBSD commit 056e3d5c972a4b286e8755dbee323a9951855165 Author: Dr. Thomas Orgis Date: Wed Feb 24 18:40:17 2021 +0100 openblas: flags from environment again to un-break PICy build The bug that prompted us to force the compiler flags in the make arguments is fixed. Now we got a different one: The logic that decides to add -fPIC where needed is overridden when doing this, resulting in relocation errors (strangely, not with every toolchain). So let's remove that again and take FFLAGS and friends from the environment again. commit 86af17db8526e629c2c02c6af1f1ce7db6f6ba6d Author: Dr. Thomas Orgis Date: Thu Nov 12 12:44:39 2020 +0100 openblas: version 0.3.10 This updated fixes the build with gcc 10 (segfault in cblat1 test). I did not go all the way to the current 0.3.12, as that would need some hacking of chosen compiler flags. 0.3.13 should be the next one. This commit also fixes the ARCH → ARCH_ sed to change all occurences on a line. This fulfills pkg/55999 and was approved by wiz during freeze. @ text @$NetBSD: patch-utest_Makefile,v 1.1 2020/11/05 16:31:45 bacon Exp $ Limit regression tests to working configs --- utest/Makefile.orig 2020-01-08 19:47:09.730906975 +0000 +++ utest/Makefile @@@@ -16,8 +16,12 @@@@ OBJS=utest_main.o test_amax.o test_rotmg ifneq ($(NO_LAPACK), 1) OBJS += test_potrs.o +ifneq ($(NO_LAPACKE), 1) +ifneq ($(NO_CBLAS), 1) OBJS += test_kernel_regress.o endif +endif +endif #this does not work with OpenMP nor with native Windows or Android threads # FIXME TBD if this works on OSX, SunOS, POWER and zarch @ 1.1 log @math/openblas: import openblas-0.3.7 OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS. This package builds the serial library. Needs patching and testing on platforms besides Linux @ text @d1 1 a1 1 $NetBSD$ @