-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated numpy recipe to version 1.16.4 #1892
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for keeping our CI green and thanks for tracking the issue 👏