[csw-devel] SF.net SVN: gar:[22151] csw/mgar/pkg/lang-python/numpy/trunk
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Oct 7 08:51:08 CEST 2013
Revision: 22151
http://gar.svn.sourceforge.net/gar/?rev=22151&view=rev
Author: wahwah
Date: 2013-10-07 06:51:07 +0000 (Mon, 07 Oct 2013)
Log Message:
-----------
lang-python/numpy/trunk: mvec is a SPARC-only library
Modified Paths:
--------------
csw/mgar/pkg/lang-python/numpy/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/lang-python/numpy/trunk/files/0001-mvec-is-a-SPARC-only-library.patch
Modified: csw/mgar/pkg/lang-python/numpy/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/numpy/trunk/Makefile 2013-10-06 21:45:27 UTC (rev 22150)
+++ csw/mgar/pkg/lang-python/numpy/trunk/Makefile 2013-10-07 06:51:07 UTC (rev 22151)
@@ -18,6 +18,8 @@
SPKG_SOURCEURL = http://numpy.scipy.org/
DISTFILES = $(DISTNAME).tar.gz
+PATCHFILES += 0001-mvec-is-a-SPARC-only-library.patch
+
# the so version (and package names) for libsunperf differ depending
# on platform
SUNPERF_SO_sparc = 7
Added: csw/mgar/pkg/lang-python/numpy/trunk/files/0001-mvec-is-a-SPARC-only-library.patch
===================================================================
--- csw/mgar/pkg/lang-python/numpy/trunk/files/0001-mvec-is-a-SPARC-only-library.patch (rev 0)
+++ csw/mgar/pkg/lang-python/numpy/trunk/files/0001-mvec-is-a-SPARC-only-library.patch 2013-10-07 06:51:07 UTC (rev 22151)
@@ -0,0 +1,34 @@
+From c7eb64f6ee327a8cc9a5e79651b3fd10c9d45279 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Mon, 7 Oct 2013 08:49:16 +0200
+Subject: [PATCH] mvec is a SPARC-only library
+
+---
+ numpy/distutils/fcompiler/sun.py | 6 +++++-
+ numpy/version.py | 2 +-
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/numpy/distutils/fcompiler/sun.py b/numpy/distutils/fcompiler/sun.py
+index 85e2c33..4b6fc8e 100644
+--- a/numpy/distutils/fcompiler/sun.py
++++ b/numpy/distutils/fcompiler/sun.py
+@@ -1,3 +1,5 @@
++import distutils.util
++
+ from numpy.distutils.ccompiler import simple_version_match
+ from numpy.distutils.fcompiler import FCompiler
+
+@@ -38,7 +40,9 @@ class SunFCompiler(FCompiler):
+ return ['-xtarget=generic']
+ def get_libraries(self):
+ opt = []
+- opt.extend(['fsu','sunmath','mvec'])
++ opt.extend(['fsu','sunmath'])
++ if 'sun4u' in distutils.util.get_platform():
++ opt.extend(['mvec'])
+ return opt
+
+ if __name__ == '__main__':
+--
+1.7.10.3
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list