Skip to contentSkip to conversation

python-numpy: bump to version 1.15.1

PATCH New Joseph Kogut 2 participants 4 messages Sep 6, 2018 – Sep 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-numpy: bump to version 1.15.1

---
Patch 0002-Add-support-of-ARC.patch was merged [1] upstream.

[1] https://github.com/numpy/numpy/commit/8edd610ffa3499eea3580f98f296ec80578fba73

 .../0002-Add-support-of-ARC.patch             | 68 -------------------
 package/python-numpy/python-numpy.hash        |  4 +-
 package/python-numpy/python-numpy.mk          |  2 +-
 3 files changed, 3 insertions(+), 71 deletions(-)
 delete mode 100644 package/python-numpy/0002-Add-support-of-ARC.patch
package/python-numpy/0002-Add-support-of-ARC.patch deleted +0 -68
deleted file mode 100644
index c022487c7f..0000000000
@@ -1,68 +0,0 @@
-From 9a225e7d4fb1de5c99c6b5b17cae2fc4c2d1c59a Mon Sep 17 00:00:00 2001
-From: Alexey Brodkin <[email protected]>
-Date: Fri, 15 Sep 2017 11:59:14 +0300
-Subject: [PATCH] Add support of ARC
-
-Synopsys DesignWare ARC Processors are a family of 32-bit CPUs
-which in some configurations may run Linux kernel and full stack
-of applications on top of it. Among other things is Python.
-
-With that change we allow building and usage of Numpy on ARC.
-
-Signed-off-by: Alexey Brodkin <[email protected]>
----
- numpy/core/include/numpy/npy_cpu.h    | 6 ++++++
- numpy/core/include/numpy/npy_endian.h | 6 ++++--
- 2 files changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h
-index 60abae4e0b0e..84653ea183ce 100644
---- a/numpy/core/include/numpy/npy_cpu.h
-+++ b/numpy/core/include/numpy/npy_cpu.h
-@@ -15,6 +15,8 @@
-  *              NPY_CPU_ARMEB
-  *              NPY_CPU_SH_LE
-  *              NPY_CPU_SH_BE
-+ *              NPY_CPU_ARCEL
-+ *              NPY_CPU_ARCEB
-  */
- #ifndef _NPY_CPUARCH_H_
- #define _NPY_CPUARCH_H_
-@@ -76,6 +78,10 @@
-     #define NPY_CPU_AARCH64
- #elif defined(__mc68000__)
-     #define NPY_CPU_M68K
-+#elif defined(__arc__) && defined(__LITTLE_ENDIAN__)
-+    #define NPY_CPU_ARCEL
-+#elif defined(__arc__) && defined(__BIG_ENDIAN__)
-+    #define NPY_CPU_ARCEB
- #else
-     #error Unknown CPU, please report this to numpy maintainers with \
-     information about your platform (OS, CPU and compiler)
-diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h
-index e34b1d97e655..1a42121db92e 100644
---- a/numpy/core/include/numpy/npy_endian.h
-+++ b/numpy/core/include/numpy/npy_endian.h
-@@ -45,7 +45,8 @@
-             || defined(NPY_CPU_AARCH64) \
-             || defined(NPY_CPU_SH_LE)   \
-             || defined(NPY_CPU_MIPSEL)  \
--            || defined(NPY_CPU_PPC64LE)
-+            || defined(NPY_CPU_PPC64LE) \
-+            || defined(NPY_CPU_ARCEL)
-         #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
-     #elif defined(NPY_CPU_PPC)          \
-             || defined(NPY_CPU_SPARC)   \
-@@ -56,7 +57,8 @@
-             || defined(NPY_CPU_SH_BE)   \
-             || defined(NPY_CPU_MIPSEB)  \
-             || defined(NPY_CPU_OR1K)    \
--            || defined(NPY_CPU_M68K)
-+            || defined(NPY_CPU_M68K)    \
-+            || defined(NPY_CPU_ARCEB)
-         #define NPY_BYTE_ORDER NPY_BIG_ENDIAN
-     #else
-         #error Unknown CPU: can not set endianness
--- 
-2.7.5
-
package/python-numpy/python-numpy.hash +2 -2
index 854f202297..055eb29f6f 100644
@@ -1,4 +1,4 @@
-# Copied from https://github.com/numpy/numpy/releases/tag/v1.13.3
-sha256	4c6b4eef790528bebb7ec9590d74cc193868940fe68e4109a91c196df72d8094	numpy-1.13.3.tar.gz
+# Copied from https://github.com/numpy/numpy/releases/tag/v1.15.1
+sha256	3c1ccce5d935ef8df16ae0595b459ef08a5cdb05aee195ebc04b9d89a72be7fa	numpy-1.15.1.tar.gz
 # License files, locally calculated
 sha256	94eebc7c8f86a287c1e9146ed52ebcde88183806d848d8c66e0e52d1aebf3b13	LICENSE.txt
package/python-numpy/python-numpy.mk +1 -1
index d0d38371a3..bd5fe7e6a9 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_NUMPY_VERSION = 1.13.3
+PYTHON_NUMPY_VERSION = 1.15.1
 PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz
 PYTHON_NUMPY_SITE = https://github.com/numpy/numpy/releases/download/v$(PYTHON_NUMPY_VERSION)
 PYTHON_NUMPY_LICENSE = BSD-3-Clause
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 python-numpy: bump to version 1.15.1

Hello,

Quoted 1 line · Joseph Kogut

Is this update also fixing the build with Python 3.7.0, i.e fixing:

http://autobuild.buildroot.net/results/d59/d5929c1c48a65575019c39f9ee0ed84a9ef621c3/build-end.log

Quoted 4 lines

---
Patch 0002-Add-support-of-ARC.patch was merged [1] upstream.

[1] https://github.com/numpy/numpy/commit/8edd610ffa3499eea3580f98f296ec80578fba73

This sort of note should be inside the commit log, i.e not after the "---" separator.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 python-numpy: bump to version 1.15.1

In reply to Joseph Kogut

Hello,

Quoted 5 lines · Joseph Kogut

---
Patch 0002-Add-support-of-ARC.patch was merged [1] upstream.

[1] https://github.com/numpy/numpy/commit/8edd610ffa3499eea3580f98f296ec80578fba73

Applied to master, thanks. Since it does fix the build failure with Python 3.7.0, I amended the commit log with this information, and a reference to the autobuilder failure.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 python-numpy: bump to version 1.15.1

Hi,

Quoted 14 lines · Thomas Petazzoni

Hello,

Quoted 5 lines · Joseph Kogut

---
Patch 0002-Add-support-of-ARC.patch was merged [1] upstream.

[1]

https://github.com/numpy/numpy/commit/8edd610ffa3499eea3580f98f296ec80578fba73

Applied to master, thanks. Since it does fix the build failure with Python 3.7.0, I amended the commit log with this information, and a reference to the autobuilder failure.

Quoted 7 lines

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com

I tried testing out this build failure yesterday, but I ran into an unrelated glibc issue and wasn't able to finish.

Thanks,
Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180908/18091784/attachment.html>