The NetBSD Project

CVS log for pkgsrc/math/py-numpy/Attic/Makefile.make_env

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / math / py-numpy

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.5
Mon Mar 13 21:11:15 2023 UTC (22 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.4: +1 -1 lines
py-numpy: update to 1.24.2.

1.24.2

NumPy 1.24.2 is a maintenance release that fixes bugs and regressions
discovered after the 1.24.1 release. The Python versions supported by
this release are 3.8-3.11.

1.24.1

Bugfix release

1.24.0

NumPy 1.24.0 is now available. The highlights of the release are:

* New “dtype” and “casting” keywords for stacking functions.
* New F2PY features and fixes.
* Many new deprecations, check them out.
* Many expired deprecations,

The NumPy 1.24.0 release continues the ongoing work to improve the
handling and promotion of dtypes, increase execution speed, and
clarify the documentation. There are a large number of new and
expired deprecations due to changes in dtype promotion and cleanups.
It is the work of 177 contributors spread over 444 pull requests.
The supported Python versions are 3.8-3.11.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 15 04:41:53 2021 UTC (3 years, 7 months ago) by thor
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -2 lines
mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bits

This delivers 64 bit index BLAS libraries alongside 32 bit ones. This is often
called ILP64 in the BLAS world, as opposed to LP64 where integers are 32 bit
due to the Fortran default integer type, not to be confused with the basic
system ABI used by C. For really large vectors on modern machines, you want
an 'ILP64' BLAS and layers on top of it.

In preparation of better support for vendor BLAS libraries, I had to realize
that you better use the C interfaces supplied by them, not the netlib one
strapped on. A simple reason of practicability: The vendor blas libraries,
just like openblas, like to ship all symbols in one library, so you get them
whether you want it or not. Also implementations may skip Fortran and implement
the underlying functionality directly in C anyway, so one might skip a
layer of indirection. Future will tell if other layers will follow. We still
have the framework of individual layers from Netlib to combine with certain
implementations that miss them (Accelerate framework comes to mind, which
needs further work).

The framework of netlib reference packages for the separate libraries
is instructive and helps keeping things small when you not need all of them.
The installation location of the headers is now in a subdirectory to be able
to have 32 and 64 bit variants independently. The 32 bit ones are linked to
${PREFIX}/include to keep the old picture. We could be brave and remove
those, but there is some value in a build just trying -lcblas and
inclusion of <cblas.h> to be happy.

There is one blas.buildlink3.mk that is supposed to be used only once and
so avoids a combination of conflicting libraries (as the 64 bit index symbols
have the same names as the 32 bit ones).

Basic usage for getting LAPACK+BLAS is still the same as before. You get
CBLAS and LAPACKE by setting BLAS_C_INTERFACE=yes in the package. The 64 bit
indices are selected via BLAS_INDEX64=yes.

Due to the special nature of the Accelerate framework, a package has to
explicitly indicate support for it and it will also not appear on the
list of implementations by default. The reason is that it does provide
mainly CBLAS and CLAPACK (another version of C interface to LAPACK, f2c-based)
and BLAS/LAPACK with f2c/g77 calling conventions. A default build with
gfortran would not like that

This commit also fixes up math/py-numpy and math/py-numpy16 to follow the
new scheme, as that are the only packages directly affected by the change
in CBLAS providership.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 20 23:56:26 2021 UTC (3 years, 9 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
py-numpy: fix typos in a comment

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 20 21:06:58 2021 UTC (3 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
py-numpy: add RCS Id

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 20 20:53:48 2021 UTC (3 years, 9 months ago) by thor
Branches: MAIN
math/py-numpy: updated system_info patch to upstreamed version, use cblas

The patch to system_info.py got upstreamed in a modified form which is
now backported here. On updating to 1.21, it shall be dropped.

In the process of upstreaming the patch, I learned that numpy really
needs to use cblas for proper acceleration, so it does that now and
gets a PKGREVISION bump because of that.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>