Closed jacobhamilton12 closed 1 year ago
export MATHLIB="m"
first, see https://github.com/termux/termux-packages/issues/10808
@Grimler91 I've tried that. It gives the same error
I already have numpy installed btw. It looks like it isn't using the one I have when I install the openai package
Have you tried manually installing numpy == 1.23.2
before trying to install openai?
I guess one of openai's dependencies require 1.23.2, openai doesn't seem to have a version requirement though
It wont let me install numpy anymore even with that math prefix
error: subprocess-exited-with-error × Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [1420 lines of output] setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11. warnings.warn( Running from numpy source directory. setup.py:86: DeprecationWarning: numpy.distutils
is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils
itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use setuptools < 60.0
for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html import numpy.distutils.command.sdist Processing numpy/random/_bounded_integers.pxd.i
Share the full output, and please put it between ``` so that it is readable
sure so I can install this version just fine with the math prefix. But it doesn't help the openai install
$ pip freeze
numpy==1.23.5
I can uninstall it
pip uninstall numpy Found existing installation: numpy 1.23.5 Uninstalling numpy-1.23.5: Would remove: /data/data/com.termux/files/usr/bin/f2py /data/data/com.termux/files/usr/bin/f2py3 /data/data/com.termux/files/usr/bin/f2py3.11 /data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy-1.23.5.dist-info/* /data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/* Proceed (Y/n)? Y Successfully uninstalled numpy-1.23.5
Then install the other version
MATHLIB="m" pip3 install numpy==1.23.2
Collecting numpy==1.23.2 Using cached numpy-1.23.2.tar.gz (10.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: numpy Building wheel for numpy (pyproject.toml) ... \
The error output is too big for the terminal
inux-aarch64-3.11/numpy/matrixlib
creating build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_defmatrix.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_interaction.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_masked_matrix.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_matrix_linalg.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_multiarray.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_numeric.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_regression.py -> build/lib.linux-aarch64-3.11/numpy/matrixlib/tests
creating build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.linux-aarch64-3.11/numpy/polynomial
creating build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_chebyshev.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_classes.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite_e.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_laguerre.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_legendre.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polynomial.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polyutils.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
copying numpy/polynomial/tests/test_printing.py -> build/lib.linux-aarch64-3.11/numpy/polynomial/tests
creating build/lib.linux-aarch64-3.11/numpy/random
copying numpy/random/__init__.py -> build/lib.linux-aarch64-3.11/numpy/random
copying numpy/random/_pickle.py -> build/lib.linux-aarch64-3.11/numpy/random
copying numpy/random/setup.py -> build/lib.linux-aarch64-3.11/numpy/random
creating build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_direct.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_extending.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937_regressions.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_random.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_randomstate.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_randomstate_regression.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_regression.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_seed_sequence.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
copying numpy/random/tests/test_smoke.py -> build/lib.linux-aarch64-3.11/numpy/random/tests
creating build/lib.linux-aarch64-3.11/numpy/testing
copying numpy/testing/__init__.py -> build/lib.linux-aarch64-3.11/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.linux-aarch64-3.11/numpy/testing
copying numpy/testing/setup.py -> build/lib.linux-aarch64-3.11/numpy/testing
copying numpy/testing/utils.py -> build/lib.linux-aarch64-3.11/numpy/testing
creating build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/__init__.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/decorators.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/extbuild.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/noseclasses.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/nosetester.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/parameterized.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
copying numpy/testing/_private/utils.py -> build/lib.linux-aarch64-3.11/numpy/testing/_private
creating build/lib.linux-aarch64-3.11/numpy/testing/tests
copying numpy/testing/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/testing/tests
copying numpy/testing/tests/test_doctesting.py -> build/lib.linux-aarch64-3.11/numpy/testing/tests
copying numpy/testing/tests/test_utils.py -> build/lib.linux-aarch64-3.11/numpy/testing/tests
creating build/lib.linux-aarch64-3.11/numpy/typing
copying numpy/typing/__init__.py -> build/lib.linux-aarch64-3.11/numpy/typing
copying numpy/typing/mypy_plugin.py -> build/lib.linux-aarch64-3.11/numpy/typing
copying numpy/typing/setup.py -> build/lib.linux-aarch64-3.11/numpy/typing
creating build/lib.linux-aarch64-3.11/numpy/typing/tests
copying numpy/typing/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/typing/tests
copying numpy/typing/tests/test_generic_alias.py -> build/lib.linux-aarch64-3.11/numpy/typing/tests
copying numpy/typing/tests/test_isfile.py -> build/lib.linux-aarch64-3.11/numpy/typing/tests
copying numpy/typing/tests/test_runtime.py -> build/lib.linux-aarch64-3.11/numpy/typing/tests
copying numpy/typing/tests/test_typing.py -> build/lib.linux-aarch64-3.11/numpy/typing/tests
creating build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/__init__.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_add_docstring.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_array_like.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_char_codes.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_dtype_like.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_extended_precision.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_generic_alias.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_nbit.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_nested_sequence.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_scalars.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/_shape.py -> build/lib.linux-aarch64-3.11/numpy/_typing
copying numpy/_typing/setup.py -> build/lib.linux-aarch64-3.11/numpy/_typing
creating build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/__init__.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test__all__.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_ctypeslib.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_matlib.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_numpy_version.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_public_api.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_reloading.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_scripts.py -> build/lib.linux-aarch64-3.11/numpy/tests
copying numpy/tests/test_warnings.py -> build/lib.linux-aarch64-3.11/numpy/tests
creating build/lib.linux-aarch64-3.11/numpy/_pyinstaller
copying numpy/_pyinstaller/__init__.py -> build/lib.linux-aarch64-3.11/numpy/_pyinstaller
copying numpy/_pyinstaller/hook-numpy.py -> build/lib.linux-aarch64-3.11/numpy/_pyinstaller
copying numpy/_pyinstaller/pyinstaller-smoke.py -> build/lib.linux-aarch64-3.11/numpy/_pyinstaller
copying numpy/_pyinstaller/test_pyinstaller.py -> build/lib.linux-aarch64-3.11/numpy/_pyinstaller
UPDATING build/lib.linux-aarch64-3.11/numpy/_version.py
set build/lib.linux-aarch64-3.11/numpy/_version.py to '1.23.2'
running build_clib
INFO: customize UnixCCompiler
INFO: customize UnixCCompiler using new_build_clib
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-march=native)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy/distutils
creating /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy/distutils/checks
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=native'
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-O3)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-O3'
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-Werror=switch)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror=switch'
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-Werror)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror'
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c /data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy/distutils/checks/test_flags.c -o /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy/distutils/checks/test_flags.o -MMD -MF /data/data/com.termux/files/usr/tmp/tmp4bymbw10/data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output ->
error: overriding currently unsupported use of floating point exceptions on this target [-Werror,-Wunsupported-floating-point-opt]
1 error generated.
WARN: CCompilerOpt.cc_test_flags[1077] : testing failed
INFO: CCompilerOpt.__init__[1782] : check requested baseline
INFO: CCompilerOpt.feature_test[1547] : testing feature 'NEON_VFPV4' with flags ()
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror=switch'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'NEON_FP16' with flags ()
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror=switch'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'NEON' with flags ()
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror=switch'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'ASIMD' with flags ()
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-Werror=switch'
INFO: CCompilerOpt.__init__[1791] : check requested dispatch-able features
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-march=armv8.2-a+fp16)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+fp16'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'ASIMDHP' with flags (-march=armv8.2-a+fp16)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+fp16 -Werror=switch'
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-march=armv8.2-a+dotprod)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+dotprod'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'ASIMDDP' with flags (-march=armv8.2-a+dotprod)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+dotprod -Werror=switch'
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (-march=armv8.2-a+fp16fml)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+fp16fml'
INFO: CCompilerOpt.feature_test[1547] : testing feature 'ASIMDFHM' with flags (-march=armv8.2-a+fp16+fp16fml)
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
INFO: compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
extra options: '-march=armv8.2-a+fp16+fp16fml -Werror=switch'
INFO: CCompilerOpt.__init__[1803] : skip features (ASIMD NEON_VFPV4 NEON_FP16 NEON) since its part of baseline
INFO: CCompilerOpt.__init__[1807] : initialize targets groups
INFO: CCompilerOpt.__init__[1809] : parse target group simd_test
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (XOP VXE2 SSE42 VSX4 FMA4 VSX2 VSX3 VX VSX (AVX2 FMA3) AVX512_SKX SSE2 VXE AVX512F) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (ASIMD)
INFO: CCompilerOpt.generate_dispatch_header[2353] : generate CPU dispatch header: (build/src.linux-aarch64-3.11/numpy/distutils/include/npy_cpu_dispatch_config.h)
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build/src.linux-aarch64-3.11/numpy/distutils/include does not exist, creating it
INFO: building 'npymath' library
INFO: compiling C sources
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
creating build/temp.linux-aarch64-3.11
creating build/temp.linux-aarch64-3.11/numpy
creating build/temp.linux-aarch64-3.11/numpy/core
creating build/temp.linux-aarch64-3.11/numpy/core/src
creating build/temp.linux-aarch64-3.11/numpy/core/src/npymath
creating build/temp.linux-aarch64-3.11/build
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/npymath
INFO: compile options: '-Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
INFO: aarch64-linux-android-clang: numpy/core/src/npymath/npy_math.c
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/npymath/ieee754.c
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/npymath/npy_math_complex.c
INFO: aarch64-linux-android-clang: numpy/core/src/npymath/halffloat.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
numpy/core/src/npymath/npy_math_complex.c.src:432:17: warning: call to undeclared library function 'cpowf' with type '_Complex float (_Complex float, _Complex float)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cpowf(xcast.c99_z, ycast.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:432:17: note: include the header <complex.h> or explicitly provide a declaration for 'cpowf'
numpy/core/src/npymath/npy_math_complex.c.src:432:17: warning: call to undeclared library function 'cpow' with type '_Complex double (_Complex double, _Complex double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cpow(xcast.c99_z, ycast.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:432:17: note: include the header <complex.h> or explicitly provide a declaration for 'cpow'
numpy/core/src/npymath/npy_math_complex.c.src:432:17: warning: call to undeclared library function 'cpowl' with type '_Complex long double (_Complex long double, _Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cpowl(xcast.c99_z, ycast.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:432:17: note: include the header <complex.h> or explicitly provide a declaration for 'cpowl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'clogf' with type '_Complex float (_Complex float)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = clogf(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'clogf'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'clog' with type '_Complex double (_Complex double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = clog(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'clog'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'cexpl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cexpl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'cexpl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'clogl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = clogl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'clogl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'ccosl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = ccosl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'ccosl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'csinl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = csinl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'csinl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'ctanl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = ctanl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'ctanl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'ccoshl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = ccoshl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'ccoshl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'csinhl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = csinhl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'csinhl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'ctanhl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = ctanhl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'ctanhl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'cacosl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cacosl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'cacosl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'casinl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = casinl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'casinl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'catanl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = catanl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'catanl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'cacoshl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = cacoshl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'cacoshl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'casinhl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = casinhl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'casinhl'
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: warning: call to undeclared library function 'catanhl' with type '_Complex long double (_Complex long double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret.c99_z = catanhl(z1.c99_z);
^
numpy/core/src/npymath/npy_math_complex.c.src:1767:17: note: include the header <complex.h> or explicitly provide a declaration for 'catanhl'
1 warning generated.
20 warnings generated.
1 warning generated.
1 warning generated.
INFO: llvm-ar: adding 4 object files to build/temp.linux-aarch64-3.11/libnpymath.a
INFO: building 'npyrandom' library
INFO: compiling C sources
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
creating build/temp.linux-aarch64-3.11/numpy/random
creating build/temp.linux-aarch64-3.11/numpy/random/src
creating build/temp.linux-aarch64-3.11/numpy/random/src/distributions
INFO: compile options: '-Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
INFO: aarch64-linux-android-clang: numpy/random/src/distributions/distributions.c
INFO: aarch64-linux-android-clang: numpy/random/src/distributions/logfactorial.c
INFO: aarch64-linux-android-clang: numpy/random/src/distributions/random_mvhg_count.c
INFO: aarch64-linux-android-clang: numpy/random/src/distributions/random_mvhg_marginals.c
INFO: aarch64-linux-android-clang: numpy/random/src/distributions/random_hypergeometric.c
warning: warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated.
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated. INFO: llvm-ar: adding 5 object files to build/temp.linux-aarch64-3.11/libnpyrandom.a running build_ext INFO: customize UnixCCompiler INFO: customize UnixCCompiler using new_build_ext INFO: CCompilerOpt.__init__[834] : hit the memory cache INFO: CCompilerOpt.generate_dispatch_header[2353] : generate CPU dispatch header: (build/src.linux-aarch64-3.11/numpy/distutils/include/npy_cpu_dispatch_config.h) INFO: customize UnixCCompiler WARN: #### ['aarch64-linux-android-clang', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-fstack-protector-strong', '-O3', '-fstack-protector-strong', '-O3'] ####### INFO: customize UnixCCompiler using new_build_ext INFO: building 'numpy.core._multiarray_tests' extension INFO: compiling C sources INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/multiarray creating build/temp.linux-aarch64-3.11/numpy/core/src/common
INFO: compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/_multiarray_tests.c
INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_argparse.c
INFO: aarch64-linux-android-clang: numpy/core/src/common/mem_overlap.c INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_hashtable.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. 1 warning generated. 1 warning generated.
1 warning generated.
INFO: aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25b-api-24-v2/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25b-api-24-v2/sysroot/usr/lib build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/multiarray/_multiarray_tests.o build/temp.linux-aarch64-3.11/numpy/core/src/common/mem_overlap.o build/temp.linux-aarch64-3.11/numpy/core/src/common/npy_argparse.o build/temp.linux-aarch64-3.11/numpy/core/src/common/npy_hashtable.o -L/data/data/com.termux/files/usr/lib -Lbuild/temp.linux-aarch64-3.11 -lnpymath -lpython3.11 -o build/lib.linux-aarch64-3.11/numpy/core/_multiarray_tests.cpython-311.so INFO: building 'numpy.core._multiarray_umath' extension
INFO: compiling C++ dispatch-able sources
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> numpy/core/src/npysort/x86-qsort.dispatch.cpp
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX512_SKX) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'KEEP_BASELINE' is ON
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/npysort/x86-qsort.dispatch.h INFO: compiling C dispatch-able sources
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/multiarray/argfunc.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX2 XOP SSE42 VSX2 AVX512_SKX SSE2) not part of baseline or dispatch-able features INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (ASIMD)
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/multiarray/argfunc.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_unary_fp.dispatch.c INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (SSE41 SSE2 VSX2) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (ASIMD)
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_unary_fp.dispatch.h INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithm_fp.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX2 SSE2 AVX512F) not part of baseline or dispatch-able features INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithm_fp.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithmetic.dispatch.c INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX2 SSE41 VSX4 VSX2 AVX512_SKX SSE2 AVX512F) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (NEON)
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithmetic.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_minmax.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX2 AVX512_SKX SSE2 VSX2) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (ASIMD) INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_minmax.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_trigonometric.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (VSX4 VSX2 VSX3 (AVX2 FMA3) AVX512F) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (NEON_VFPV4)
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_trigonometric.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_umath_fp.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (AVX512_SKX) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_umath_fp.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_exponent_log.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets ((AVX2 FMA3) AVX512_SKX AVX512F) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_exponent_log.dispatch.h INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_hyperbolic.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets ((AVX2 FMA3) AVX512_SKX VSX2 VSX4) not part of baseline or dispatch-able features INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (NEON_VFPV4) INFO: CCompilerOpt._parse_target_tokens[2044] : policy 'MAXOPT' is ON INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_hyperbolic.dispatch.h
INFO: CCompilerOpt.parse_targets[1849] : looking for '@targets' inside -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_modulo.dispatch.c
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (VSX4) not part of baseline or dispatch-able features
INFO: CCompilerOpt._generate_config[2589] : generate dispatched config -> build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_modulo.dispatch.h INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
creating build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/umath
INFO: compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.11/numpy/core/src/multiarray -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c' extra options: '-O3'
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/argfunc.dispatch.c INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_unary_fp.dispatch.c
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithm_fp.dispatch.c INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_umath_fp.dispatch.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_minmax.dispatch.c INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_trigonometric.dispatch.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_exponent_log.dispatch.c
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_arithmetic.dispatch.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. numpy/core/src/umath/loops_arithmetic.dispatch.c.src:45:1: warning: unused function 'simd_divide_by_scalar_contig_s64' [-Wunused-function] simd_divide_by_scalar_contig_s64(char **args, npy_intp len) ^ numpy/core/src/umath/loops_arithmetic.dispatch.c.src:110:1: warning: unused function 'simd_divide_by_scalar_contig_u64' [-Wunused-function] simd_divide_by_scalar_contig_u64(char **args, npy_intp len) ^ INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_hyperbolic.dispatch.c numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable]
volatile npyv_f32 unused_but_workaround_bug = v_src0;
^ numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable]
volatile npyv_f32 unused_but_workaround_bug = v_src0;
^ warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable] volatile npyv_f32 unused_but_workaround_bug = v_src0; ^
numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable] volatile npyv_f32 unused_but_workaround_bug = v_src0; ^ numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable] volatile npyv_f64 unused_but_workaround_bug = v_src0; ^
numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable] volatile npyv_f64 unused_but_workaround_bug = v_src0; ^
numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable] volatile npyv_f64 unused_but_workaround_bug = v_src0; ^
numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:454:1: warning: unused function 'run_binary_simd_add_LONGDOUBLE' [-Wunused-function] run_binary_simd_add_LONGDOUBLE(char **args, npy_intp const *dimensions, npy_intp const *steps) ^
numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:454:1: warning: unused function 'run_binary_simd_subtract_LONGDOUBLE' [-Wunused-function] run_binary_simd_subtract_LONGDOUBLE(char **args, npy_intp const *dimensions, npy_intp const *steps)
^
numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:454:1: warning: unused function 'run_binary_simd_multiply_LONGDOUBLE' [-Wunused-function]
run_binary_simd_multiply_LONGDOUBLE(char **args, npy_intp const *dimensions, npy_intp const *steps)
^ numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:454:1: warning: unused function 'run_binary_simd_divide_LONGDOUBLE' [-Wunused-function]
run_binary_simd_divide_LONGDOUBLE(char **args, npy_intp const *dimensions, npy_intp const *steps)
^ numpy/core/src/umath/loops_unary_fp.dispatch.c.src:237:32: warning: unused variable 'unused_but_workaround_bug' [-Wunused-variable]
volatile npyv_f64 unused_but_workaround_bug = v_src0;
^ 1 warning generated.
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_max_f32' [-Wunused-function] simd_binary_max_f32(const npyv_lanetype_f32 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_min_f32' [-Wunused-function] simd_binary_min_f32(const npyv_lanetype_f32 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_maxp_f32' [-Wunused-function] simd_binary_maxp_f32(const npyv_lanetype_f32 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_minp_f32' [-Wunused-function] simd_binary_minp_f32(const npyv_lanetype_f32 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_max_f64' [-Wunused-function] simd_binary_max_f64(const npyv_lanetype_f64 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_min_f64' [-Wunused-function] simd_binary_min_f64(const npyv_lanetype_f64 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_maxp_f64' [-Wunused-function] simd_binary_maxp_f64(const npyv_lanetype_f64 *ip1, npy_intp sip1, ^
numpy/core/src/umath/loops_minmax.dispatch.c.src:327:1: warning: unused function 'simd_binary_minp_f64' [-Wunused-function] simd_binary_minp_f64(const npyv_lanetype_f64 *ip1, npy_intp sip1, ^ 1 warning generated.
3 warnings generated. 1 warning generated. 5 warnings generated.
1 warning generated. 9 warnings generated. 9 warnings generated.
INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math INFO: compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.11/numpy/core/src/multiarray -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c' INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops_modulo.dispatch.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: compiling C sources INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math
creating build/temp.linux-aarch64-3.11/numpy/core/src/multiarray
creating build/temp.linux-aarch64-3.11/numpy/core/src/multiarray/textreading
creating build/temp.linux-aarch64-3.11/numpy/core/src/umath
INFO: compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.11/numpy/core/src/multiarray -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c'
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/abstractdtypes.c
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/alloc.c
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/arrayobject.c
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/arraytypes.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/array_coercion.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/array_method.c INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/array_assign_scalar.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/array_assign_array.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/arrayfunction_override.c 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/buffer.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/calculation.c 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/compiled_base.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/common.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/common_dtype.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/convert.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/convert_datatype.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/conversion_utils.c 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/ctors.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/datetime.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/datetime_strings.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/datetime_busday.c
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/datetime_busdaycal.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/descriptor.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/dlpack.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/dtypemeta.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/dragon4.c 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/dtype_transfer.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/einsum.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/einsum_sumprod.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] numpy/core/src/multiarray/einsum.c.src:408:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^ 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/experimental_public_dtype_api.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 2 warnings generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/flagsobject.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/getset.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/hashdescr.c INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/item_selection.c 1 warning generated.
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/iterators.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/legacy_dtype_implementation.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. numpy/core/src/multiarray/item_selection.c:2117:1: warning: unused function 'count_nonzero_bytes_384' [-Wunused-function]
count_nonzero_bytes_384(const npy_uint64 * w) ^
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/lowlevel_strided_loops.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/mapping.c INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/methods.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
2 warnings generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/multiarraymodule.c
1 warning generated. INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/nditer_templ.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/nditer_api.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/nditer_constr.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/nditer_pywrap.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/number.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/refcount.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/sequence.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/shape.c
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/scalarapi.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/multiarray/scalartypes.c 1 warning generated.
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/strfuncs.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/temp_elide.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/typeinfo.c
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/usertypes.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] numpy/core/src/multiarray/scalartypes.c.src:1931:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i;
^ numpy/core/src/multiarray/scalartypes.c.src:1931:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i;
^ numpy/core/src/multiarray/scalartypes.c.src:1931:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^
numpy/core/src/multiarray/scalartypes.c.src:1931:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
int i; ^ numpy/core/src/multiarray/temp_elide.c:85:10: fatal error: 'execinfo.h' file not found #include <execinfo.h> ^~~~~~~~~~~~
1 warning and 1 error generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/vdot.c
1 warning generated. warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/conversions.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/field_types.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/growth.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/readtext.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/rows.c INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/stream_pyobject.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/multiarray/textreading/str_to_int.c INFO: aarch64-linux-android-clang: numpy/core/src/umath/umathmodule.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/umath/reduction.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/loops.c
1 warning generated. warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/matmul.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/umath/dispatching.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/umath/legacy_array_method.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/umath/wrapping_array_method.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
5 warnings generated. INFO: aarch64-linux-android-clang: numpy/core/src/umath/ufunc_object.c INFO: aarch64-linux-android-clang: numpy/core/src/umath/extobj.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: build/src.linux-aarch64-3.11/numpy/core/src/umath/scalarmath.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/umath/ufunc_type_resolution.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/umath/override.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/umath/_scaled_float_dtype.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/array_assign.c
numpy/core/src/umath/scalarmath.c.src:1717:36: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" ^
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/mem_overlap.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_argparse.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_hashtable.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_longdouble.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/ucsnarrow.c
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/common/ufunc_override.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
1 warning generated. INFO: aarch64-linux-android-clang: numpy/core/src/common/numpyos.c warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/npy_cpu_features.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
INFO: aarch64-linux-android-clang: numpy/core/src/common/cblasfuncs.c
1 warning generated. warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
INFO: aarch64-linux-android-clang: numpy/core/src/common/python_xerbla.c
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt] 1 warning generated.
1 warning generated. 1 warning generated.
1 warning generated. 2 warnings generated.
1 warning generated. 1 warning generated.
error: Command "aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.11/numpy/core/src/multiarray -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c numpy/core/src/multiarray/temp_elide.c -o build/temp.linux-aarch64-3.11/numpy/core/src/multiarray/temp_elide.o -MMD -MF build/temp.linux-aarch64-3.11/numpy/core/src/multiarray/temp_elide.o.d" failed with exit status 1 INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform : Architecture: aarch64
Compiler : clang
CPU baseline : Requested : 'min'
Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4' Enabled : ASIMDHP ASIMDDP ASIMDFHM
Generated : none INFO: CCompilerOpt.cache_flush[857] : write cache to path -> /data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/build/temp.linux-aarch64-3.11/ccompiler_opt_cache_ext.py
INFO: ########### CLIB COMPILER OPTIMIZATION ########### INFO: Platform :
Architecture: aarch64 Compiler : clang
CPU baseline :
Requested : 'min' Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags : none Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4' Enabled : ASIMDHP ASIMDDP ASIMDFHM
Generated : none INFO: CCompilerOpt.cache_flush[857] : write cache to path -> /data/data/com.termux/files/usr/tmp/pip-install-m9nomwum/numpy_ee5c0965cb84496e9b982b194e899487/build/temp.linux-aarch64-3.11/ccompiler_opt_cache_clib.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
Here is a file for it https://drive.google.com/file/d/1JMJ6NjixWi_KvKYNHULuhJUcH0yWoUx5/view?usp=drivesdk
Here's the reason why it fails:
extra options: '-Werror'
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c /data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.c -o /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o -MMD -MF /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output ->
error: overriding curr
You have 2 choices here:
-Werror
compiler flag and installing it with pip install .
.Please try pip install Cython && pip install openai --no-use-pep517
.
There no such Python module as opencl
.
There no such Python module as
opencl
.
Ahaha, typo again. ~Maybe I need to go to sleep now :)~
I was able to install it. Seems like Cython module and export MATHLIB="m"
everything that was required.
@sylirre I am able to install that version of numpy, however it insists that I need a different version when installing pandas (which openai installs)
Collecting oldest-supported-numpy>=2022.8.16
Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB)
Collecting numpy==1.23.2
Using cached numpy-1.23.2.tar.gz (10.7 MB)
Which causes it to fail btw
1.23.2
doesn't fail either. Did a wipe of both pip cache and site-packages dir to ensure everything will go from scratch:
Here is my whl file for numpy (gzipped, aarch64 only): numpy-1.23.2-cp311-cp311-linux_aarch64.whl.gz
You can try installing it through pip
.
That still doesn't work. Can you share your pandas wheel? (I was able to install numpy with that wheel but pandas still wont install)
updated error with numpy 1.23.2 installed
Installing build dependencies: started Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: numpy Building wheel for numpy (pyproject.toml): started Building wheel for numpy (pyproject.toml): still running... Building wheel for numpy (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1
Ok, pandas: https://transfer.sh/wkQLwb/pandas-1.5.2-cp311-cp311-linux_aarch64.whl (expired, please compile it on your own:))
Thanks. I think the main issue was pandas just not wanting to be compiled. Everything works now
I'm having problem installing pandas i have tried the above solution but it still doesn't work
Ok, pandas: https://transfer.sh/wkQLwb/pandas-1.5.2-cp311-cp311-linux_aarch64.whl
Hi! can you share your panda wheel again your above link throwing site can't be reached
,,,,thanks all of you above, I've managed to solve my questions now, which I couldnt install the modules of 'numpy' and 'pandas' with any methods I could search, after suffering a lots these two days. now I gnna write somthing about it btw, just as the feedback and embody of 'sharing spirit':
try to learn a little about 'linux system orders/rules' if you're not quite familiar with 'linux'--I did, after all, the termux just like the mini-version of that; like the usage of 'apt' 'pkg'...
learn with vedio first, which are more accessible for green learners, I think. Most significant, they have lively - operation that are continuous and you have sb. to explain to you. To be honest, i get into much difficulties when i just look people' written_workflow, which drove me crazy, even that I've searched every tips about it!
After all the solutions i found didn't work, i come to github in the trying emotion, I search ' termux, numpy, pandas', thanks God, i eventually get the right answer with this chapter!
4.ok, theses pictures just come from the last time I run my shell,
(to structure the settings)
(exactly, i just have python and python2, while it worked!)
( i thought it's the dependence of numpy)
...... maybe it didn't work for you, because before this I've read watched and try a lot method, so, these are keys instead of all steps. And maybe it only work for like ' couldn't find the whl' problem.
All in all, i can ensure that it could run successfully for 'pandas', 'numpy' after your efforts, although I just want to give not least three times yesterday.
my phone information: 华为.Harmony os, 8G running memory.
Please reupload
I don't compile software on request and neither have the original file. The shared package was intended for testing and as PoC that compilation of pandas possible on device.
As GitHub doesn't allow too big files attached to an issue ticket, I have to use free public file sharing services and their links eventually expire.
Here's the reason why it fails:
extra options: '-Werror' WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c /data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.c -o /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o -MMD -MF /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output -> error: overriding curr
You have 2 choices here:
- Install gcc package from https://github.com/termux-user-repository/tur and using it instead of clang.
- Cloning the numpy repo, commenting out all instances of
-Werror
compiler flag and installing it withpip install .
.
This also worked for me:
MATHLIB=m CFLAGS=-Wno-implicit-function-declaration pip install numpy
Here's the reason why it fails:
extra options: '-Werror' WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -ftrapping-math -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/data/data/com.termux/files/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c /data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.c -o /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o -MMD -MF /data/data/com.termux/files/usr/tmp/tmpd10qlw2b/data/data/com.termux/files/usr/tmp/pip-install-icoqaiaj/numpy_189c8387ae5344c2ba97ff7dbd40bcca/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output -> error: overriding curr
You have 2 choices here:
- Install gcc package from https://github.com/termux-user-repository/tur and using it instead of clang.
- Cloning the numpy repo, commenting out all instances of
-Werror
compiler flag and installing it withpip install .
.This also worked for me:
MATHLIB=m CFLAGS=-Wno-implicit-function-declaration pip install numpy
I installed gcc-default-11
& then used MATHLIB=m CFLAGS=-Wno-implicit-function-declaration pip install -I numpy==1.23.4
But I got some errors
/data/data/com.termux/files/usr/include/c++/v1/cstdlib:90:5: error: <cstdlib> tried including <stdlib.h> but didn't find libc++'s <stdlib.h> header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
Solution that worked [using defaul clang]
MATHLIB=m CPLUS_INCLUDE_PATH="-I/data/data/com.termux/files/usr/include/" CFLAGS=-Wno-implicit-function-declaration pip install -I numpy==1.23.4
numpy-1.23.4-cp39-cp39-linux_aarch64.whl.txt
Rename .txt to .whl
Problem description
pip3 install openai Collecting openai Using cached openai-0.25.0.tar.gz (44 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting requests>=2.20 Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting tqdm Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting pandas>=1.2.3 Using cached pandas-1.5.2.tar.gz (5.2 MB) Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [242 lines of output] Collecting setuptools>=51.0.0 Using cached setuptools-65.6.3-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.38.4-py3-none-any.whl (36 kB) Collecting Cython<3,>=0.29.32 Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB) Collecting oldest-supported-numpy>=2022.8.16 Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB) Collecting numpy==1.23.2 Using cached numpy-1.23.2.tar.gz (10.7 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: numpy Building wheel for numpy (pyproject.toml): started Building wheel for numpy (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Steps to reproduce the behavior.
pip3 install openai
What is the expected behavior?
That it works
System information