-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1892 from inclement/update_numpy_1_16_4
Updated numpy recipe to version 1.16.4
- Loading branch information
Showing
12 changed files
with
111 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...es/numpy/patches/prevent_libs_check.patch → ...umpy/patches/do_not_use_system_libs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
pythonforandroid/recipes/numpy/patches/fix_environment_detection.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
commit 9a09edac303c534a38c5d829d8537176f8a8dfb9 | ||
Author: Alexander Taylor <alexanderjohntaylor@gmail.com> | ||
Date: Fri Jun 28 22:50:45 2019 +0100 | ||
|
||
fix_environment_detection.patch | ||
|
||
diff --git a/numpy/core/include/numpy/npy_common.h b/numpy/core/include/numpy/npy_common.h | ||
index 64aaaac..e6293f9 100644 | ||
--- a/numpy/core/include/numpy/npy_common.h | ||
+++ b/numpy/core/include/numpy/npy_common.h | ||
@@ -164,12 +164,12 @@ extern long long __cdecl _ftelli64(FILE *); | ||
#endif | ||
#else | ||
#ifdef HAVE_FSEEKO | ||
- #define npy_fseek fseeko | ||
+ #define npy_fseek fseek | ||
#else | ||
#define npy_fseek fseek | ||
#endif | ||
#ifdef HAVE_FTELLO | ||
- #define npy_ftell ftello | ||
+ #define npy_ftell ftell | ||
#else | ||
#define npy_ftell ftell | ||
#endif | ||
@@ -321,13 +321,15 @@ typedef unsigned char npy_bool; | ||
#define NPY_TRUE 1 | ||
|
||
|
||
-#if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE | ||
- typedef double npy_longdouble; | ||
- #define NPY_LONGDOUBLE_FMT "g" | ||
-#else | ||
- typedef long double npy_longdouble; | ||
- #define NPY_LONGDOUBLE_FMT "Lg" | ||
-#endif | ||
+/* #if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE */ | ||
+/* typedef double npy_longdouble; */ | ||
+/* #define NPY_LONGDOUBLE_FMT "g" */ | ||
+/* #else */ | ||
+/* typedef long double npy_longdouble; */ | ||
+/* #define NPY_LONGDOUBLE_FMT "Lg" */ | ||
+/* #endif */ | ||
+typedef long double npy_longdouble; | ||
+#define NPY_LONGDOUBLE_FMT "Lg" | ||
|
||
#ifndef Py_USING_UNICODE | ||
#error Must use Python with unicode enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.