1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Gerald Pfeifer
879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Yuri Victorovich
3d8010e35a math/openblas: Use options FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 for non-openmp too
Previously I added these options only to the openmp build which isn't a default.
This change is requested by the upstream.
Ref. https://github.com/xianyi/OpenBLAS/issues/1882

Approved by:	portmgr (unbreak)
2018-11-26 17:28:01 +00:00
Yuri Victorovich
f8336ce968 math/openblas: Unbreak crashes in gfortran-emitted code due to thread safety issues
This patch is recommended by the upstream: https://github.com/xianyi/OpenBLAS/issues/1882#issuecomment-441472233

Approved by:	portmgr (unbreak)
2018-11-25 23:44:30 +00:00
Yuri Victorovich
faffd3628a math/openblas: Increase the limit for the number of threads to unbreak other ports
NUM_THREADS= sets the build-time limit on the number of threads that apps can use with OpenBlas.
This unbreaks at least science/erkale's tests, and possibly some other software.
The upstream acknowledges the problem, recommended this solution for the port,
and are working on the permanent solution: https://github.com/xianyi/OpenBLAS/issues/1882

Approved by:	portmgr blanket (unbreak)
2018-11-23 06:13:51 +00:00
Kurt Jaeger
efd257ab3e math/openblas: fix compile on newer Ryzen 2
- Added model IDs for Ryzen 2nd generation

PR:		231538
Submitted by:	Philip Homburg <pch-freebsd-bugs@u-1.phicoh.com>
Reviewed by:	rozhuk.im@gmail.com, jonc@chen.org.nz
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2018-11-17 03:14:21 +00:00
Mark Linimon
7be0be3c94 Mark various ports broken on powerpc64.
Approved by:	portmgr (tier-2 blanket)
2018-09-10 02:06:12 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Mark Linimon
c949a53eed Patch to fix build on armvX.
Tested for no-harm on amd64.

PR:		225693
Submitted by:	mikael.urankar
Approved by:	maintainer timeout (> 2 weeks)
2018-03-29 04:04:21 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Don Lewis
f74fc65c9a Upgrade OpenBLAS to 0.2.20:
* Fixed several thread race and locking bugs

 * Fixed default LAPACK optimization level

 * Updated LAPACK to 3.7.0

 * Power
   - Optimizations for Power9
   - Fixed several Power8 assembly bugs

 * ARM
   - New optimized Vulcan and ThunderX2T99 targets
   - Support for ARMV7 SOFT_FP ABI  (make ARM_SOFTFP_ABI=1)
   - Detect all cpu cores including offline ones
   - Fix compilation with CLANG

 * MIPS
   - Fixed several threading issues
   - Fix compilation with CLANG

 * x86_64
   - Detect Intel Bay Trail and Apollo Lake
   - Detect Intel Sky Lake and Kaby Lake
   - Detect Intel Knights Landing
   - Detect AMD A8, A10, A12 and Ryzen
   - Fix cmake builds for Haswell and related cpus
   - Fix building for Sandybridge with CLANG 3.9

Pet portlint (USES vs. USE)

PR:		221633
Submitted by:	truckman
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2017-08-25 19:58:51 +00:00
Dmitry Marakasov
755ecae7c0 - Add test target
- While here, switch to options helpers

PR:		220425
Submitted by:	yuri@rawbw.com
Approved by:	maintainer timeout (phd_kimberlite@yahoo.co.jp, 1 month)
2017-08-03 17:22:18 +00:00
Jan Beich
a52451abbf math/openblas: unblock on Tier2 architectures
- Limit DYNAMIC_ARCH to i386 and amd64
- Fix build on aarch64 [1]

PR:		218547
Submitted by:	andrew [1]
Approved by:	portmgr blanket [1], phd_kimberlite@yahoo.co.jp (maintainer)
2017-06-30 04:28:08 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Joseph Mingrone
d6a774a4d4 math/openblas: Fix build on 12-CURRENT armv6.
The build still fails on 11 armv6, however MFC of r313873 will hopefully
fix the build there as well.

While here also add LICENSE_FILE and fix portlint warnings.

PR:		217279
Submitted by:	mikael.urankar@gmail.com
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer), swills (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D9801
2017-02-25 18:19:50 +00:00
Antoine Brodin
4430b8f6c9 Fix DISTFILES to not create duplicate lines in distinfo 2017-01-02 09:06:09 +00:00
Antoine Brodin
582ac8fd5c Remove duplicate lines from distinfo 2017-01-02 08:06:12 +00:00
Cy Schubert
51b47d9105 Update 0.2.18 --> 0.2.19
PR:		215699
Submitted by:	cy
Approved by:	maintainer (phd_kimberlite@yahoo.co.jp)
2017-01-02 03:56:15 +00:00
Gerald Pfeifer
e4b7b9118a Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.

The first part covered  ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Baptiste Daroussin
d4f5c79992 Even if upstream thinks clang does not support openmp we will soon know how to
make it works :)
2016-09-22 15:15:21 +00:00
Cy Schubert
39a235d0aa Fix SEGFAULT during build on AMD Barcelona CPUs. This patch is
based on discussion at https://github.com/xianyi/OpenBLAS/issues/786.

