public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro (bicatali)" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/scikits_learn/files: scikits_learn-0.14.1-system-cblas.patch
Date: Thu,  8 Aug 2013 21:34:41 +0000 (UTC)	[thread overview]
Message-ID: <20130808213441.63F4620081@flycatcher.gentoo.org> (raw)

bicatali    13/08/08 21:34:41

  Added:                scikits_learn-0.14.1-system-cblas.patch
  Log:
  Version bump. Tentative to remove bundled joblib and atlas (which apparently uses only cblas functions)
  
  (Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

Revision  Changes    Path
1.1                  sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch?rev=1.1&content-type=text/plain

Index: scikits_learn-0.14.1-system-cblas.patch
===================================================================
--- sklearn/setup.py.orig	2013-08-08 13:54:08.310879167 -0700
+++ sklearn/setup.py	2013-08-08 13:52:59.808456423 -0700
@@ -68,14 +68,6 @@
         libraries=libraries,
     )
 
-    # some libs needs cblas, fortran-compiled BLAS will not be sufficient
-    blas_info = get_info('blas_opt', 0)
-    if (not blas_info) or (
-            ('NO_ATLAS_INFO', 1) in blas_info.get('define_macros', [])):
-        config.add_library('cblas',
-                           sources=[join('src', 'cblas', '*.c')])
-        warnings.warn(BlasNotFoundError.__doc__)
-
     # the following packages depend on cblas, so they have to be build
     # after the above.
     config.add_subpackage('linear_model')
--- sklearn/_build_utils.py.orig	2013-08-08 14:01:35.994589269 -0700
+++ sklearn/_build_utils.py	2013-08-08 12:19:41.875967870 -0700
@@ -23,7 +23,7 @@
         return False
 
     blas_info = get_info('blas_opt', 0)
-    if (not blas_info) or atlas_not_found(blas_info):
+    if (not blas_info):
         cblas_libs = ['cblas']
         blas_info.pop('libraries', None)
     else:





                 reply	other threads:[~2013-08-08 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130808213441.63F4620081@flycatcher.gentoo.org \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox