0782c0a445
- Update to version 1.15.2 Changes documented in release notes: https://github.com/numpy/numpy/blob/master/doc/release/1.15.2-notes.rst - Update to version 1.15.1 Changes documented in release notes: https://github.com/numpy/numpy/blob/master/doc/release/1.15.1-notes.rst - Update to version 1.15.0 Changes documented in release notes: https://github.com/numpy/numpy/blob/master/doc/release/1.15.0-notes.rst - Update to version 1.14.6 Changes documented in release notes: https://github.com/numpy/numpy/blob/master/doc/release/1.14.6-notes.rst - Rebase numpy-1.9.0-remove-__declspec.patch - Rebase riscv.patch OBS-URL: https://build.opensuse.org/request/show/638249 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=70
27 lines
960 B
Diff
27 lines
960 B
Diff
From: toddrme2178@gmail.com
|
|
Date: 2014-09-09 04:45:00 +0000
|
|
Subject: Remove windows-specific function
|
|
Upstream: openSUSE Fix
|
|
References:
|
|
http://lists.opensuse.org/opensuse-packaging/2014-09/msg00004.html
|
|
http://lists.opensuse.org/opensuse-packaging/2014-09/msg00005.html
|
|
|
|
__declspec(thread) is a windows-specific function that is causing
|
|
spurious compiler warnings. These warnings can be safely ignored,
|
|
but are being falsely flagged as serious problems that cause the
|
|
build to fail. Since this is windows-specific, it can be
|
|
safely removed.
|
|
|
|
|
|
--- a/numpy/core/setup_common.py
|
|
+++ b/numpy/core/setup_common.py
|
|
@@ -166,7 +166,7 @@
|
|
]
|
|
|
|
# variable attributes tested via "int %s a" % attribute
|
|
-OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread", "__declspec(thread)"]
|
|
+OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread"]
|
|
|
|
# Subset of OPTIONAL_STDFUNCS which may already have HAVE_* defined by Python.h
|
|
OPTIONAL_STDFUNCS_MAYBE = [
|