PR:		209412
2016-06-09 02:14:50 +00:00
Kurt Jaeger
80502cd2ad math/openblas: fix poudriere builds: setting DYNAMIC_ARCH when BULK is defined
PR:		209190
Submitted by:	Joseph Mingrone <jrm@ftfl.ca>
Approved by:	<phd_kimberlite@yahoo.co.jp> (maintainer)
2016-05-02 05:28:03 +00:00
Florian Smeets
9782c85d2d Update to 0.2.18
PR:		208790
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer), dieterich@ogolem.org
Sponsored by:	Essen Linuxhotel Hackathon 2016
2016-04-24 08:09:27 +00:00
Baptiste Daroussin
34d4baa56c Create a proper library with a SONAME
PR:		208472
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)
MFH:		2016Q2
2016-04-04 20:46:22 +00:00
Raphael Kubo da Costa
66cb2cdb0b Update to 0.2.15.
0.2.15 was released in October 2015.
Release notes: http://www.openblas.net/Changelog.txt

This update introduces support for new CPU architectures, such as Intel's
Broadwell and Skylake. In practice, this means people using those architectures
can actually build the port now (OpenBLAS seems to do some CPU-detection that
cannot be easily turned off and refusing to build on unrecognized CPUs).

Port changes:
- Reorganize a few variables in Makefile.
- Refresh patches.

PR:		206886
Submitted by:	Adriaan de Groot <groot@kde.org> (first version),
		Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
MFH:		2016Q1
2016-02-18 16:35:48 +00:00
Bryan Drewery
aa6ad6e726 USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
2015-04-28 18:44:04 +00:00
Mathieu Arnold
dd5263ece4 Get rid of the GH_TAGNAME line, OpenBlas already has tags in its repository we can use.
Sponsored by:	Absolight
2015-04-26 12:01:23 +00:00
Mathieu Arnold
7751301c66 Stop using the Github Legacy download URL, switch to really using USE_GITHUB.
Approved by:	portmgr blanket for modernization.
Sponsored by:	Absolight
2015-04-26 11:56:34 +00:00
Dmitry Sivachenko
5df57a9841 Update to version 0.2.14
PR:		199124
Submitted by:	dieterich.joh@gmail.com
Reviewed by:	maintainer

Also remove deprecated GH_COMMIT.
2015-04-26 09:41:30 +00:00
Dmitry Sivachenko
8424eee299 Rollback rev. 383155: it was not reviewer by maintainer and new version
fails to build with option OPENMP enabled.
2015-04-07 19:11:00 +00:00
Bartek Rutkowski
a8937c1af8 math/openblas: update 0.2.13 -> 0.2.14
PR:		199124
Submitted by:	Johannes Dieterich <dieterich.joh@gmail.com>
2015-04-03 17:25:04 +00:00
Dmitry Sivachenko
31a5c3f115 Add AVX2 option;
Require openmp-compliant compiler if OPENMP option is selected.

Submitted by:	maintainer
2015-03-07 11:31:11 +00:00
Gerald Pfeifer
29e106c604 Replace using _GCC_VER which is essentially internal to Mk/bsd.gcc.mk
(and replaced usage of _GCC_RUNTIME) by LDFLAGS which is a cleaner and
more robust approach.

PR:		197385
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)
2015-02-23 00:05:39 +00:00
Thomas Zander
1a48f62bbe Add support for clang
PR:		197385
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)
2015-02-21 13:40:19 +00:00
Thierry Thomas
bc908db8d7 Minor update to 0.2.13, some select important updates from
http://www.openblas.net/Changelog.txt:

* Fix Fortran compiler detection on FreeBSD.
	  (#470, Thanks Mike Nolta)
* Fix a bug of sgemm kernel on Intel Sandy Bridge.
* Added CBLAS interface for ?omatcopy and ?imatcopy.
* Improved axpy and symv performance on AMD Bulldozer.
* Improved gemv performance on modern Intel and AMD CPUs.

PR:		ports/197231
Submitted by:	dieterich.joh (at) gmail.com
Approved by:	phd_kimberlite (at) yahoo.co.jp (maintainer)
2015-02-01 15:35:15 +00:00
Pawel Pekala
53529ec315 Update to version 0.2.11
PR:		ports/193309
Submitted by:	maintainer
2014-09-21 15:36:56 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Adam Weinberger
0f88ed614d Repair instances, almost all courtesy of bf ;-), of spaces
and/or tabs before the =. This made doing regular expressions
on the ports tree really difficult.

Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 20:55:27 +00:00
Kurt Jaeger
b6df0233ae math/openblas: 0.2.8 -> 0.2.9
- LICENSE to BSD3CLAUSE
- stripped the libs
- For changes see
  https://github.com/xianyi/OpenBLAS/blob/develop/Changelog.txt

PR:		191925
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)
2014-07-17 19:12:44 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Carlo Strub
442222a89b Support staging
PR:		ports/190442
Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)
2014-06-02 18:40:05 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Gerald Pfeifer
d2699e867e Replace USE_GCC=4.6+ by USE_GCC=yes.
Approved by:	portmgr (mat)
2014-03-03 23:30:56 +00:00
Gerald Pfeifer
90df749338 Replace the manual construction of references to the runtime path of
the version of GCC we are using by _GCC_RUNTIME.

Approved by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
2014-02-23 01:06:16 +00:00
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Baptiste Daroussin
313cb94889 Part 2 at removing now useless FETCH_ARGS redifition 2014-01-03 01:12:59 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00