pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-scikit-learn



Module Name:    pkgsrc
Committed By:   thor
Date:           Mon May 31 07:03:31 UTC 2021

Modified Files:
        pkgsrc/math/py-scikit-learn: Makefile

Log Message:
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?).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/math/py-scikit-learn/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-scikit-learn/Makefile
diff -u pkgsrc/math/py-scikit-learn/Makefile:1.14 pkgsrc/math/py-scikit-learn/Makefile:1.15
--- pkgsrc/math/py-scikit-learn/Makefile:1.14   Tue Apr 20 21:48:14 2021
+++ pkgsrc/math/py-scikit-learn/Makefile        Mon May 31 07:03:31 2021
@@ -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}-joblib>=0.11:..
 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