pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-scikit-learn math/py-scikit-learn: drop ineffe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fd778265f6f
branches:  trunk
changeset: 453529:1fd778265f6f
user:      thor <thor%pkgsrc.org@localhost>
date:      Mon May 31 07:03:31 2021 +0000

description:
math/py-scikit-learn: drop ineffective SKLEARN_NO_OPENMP

It is wrong to disable OpenMP and this setting does nothing anyway.
Maybe it did in the past. Now, the build tries to use OpenMP if
possible and this is the right thing to do.

Repeat: This change doesn't affect the build at all since that variable
is not checked (since some time?).

diffstat:

 math/py-scikit-learn/Makefile |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r d1b5fc60d477 -r 1fd778265f6f math/py-scikit-learn/Makefile
--- a/math/py-scikit-learn/Makefile     Sun May 30 23:46:40 2021 +0000
+++ b/math/py-scikit-learn/Makefile     Mon May 31 07:03:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/04/20 21:48:14 thor Exp $
+# $NetBSD: Makefile,v 1.15 2021/05/31 07:03:31 thor Exp $
 
 DISTNAME=      scikit-learn-0.22.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,9 +15,6 @@
 DEPENDS+=      ${PYPKGPREFIX}-scipy>=0.17.0:../../math/py-scipy
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
-# XXX: OpenMP is not portable
-MAKE_ENV+=     SKLEARN_NO_OPENMP=1
-
 USE_LANGUAGES= c c++ fortran
 
 PYTHON_VERSIONS_INCOMPATIBLE=  36 27   # py-scipy



Home | Main Index | Thread Index | Old Index