8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eba92ab commit 97e9706Copy full SHA for 97e9706
pythonforandroid/recipes/numpy/__init__.py
@@ -1,5 +1,6 @@
1
2
from pythonforandroid.toolchain import CompiledComponentsPythonRecipe, warning
3
+from pythonforandroid.patching import is_arch
4
5
6
class NumpyRecipe(CompiledComponentsPythonRecipe):
@@ -21,6 +22,11 @@ def prebuild_arch(self, arch):
21
22
# AND: Fix this warning!
23
warning('Numpy is built assuming the archiver name is '
24
'arm-linux-androideabi-ar, which may not always be true!')
25
+ if arch.arch[:3] != 'arm':
26
+ error('Trying to build with unsupported arch - the numpy patches need '
27
+ 'to be fixed to use the right archiver.')
28
+ exit(1)
29
+
30
31
32
recipe = NumpyRecipe()
0 commit comments