Page MenuHomeFreeBSD

science/mpb: Update to 1.11.1
ClosedPublic

Authored by rhurlin on Oct 31 2020, 9:50 AM.
Tags
None
Referenced Files
F106232441: D27031.diff
Fri, Dec 27, 3:10 PM
Unknown Object (File)
Thu, Dec 12, 11:53 PM
Unknown Object (File)
Tue, Dec 3, 7:27 PM
Unknown Object (File)
Nov 21 2024, 1:54 PM
Unknown Object (File)
Nov 11 2024, 10:17 AM
Unknown Object (File)
Nov 8 2024, 9:44 AM
Unknown Object (File)
Oct 22 2024, 11:04 PM
Unknown Object (File)
Oct 21 2024, 9:24 AM
Subscribers

Details

Summary

The update from version 1.5 to 1.11.1 contains several bug fixes, new features and enhancements[1].

[1] https://github.com/NanoComp/mpb/blob/master/NEWS.md

What the ports update will do:

  • Update from version 1.5 to 1.11.1
  • Change MASTER_SITES to Github release
  • Remove MAKE_JOBS_UNSAFE
  • Change dependency math/fftw to math/fftw3
  • Change dependency math/blas to math/openblas
  • Add devel/boehm-gc-threaded to LIB_DEPENDS
  • Add USES=readline
  • Use GCC compiler because of Fortran code
  • Reorder Makefile
  • Add option for OpenMP
  • Remove post-patch target
  • Add post-install target to install examples
  • Change URL in pkg-descr
  • Update pkg-plist
IMPORTANT: This update depends on an update of science/libctl >= 4.0, which is waiting in [2].

I will take care that both ports are committed directly after each other.

[2] https://reviews.freebsd.org/D26992

Tested on Poudriere (amd, i386) together with [2]. 'portlint -AC' is fine.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

science/mpb/Makefile
43 ↗(On Diff #79005)

Moin moin

Try

ATLAS_LIB_DEPENDS=..
ATLAS_LIB_DEPENDS_OFF=...

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html#options-dependencies

Similar for the configure args.

science/mpb/Makefile
47 ↗(On Diff #79005)

You probably can use Mk/Uses/blaslapack.mk for this.

rhurlin marked 2 inline comments as done.

Modernize ATLAS options and waive lapack dependency.

science/mpb/Makefile
43 ↗(On Diff #79005)

Thanks for the hint. With this, the Makefile is now easier and clearer :)

47 ↗(On Diff #79005)

We have to use math/openblas here, because the configure script complains about sgemm_in not found in math/blas:

checking for sgemm_ in libblas.so... no
checking if sgemm_ is being linked in already... no
checking for sgemm_ in -lopenblas... yes

Therefore I force USES=blaslapack:openblas, and openblas includes the needed lapack functionality (which I had overseen befoe).

Very nice, that makes this port look a lot better :)

This revision is now accepted and ready to land.Oct 31 2020, 3:27 PM
This revision was automatically updated to reflect the committed changes.