Pycuda program not running on Jetson Nano

I’m new to CUDA and installed pycuda following the documentation and setup the path. Then I have tried to run the sample pycuda program. The Code is :

import pycuda.autoinit

import pycuda.driver as drv

import numpy

from pycuda.compiler import SourceModule

mod = SourceModule(“”"

global void multiply_them(float *dest, float *a, float *b)

{

const int i = threadIdx.x;

dest[i] = a[i] * b[i];

}

“”")

multiply_them = mod.get_function(“multiply_them”)

a = numpy.random.randn(400).astype(numpy.float32)

b = numpy.random.randn(400).astype(numpy.float32)

dest = numpy.zeros_like(a)

multiply_them(
drv.Out(dest), drv.In(a), drv.In(b),
block=(400,1,1), grid=(1,1))

print(dest-a*b)

While running the above code the error is coming like :

File “test.py”, line 1, in
import pycuda.autoinit
File “/home/jp/CUDA_Programs/pycuda/pycuda.py”, line 1, in
import pycuda.autoinit
ModuleNotFoundError: No module named ‘pycuda.autoinit’; ‘pycuda’ is not a package

I have set up the PATH as :

$ export PATH=/usr/local/cuda-10.2/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH

Can someone please help me out solving this?
Thanks in advance.

Hi,

pyCUDA doesn’t be included in the CUDA toolkit.
Did you install it?

$ pip3 install pycuda

Thanks.

Yes, I have tried installing through the above command but it was not able to build successfully. So I have downloaded tar.gz file and extracted it and then run the cofigure file. Then make it and installed it and pycuda was installed successfully. But after that also it’s giving the same error that ‘pycuda’ is not a package. So what to do next?

Hi,

Could you share the error when you install it through the pip3 tool?
Thanks.

pip3 install pycuda

Defaulting to user installation because normal site-packages is not writeable
Collecting pycuda
Using cached pycuda-2022.1.tar.gz (1.7 MB)
Installing build dependencies … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4iox4ovg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – setuptools wheel ‘numpy; python_version >= ‘"’“‘3.10’”’“‘’ 'numpy==1.19.5; python_version >= '”‘“‘3.8’”’“’ and python_version < '”‘“‘3.10’”’“‘’ 'numpy==1.15.4; python_version >= '”‘“‘3.7’”’“’ and python_version < '”‘“‘3.8’”’“‘’ 'numpy==1.12.1; python_version < '”‘“‘3.7’”’“‘’
cwd: None
Complete output (2347 lines):
Ignoring numpy: markers ‘python_version >= “3.10”’ don’t match your environment
Ignoring numpy: markers ‘python_version >= “3.8” and python_version < “3.10”’ don’t match your environment
Ignoring numpy: markers ‘python_version >= “3.7” and python_version < “3.8”’ don’t match your environment
Collecting setuptools
Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting numpy==1.12.1
Using cached numpy-1.12.1.zip (4.8 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): still running…
Building wheel for numpy (setup.py): still running…
Building wheel for numpy (setup.py): finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '”‘"’/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ bdist_wheel -d /tmp/pip-wheel-i18u6jx0
cwd: /tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/
Complete output (2081 lines):
Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
libraries mkl_rt not found in [‘/usr/local/lib’, ‘/usr/lib’, ‘/usr/lib/aarch64-linux-gnu’]
NOT AVAILABLE

blis_info:
  libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_info:
  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib/aarch64-linux-gnu']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib/aarch64-linux-gnu']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: 1: svnversion: not found
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_lapack_info:
customize UnixCCompiler
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating /tmp/tmpvid64xgx/tmp
creating /tmp/tmpvid64xgx/tmp/tmpvid64xgx
compile options: '-c'
aarch64-linux-gnu-gcc: /tmp/tmpvid64xgx/source.c
/tmp/tmpvid64xgx/source.c: In function ‘main’:
/tmp/tmpvid64xgx/source.c:4:13: warning: implicit declaration of function ‘zungqr_’; did you mean ‘zungqr’? [-Wimplicit-function-declaration]
             zungqr_();
             ^~~~~~~
             zungqr
aarch64-linux-gnu-gcc -pthread /tmp/tmpvid64xgx/tmp/tmpvid64xgx/source.o -lopenblas -o /tmp/tmpvid64xgx/a.out
  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib/aarch64-linux-gnu']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib/aarch64-linux-gnu']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.linux-aarch64-3.6
creating build/src.linux-aarch64-3.6/numpy
creating build/src.linux-aarch64-3.6/numpy/distutils
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
creating build/src.linux-aarch64-3.6/numpy/core
creating build/src.linux-aarch64-3.6/numpy/core/src
creating build/src.linux-aarch64-3.6/numpy/core/src/npymath
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/ieee754.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_complex.c
building library "npysort" sources
creating build/src.linux-aarch64-3.6/numpy/core/src/npysort
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/quicksort.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/mergesort.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/heapsort.c
creating build/src.linux-aarch64-3.6/numpy/core/src/private
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/private/npy_partition.h
  adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/selection.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/private/npy_binsearch.h
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/binsearch.c
None - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/npy_partition.h', 'build/src.linux-aarch64-3.6/numpy/core/src/private/npy_binsearch.h']
building extension "numpy.core._dummy" sources
Generating build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: sys/endian.h: No such file or directory
 #include <sys/endian.h>
          ^~~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: sys/endian.h: No such file or directory
 #include <sys/endian.h>
          ^~~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c’
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 4)];
^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 16)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function); did you mean ‘SIZEOF_LONG_DOUBLE’?
     (void) SIZEOF_LONGDOUBLE;
            ^~~~~~~~~~~~~~~~~
            SIZEOF_LONG_DOUBLE
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function â:
_configtest.c:7:12: error: â undeclared (first use in this function); did you mean â?
     (void) SIZEOF_LONGDOUBLE;
            ^~~~~~~~~~~~~~~~~
            SIZEOF_LONG_DOUBLE
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 16)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 32)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^~~~~~~~~~
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘sin’ [-Wbuiltin-declaration-mismatch]
 int sin (void);
     ^~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cos’ [-Wbuiltin-declaration-mismatch]
 int cos (void);
     ^~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘tan’ [-Wbuiltin-declaration-mismatch]
 int tan (void);
     ^~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘sinh’ [-Wbuiltin-declaration-mismatch]
 int sinh (void);
     ^~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘cosh’ [-Wbuiltin-declaration-mismatch]
 int cosh (void);
     ^~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘tanh’ [-Wbuiltin-declaration-mismatch]
 int tanh (void);
     ^~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘fabs’ [-Wbuiltin-declaration-mismatch]
 int fabs (void);
     ^~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘floor’ [-Wbuiltin-declaration-mismatch]
 int floor (void);
     ^~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ceil’ [-Wbuiltin-declaration-mismatch]
 int ceil (void);
     ^~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘sqrt’ [-Wbuiltin-declaration-mismatch]
 int sqrt (void);
     ^~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘log10’ [-Wbuiltin-declaration-mismatch]
 int log10 (void);
     ^~~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘log’ [-Wbuiltin-declaration-mismatch]
 int log (void);
     ^~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘asin’ [-Wbuiltin-declaration-mismatch]
 int asin (void);
     ^~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘acos’ [-Wbuiltin-declaration-mismatch]
 int acos (void);
     ^~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘atan’ [-Wbuiltin-declaration-mismatch]
 int atan (void);
     ^~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘fmod’ [-Wbuiltin-declaration-mismatch]
 int fmod (void);
     ^~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘modf’ [-Wbuiltin-declaration-mismatch]
 int modf (void);
     ^~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘frexp’ [-Wbuiltin-declaration-mismatch]
 int frexp (void);
     ^~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘ldexp’ [-Wbuiltin-declaration-mismatch]
 int ldexp (void);
     ^~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c’
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘rint’ [-Wbuiltin-declaration-mismatch]
 int rint (void);
     ^~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘trunc’ [-Wbuiltin-declaration-mismatch]
 int trunc (void);
     ^~~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘exp2’ [-Wbuiltin-declaration-mismatch]
 int exp2 (void);
     ^~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘log2’ [-Wbuiltin-declaration-mismatch]
 int log2 (void);
     ^~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘atan2’ [-Wbuiltin-declaration-mismatch]
 int atan2 (void);
     ^~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘pow’ [-Wbuiltin-declaration-mismatch]
 int pow (void);
     ^~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘nextafter’ [-Wbuiltin-declaration-mismatch]
 int nextafter (void);
     ^~~~~~~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘cbrt’ [-Wbuiltin-declaration-mismatch]
 int cbrt (void);
     ^~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: emmintrin.h: No such file or directory
 #include <emmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: emmintrin.h: No such file or directory
 #include <emmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isnan(5.);
   ^~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isinf(5.);
   ^~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isfinite(5.);
   ^~~~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_bswap32(5u);
   ^~~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_bswap64(5u);
   ^~~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_expect(5, 0);
   ^~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:7:20: warning: implicit declaration of function ‘__builtin_cpu_supports’; did you mean ‘__builtin_isupper’? [-Wimplicit-function-declaration]
   volatile int r = __builtin_cpu_supports("sse");
                    ^~~~~~~~~~~~~~~~~~~~~~
                    __builtin_isupper
_configtest.c:7:16: warning: unused variable ‘r’ [-Wunused-variable]
   volatile int r = __builtin_cpu_supports("sse");
                ^
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:7: undefined reference to `__builtin_cpu_supports'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:7: undefined reference to `__builtin_cpu_supports'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: xmmintrin.h: No such file or directory
 #include <xmmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:10: fatal error: emmintrin.h: No such file or directory
 #include <emmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
_configtest.c:1:10: fatal error: emmintrin.h: No such file or directory
 #include <emmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
/tmp/ccitpaoH.s: Assembler messages:
/tmp/ccitpaoH.s:19: Error: unknown mnemonic `vpand' -- `vpand %xmm1,%xmm2,%xmm3'
/tmp/ccitpaoH.s: Assembler messages:
/tmp/ccitpaoH.s:19: Error: unknown mnemonic `vpand' -- `vpand %xmm1,%xmm2,%xmm3'
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
/tmp/ccI3K2uO.s: Assembler messages:
/tmp/ccI3K2uO.s:19: Error: unknown mnemonic `vpand' -- `vpand %ymm1,%ymm2,%ymm3'
/tmp/ccI3K2uO.s: Assembler messages:
/tmp/ccI3K2uO.s:19: Error: unknown mnemonic `vpand' -- `vpand %ymm1,%ymm2,%ymm3'
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c:5:1: error: target attribute ‘avx’ is invalid
 int __attribute__((target ("avx"))) attribute_target_avx(void*);
 ^~~
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c:5:1: error: target attribute â is invalid
 int __attribute__((target ("avx"))) attribute_target_avx(void*);
 ^~~
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c:5:1: error: target attribute ‘avx2’ is invalid
 int __attribute__((target ("avx2"))) attribute_target_avx2(void*);
 ^~~
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c:5:1: error: target attribute â is invalid
 int __attribute__((target ("avx2"))) attribute_target_avx2(void*);
 ^~~
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c: In function ‘__declspec’:
_configtest.c:5:24: error: expected declaration specifiers before ‘foo’
 int __declspec(thread) foo;
                        ^~~
_configtest.c:9:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
_configtest.c:5:5: warning: type of ‘thread’ defaults to ‘int’ [-Wimplicit-int]
 int __declspec(thread) foo;
     ^~~~~~~~~~
_configtest.c:11:1: error: expected ‘{’ at end of input
 }
 ^
_configtest.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"

_configtest.c: In function â:
_configtest.c:5:24: error: expected declaration specifiers before â
 int __declspec(thread) foo;
                        ^~~
_configtest.c:9:1: error: expected â, â, â, â or â before â token
 {
 ^
_configtest.c:5:5: warning: type of â defaults to â [-Wimplicit-int]
 int __declspec(thread) foo;
     ^~~~~~~~~~
_configtest.c:11:1: error: expected â at end of input
 }
 ^
_configtest.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘sinf’ [-Wbuiltin-declaration-mismatch]
 int sinf (void);
     ^~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cosf’ [-Wbuiltin-declaration-mismatch]
 int cosf (void);
     ^~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘tanf’ [-Wbuiltin-declaration-mismatch]
 int tanf (void);
     ^~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘sinhf’ [-Wbuiltin-declaration-mismatch]
 int sinhf (void);
     ^~~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘coshf’ [-Wbuiltin-declaration-mismatch]
 int coshf (void);
     ^~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘tanhf’ [-Wbuiltin-declaration-mismatch]
 int tanhf (void);
     ^~~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘fabsf’ [-Wbuiltin-declaration-mismatch]
 int fabsf (void);
     ^~~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘floorf’ [-Wbuiltin-declaration-mismatch]
 int floorf (void);
     ^~~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ceilf’ [-Wbuiltin-declaration-mismatch]
 int ceilf (void);
     ^~~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘rintf’ [-Wbuiltin-declaration-mismatch]
 int rintf (void);
     ^~~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘truncf’ [-Wbuiltin-declaration-mismatch]
 int truncf (void);
     ^~~~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘sqrtf’ [-Wbuiltin-declaration-mismatch]
 int sqrtf (void);
     ^~~~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘log10f’ [-Wbuiltin-declaration-mismatch]
 int log10f (void);
     ^~~~~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘logf’ [-Wbuiltin-declaration-mismatch]
 int logf (void);
     ^~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘log1pf’ [-Wbuiltin-declaration-mismatch]
 int log1pf (void);
     ^~~~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘expf’ [-Wbuiltin-declaration-mismatch]
 int expf (void);
     ^~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘expm1f’ [-Wbuiltin-declaration-mismatch]
 int expm1f (void);
     ^~~~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘asinf’ [-Wbuiltin-declaration-mismatch]
 int asinf (void);
     ^~~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘acosf’ [-Wbuiltin-declaration-mismatch]
 int acosf (void);
     ^~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘atanf’ [-Wbuiltin-declaration-mismatch]
 int atanf (void);
     ^~~~~
_configtest.c:21:5: warning: conflicting types for built-in function ‘asinhf’ [-Wbuiltin-declaration-mismatch]
 int asinhf (void);
     ^~~~~~
_configtest.c:22:5: warning: conflicting types for built-in function ‘acoshf’ [-Wbuiltin-declaration-mismatch]
 int acoshf (void);
     ^~~~~~
_configtest.c:23:5: warning: conflicting types for built-in function ‘atanhf’ [-Wbuiltin-declaration-mismatch]
 int atanhf (void);
     ^~~~~~
_configtest.c:24:5: warning: conflicting types for built-in function ‘hypotf’ [-Wbuiltin-declaration-mismatch]
 int hypotf (void);
     ^~~~~~
_configtest.c:25:5: warning: conflicting types for built-in function ‘atan2f’ [-Wbuiltin-declaration-mismatch]
 int atan2f (void);
     ^~~~~~
_configtest.c:26:5: warning: conflicting types for built-in function ‘powf’ [-Wbuiltin-declaration-mismatch]
 int powf (void);
     ^~~~
_configtest.c:27:5: warning: conflicting types for built-in function ‘fmodf’ [-Wbuiltin-declaration-mismatch]
 int fmodf (void);
     ^~~~~
_configtest.c:28:5: warning: conflicting types for built-in function ‘modff’ [-Wbuiltin-declaration-mismatch]
 int modff (void);
     ^~~~~
_configtest.c:29:5: warning: conflicting types for built-in function ‘frexpf’ [-Wbuiltin-declaration-mismatch]
 int frexpf (void);
     ^~~~~~
_configtest.c:30:5: warning: conflicting types for built-in function ‘ldexpf’ [-Wbuiltin-declaration-mismatch]
 int ldexpf (void);
     ^~~~~~
_configtest.c:31:5: warning: conflicting types for built-in function ‘exp2f’ [-Wbuiltin-declaration-mismatch]
 int exp2f (void);
     ^~~~~
_configtest.c:32:5: warning: conflicting types for built-in function ‘log2f’ [-Wbuiltin-declaration-mismatch]
 int log2f (void);
     ^~~~~
_configtest.c:33:5: warning: conflicting types for built-in function ‘copysignf’ [-Wbuiltin-declaration-mismatch]
 int copysignf (void);
     ^~~~~~~~~
_configtest.c:34:5: warning: conflicting types for built-in function ‘nextafterf’ [-Wbuiltin-declaration-mismatch]
 int nextafterf (void);
     ^~~~~~~~~~
_configtest.c:35:5: warning: conflicting types for built-in function ‘cbrtf’ [-Wbuiltin-declaration-mismatch]
 int cbrtf (void);
     ^~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘sinl’ [-Wbuiltin-declaration-mismatch]
 int sinl (void);
     ^~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cosl’ [-Wbuiltin-declaration-mismatch]
 int cosl (void);
     ^~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘tanl’ [-Wbuiltin-declaration-mismatch]
 int tanl (void);
     ^~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘sinhl’ [-Wbuiltin-declaration-mismatch]
 int sinhl (void);
     ^~~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘coshl’ [-Wbuiltin-declaration-mismatch]
 int coshl (void);
     ^~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘tanhl’ [-Wbuiltin-declaration-mismatch]
 int tanhl (void);
     ^~~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘fabsl’ [-Wbuiltin-declaration-mismatch]
 int fabsl (void);
     ^~~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘floorl’ [-Wbuiltin-declaration-mismatch]
 int floorl (void);
     ^~~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ceill’ [-Wbuiltin-declaration-mismatch]
 int ceill (void);
     ^~~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘rintl’ [-Wbuiltin-declaration-mismatch]
 int rintl (void);
     ^~~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘truncl’ [-Wbuiltin-declaration-mismatch]
 int truncl (void);
     ^~~~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘sqrtl’ [-Wbuiltin-declaration-mismatch]
 int sqrtl (void);
     ^~~~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘log10l’ [-Wbuiltin-declaration-mismatch]
 int log10l (void);
     ^~~~~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘logl’ [-Wbuiltin-declaration-mismatch]
 int logl (void);
     ^~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘log1pl’ [-Wbuiltin-declaration-mismatch]
 int log1pl (void);
     ^~~~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘expl’ [-Wbuiltin-declaration-mismatch]
 int expl (void);
     ^~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘expm1l’ [-Wbuiltin-declaration-mismatch]
 int expm1l (void);
     ^~~~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘asinl’ [-Wbuiltin-declaration-mismatch]
 int asinl (void);
     ^~~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘acosl’ [-Wbuiltin-declaration-mismatch]
 int acosl (void);
     ^~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘atanl’ [-Wbuiltin-declaration-mismatch]
 int atanl (void);
     ^~~~~
_configtest.c:21:5: warning: conflicting types for built-in function ‘asinhl’ [-Wbuiltin-declaration-mismatch]
 int asinhl (void);
     ^~~~~~
_configtest.c:22:5: warning: conflicting types for built-in function ‘acoshl’ [-Wbuiltin-declaration-mismatch]
 int acoshl (void);
     ^~~~~~
_configtest.c:23:5: warning: conflicting types for built-in function ‘atanhl’ [-Wbuiltin-declaration-mismatch]
 int atanhl (void);
     ^~~~~~
_configtest.c:24:5: warning: conflicting types for built-in function ‘hypotl’ [-Wbuiltin-declaration-mismatch]
 int hypotl (void);
     ^~~~~~
_configtest.c:25:5: warning: conflicting types for built-in function ‘atan2l’ [-Wbuiltin-declaration-mismatch]
 int atan2l (void);
     ^~~~~~
_configtest.c:26:5: warning: conflicting types for built-in function ‘powl’ [-Wbuiltin-declaration-mismatch]
 int powl (void);
     ^~~~
_configtest.c:27:5: warning: conflicting types for built-in function ‘fmodl’ [-Wbuiltin-declaration-mismatch]
 int fmodl (void);
     ^~~~~
_configtest.c:28:5: warning: conflicting types for built-in function ‘modfl’ [-Wbuiltin-declaration-mismatch]
 int modfl (void);
     ^~~~~
_configtest.c:29:5: warning: conflicting types for built-in function ‘frexpl’ [-Wbuiltin-declaration-mismatch]
 int frexpl (void);
     ^~~~~~
_configtest.c:30:5: warning: conflicting types for built-in function ‘ldexpl’ [-Wbuiltin-declaration-mismatch]
 int ldexpl (void);
     ^~~~~~
_configtest.c:31:5: warning: conflicting types for built-in function ‘exp2l’ [-Wbuiltin-declaration-mismatch]
 int exp2l (void);
     ^~~~~
_configtest.c:32:5: warning: conflicting types for built-in function ‘log2l’ [-Wbuiltin-declaration-mismatch]
 int log2l (void);
     ^~~~~
_configtest.c:33:5: warning: conflicting types for built-in function ‘copysignl’ [-Wbuiltin-declaration-mismatch]
 int copysignl (void);
     ^~~~~~~~~
_configtest.c:34:5: warning: conflicting types for built-in function ‘nextafterl’ [-Wbuiltin-declaration-mismatch]
 int nextafterl (void);
     ^~~~~~~~~~
_configtest.c:35:5: warning: conflicting types for built-in function ‘cbrtl’ [-Wbuiltin-declaration-mismatch]
 int cbrtl (void);
     ^~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c: In function ‘main’:
_configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function); did you mean ‘HAVE_DECL_ISNAN’?
     (void) HAVE_DECL_SIGNBIT;
            ^~~~~~~~~~~~~~~~~
            HAVE_DECL_ISNAN
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function â:
_configtest.c:8:12: error: â undeclared (first use in this function); did you mean â?
     (void) HAVE_DECL_SIGNBIT;
            ^~~~~~~~~~~~~~~~~
            HAVE_DECL_ISNAN
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘cabs’ [-Wbuiltin-declaration-mismatch]
 int cabs (void);
     ^~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cacos’ [-Wbuiltin-declaration-mismatch]
 int cacos (void);
     ^~~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘cacosh’ [-Wbuiltin-declaration-mismatch]
 int cacosh (void);
     ^~~~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘carg’ [-Wbuiltin-declaration-mismatch]
 int carg (void);
     ^~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘casin’ [-Wbuiltin-declaration-mismatch]
 int casin (void);
     ^~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘casinh’ [-Wbuiltin-declaration-mismatch]
 int casinh (void);
     ^~~~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘catan’ [-Wbuiltin-declaration-mismatch]
 int catan (void);
     ^~~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘catanh’ [-Wbuiltin-declaration-mismatch]
 int catanh (void);
     ^~~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ccos’ [-Wbuiltin-declaration-mismatch]
 int ccos (void);
     ^~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘ccosh’ [-Wbuiltin-declaration-mismatch]
 int ccosh (void);
     ^~~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘cexp’ [-Wbuiltin-declaration-mismatch]
 int cexp (void);
     ^~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘cimag’ [-Wbuiltin-declaration-mismatch]
 int cimag (void);
     ^~~~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘clog’ [-Wbuiltin-declaration-mismatch]
 int clog (void);
     ^~~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘conj’ [-Wbuiltin-declaration-mismatch]
 int conj (void);
     ^~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘cpow’ [-Wbuiltin-declaration-mismatch]
 int cpow (void);
     ^~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘cproj’ [-Wbuiltin-declaration-mismatch]
 int cproj (void);
     ^~~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘creal’ [-Wbuiltin-declaration-mismatch]
 int creal (void);
     ^~~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘csin’ [-Wbuiltin-declaration-mismatch]
 int csin (void);
     ^~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘csinh’ [-Wbuiltin-declaration-mismatch]
 int csinh (void);
     ^~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘csqrt’ [-Wbuiltin-declaration-mismatch]
 int csqrt (void);
     ^~~~~
_configtest.c:21:5: warning: conflicting types for built-in function ‘ctan’ [-Wbuiltin-declaration-mismatch]
 int ctan (void);
     ^~~~
_configtest.c:22:5: warning: conflicting types for built-in function ‘ctanh’ [-Wbuiltin-declaration-mismatch]
 int ctanh (void);
     ^~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘cabsf’ [-Wbuiltin-declaration-mismatch]
 int cabsf (void);
     ^~~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cacosf’ [-Wbuiltin-declaration-mismatch]
 int cacosf (void);
     ^~~~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘cacoshf’ [-Wbuiltin-declaration-mismatch]
 int cacoshf (void);
     ^~~~~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘cargf’ [-Wbuiltin-declaration-mismatch]
 int cargf (void);
     ^~~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘casinf’ [-Wbuiltin-declaration-mismatch]
 int casinf (void);
     ^~~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘casinhf’ [-Wbuiltin-declaration-mismatch]
 int casinhf (void);
     ^~~~~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘catanf’ [-Wbuiltin-declaration-mismatch]
 int catanf (void);
     ^~~~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘catanhf’ [-Wbuiltin-declaration-mismatch]
 int catanhf (void);
     ^~~~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ccosf’ [-Wbuiltin-declaration-mismatch]
 int ccosf (void);
     ^~~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘ccoshf’ [-Wbuiltin-declaration-mismatch]

int ccoshf (void);
^~~~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘cexpf’ [-Wbuiltin-declaration-mismatch]
int cexpf (void);
^~~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘cimagf’ [-Wbuiltin-declaration-mismatch]
int cimagf (void);
^~~~~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘clogf’ [-Wbuiltin-declaration-mismatch]
int clogf (void);
^~~~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘conjf’ [-Wbuiltin-declaration-mismatch]
int conjf (void);
^~~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘cpowf’ [-Wbuiltin-declaration-mismatch]
int cpowf (void);
^~~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘cprojf’ [-Wbuiltin-declaration-mismatch]
int cprojf (void);
^~~~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘crealf’ [-Wbuiltin-declaration-mismatch]
int crealf (void);
^~~~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘csinf’ [-Wbuiltin-declaration-mismatch]
int csinf (void);
^~~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘csinhf’ [-Wbuiltin-declaration-mismatch]
int csinhf (void);
^~~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘csqrtf’ [-Wbuiltin-declaration-mismatch]
int csqrtf (void);
^~~~~~
_configtest.c:21:5: warning: conflicting types for built-in function ‘ctanf’ [-Wbuiltin-declaration-mismatch]
int ctanf (void);
^~~~~
_configtest.c:22:5: warning: conflicting types for built-in function ‘ctanhf’ [-Wbuiltin-declaration-mismatch]
int ctanhf (void);
^~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘cabsl’ [-Wbuiltin-declaration-mismatch]
 int cabsl (void);
     ^~~~~
_configtest.c:2:5: warning: conflicting types for built-in function ‘cacosl’ [-Wbuiltin-declaration-mismatch]
 int cacosl (void);
     ^~~~~~
_configtest.c:3:5: warning: conflicting types for built-in function ‘cacoshl’ [-Wbuiltin-declaration-mismatch]
 int cacoshl (void);
     ^~~~~~~
_configtest.c:4:5: warning: conflicting types for built-in function ‘cargl’ [-Wbuiltin-declaration-mismatch]
 int cargl (void);
     ^~~~~
_configtest.c:5:5: warning: conflicting types for built-in function ‘casinl’ [-Wbuiltin-declaration-mismatch]
 int casinl (void);
     ^~~~~~
_configtest.c:6:5: warning: conflicting types for built-in function ‘casinhl’ [-Wbuiltin-declaration-mismatch]
 int casinhl (void);
     ^~~~~~~
_configtest.c:7:5: warning: conflicting types for built-in function ‘catanl’ [-Wbuiltin-declaration-mismatch]
 int catanl (void);
     ^~~~~~
_configtest.c:8:5: warning: conflicting types for built-in function ‘catanhl’ [-Wbuiltin-declaration-mismatch]
 int catanhl (void);
     ^~~~~~~
_configtest.c:9:5: warning: conflicting types for built-in function ‘ccosl’ [-Wbuiltin-declaration-mismatch]
 int ccosl (void);
     ^~~~~
_configtest.c:10:5: warning: conflicting types for built-in function ‘ccoshl’ [-Wbuiltin-declaration-mismatch]
 int ccoshl (void);
     ^~~~~~
_configtest.c:11:5: warning: conflicting types for built-in function ‘cexpl’ [-Wbuiltin-declaration-mismatch]
 int cexpl (void);
     ^~~~~
_configtest.c:12:5: warning: conflicting types for built-in function ‘cimagl’ [-Wbuiltin-declaration-mismatch]
 int cimagl (void);
     ^~~~~~
_configtest.c:13:5: warning: conflicting types for built-in function ‘clogl’ [-Wbuiltin-declaration-mismatch]
 int clogl (void);
     ^~~~~
_configtest.c:14:5: warning: conflicting types for built-in function ‘conjl’ [-Wbuiltin-declaration-mismatch]
 int conjl (void);
     ^~~~~
_configtest.c:15:5: warning: conflicting types for built-in function ‘cpowl’ [-Wbuiltin-declaration-mismatch]
 int cpowl (void);
     ^~~~~
_configtest.c:16:5: warning: conflicting types for built-in function ‘cprojl’ [-Wbuiltin-declaration-mismatch]
 int cprojl (void);
     ^~~~~~
_configtest.c:17:5: warning: conflicting types for built-in function ‘creall’ [-Wbuiltin-declaration-mismatch]
 int creall (void);
     ^~~~~~
_configtest.c:18:5: warning: conflicting types for built-in function ‘csinl’ [-Wbuiltin-declaration-mismatch]
 int csinl (void);
     ^~~~~
_configtest.c:19:5: warning: conflicting types for built-in function ‘csinhl’ [-Wbuiltin-declaration-mismatch]
 int csinhl (void);
     ^~~~~~
_configtest.c:20:5: warning: conflicting types for built-in function ‘csqrtl’ [-Wbuiltin-declaration-mismatch]
 int csqrtl (void);
     ^~~~~~
_configtest.c:21:5: warning: conflicting types for built-in function ‘ctanl’ [-Wbuiltin-declaration-mismatch]
 int ctanl (void);
     ^~~~~
_configtest.c:22:5: warning: conflicting types for built-in function ‘ctanhl’ [-Wbuiltin-declaration-mismatch]
 int ctanhl (void);
     ^~~~~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:2:12: warning: ‘static_func’ defined but not used [-Wunused-function]
 static int static_func (char * restrict a)
            ^~~~~~~~~~~
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c’
aarch64-linux-gnu-gcc: _configtest.c
removing: _configtest.c _configtest.o
File: build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h
#define HAVE_ENDIAN_H 1
#define SIZEOF_PY_INTPTR_T 8
#define SIZEOF_OFF_T 8
#define SIZEOF_PY_LONG_LONG 8
#define MATHLIB m
#define HAVE_SIN 1
#define HAVE_COS 1
#define HAVE_TAN 1
#define HAVE_SINH 1
#define HAVE_COSH 1
#define HAVE_TANH 1
#define HAVE_FABS 1
#define HAVE_FLOOR 1
#define HAVE_CEIL 1
#define HAVE_SQRT 1
#define HAVE_LOG10 1
#define HAVE_LOG 1
#define HAVE_EXP 1
#define HAVE_ASIN 1
#define HAVE_ACOS 1
#define HAVE_ATAN 1
#define HAVE_FMOD 1
#define HAVE_MODF 1
#define HAVE_FREXP 1
#define HAVE_LDEXP 1
#define HAVE_RINT 1
#define HAVE_TRUNC 1
#define HAVE_EXP2 1
#define HAVE_LOG2 1
#define HAVE_ATAN2 1
#define HAVE_POW 1
#define HAVE_NEXTAFTER 1
#define HAVE_STRTOLL 1
#define HAVE_STRTOULL 1
#define HAVE_CBRT 1
#define HAVE_STRTOLD_L 1
#define HAVE_FALLOCATE 1
#define HAVE_FEATURES_H 1
#define HAVE___BUILTIN_ISNAN 1
#define HAVE___BUILTIN_ISINF 1
#define HAVE___BUILTIN_ISFINITE 1
#define HAVE___BUILTIN_BSWAP32 1
#define HAVE___BUILTIN_BSWAP64 1
#define HAVE___BUILTIN_EXPECT 1
#define HAVE___BUILTIN_MUL_OVERFLOW 1
#define HAVE___BUILTIN_PREFETCH 1
#define HAVE_ATTRIBUTE_OPTIMIZE_UNROLL_LOOPS 1
#define HAVE_ATTRIBUTE_OPTIMIZE_OPT_3 1
#define HAVE_ATTRIBUTE_NONNULL 1
#define HAVE___THREAD 1
#define HAVE_SINF 1
#define HAVE_COSF 1
#define HAVE_TANF 1
#define HAVE_SINHF 1
#define HAVE_COSHF 1
#define HAVE_TANHF 1
#define HAVE_FABSF 1
#define HAVE_FLOORF 1
#define HAVE_CEILF 1
#define HAVE_RINTF 1
#define HAVE_TRUNCF 1
#define HAVE_SQRTF 1
#define HAVE_LOG10F 1
#define HAVE_LOGF 1
#define HAVE_LOG1PF 1
#define HAVE_EXPF 1
#define HAVE_EXPM1F 1
#define HAVE_ASINF 1
#define HAVE_ACOSF 1
#define HAVE_ATANF 1
#define HAVE_ASINHF 1
#define HAVE_ACOSHF 1
#define HAVE_ATANHF 1
#define HAVE_HYPOTF 1
#define HAVE_ATAN2F 1
#define HAVE_POWF 1
#define HAVE_FMODF 1
#define HAVE_MODFF 1
#define HAVE_FREXPF 1
#define HAVE_LDEXPF 1
#define HAVE_EXP2F 1
#define HAVE_LOG2F 1
#define HAVE_COPYSIGNF 1
#define HAVE_NEXTAFTERF 1
#define HAVE_CBRTF 1
#define HAVE_SINL 1
#define HAVE_COSL 1
#define HAVE_TANL 1
#define HAVE_SINHL 1
#define HAVE_COSHL 1
#define HAVE_TANHL 1
#define HAVE_FABSL 1
#define HAVE_FLOORL 1
#define HAVE_CEILL 1
#define HAVE_RINTL 1
#define HAVE_TRUNCL 1
#define HAVE_SQRTL 1
#define HAVE_LOG10L 1
#define HAVE_LOGL 1
#define HAVE_LOG1PL 1
#define HAVE_EXPL 1
#define HAVE_EXPM1L 1
#define HAVE_ASINL 1
#define HAVE_ACOSL 1
#define HAVE_ATANL 1
#define HAVE_ASINHL 1
#define HAVE_ACOSHL 1
#define HAVE_ATANHL 1
#define HAVE_HYPOTL 1
#define HAVE_ATAN2L 1
#define HAVE_POWL 1
#define HAVE_FMODL 1
#define HAVE_MODFL 1
#define HAVE_FREXPL 1
#define HAVE_LDEXPL 1
#define HAVE_EXP2L 1
#define HAVE_LOG2L 1
#define HAVE_COPYSIGNL 1
#define HAVE_NEXTAFTERL 1
#define HAVE_CBRTL 1
#define HAVE_DECL_SIGNBIT
#define HAVE_COMPLEX_H 1
#define HAVE_CABS 1
#define HAVE_CACOS 1
#define HAVE_CACOSH 1
#define HAVE_CARG 1
#define HAVE_CASIN 1
#define HAVE_CASINH 1
#define HAVE_CATAN 1
#define HAVE_CATANH 1
#define HAVE_CCOS 1
#define HAVE_CCOSH 1
#define HAVE_CEXP 1
#define HAVE_CIMAG 1
#define HAVE_CLOG 1
#define HAVE_CONJ 1
#define HAVE_CPOW 1
#define HAVE_CPROJ 1
#define HAVE_CREAL 1
#define HAVE_CSIN 1
#define HAVE_CSINH 1
#define HAVE_CSQRT 1
#define HAVE_CTAN 1
#define HAVE_CTANH 1
#define HAVE_CABSF 1
#define HAVE_CACOSF 1
#define HAVE_CACOSHF 1
#define HAVE_CARGF 1
#define HAVE_CASINF 1
#define HAVE_CASINHF 1
#define HAVE_CATANF 1
#define HAVE_CATANHF 1
#define HAVE_CCOSF 1
#define HAVE_CCOSHF 1
#define HAVE_CEXPF 1
#define HAVE_CIMAGF 1
#define HAVE_CLOGF 1
#define HAVE_CONJF 1
#define HAVE_CPOWF 1
#define HAVE_CPROJF 1
#define HAVE_CREALF 1
#define HAVE_CSINF 1
#define HAVE_CSINHF 1
#define HAVE_CSQRTF 1
#define HAVE_CTANF 1
#define HAVE_CTANHF 1
#define HAVE_CABSL 1
#define HAVE_CACOSL 1
#define HAVE_CACOSHL 1
#define HAVE_CARGL 1
#define HAVE_CASINL 1
#define HAVE_CASINHL 1
#define HAVE_CATANL 1
#define HAVE_CATANHL 1
#define HAVE_CCOSL 1
#define HAVE_CCOSHL 1
#define HAVE_CEXPL 1
#define HAVE_CIMAGL 1
#define HAVE_CLOGL 1
#define HAVE_CONJL 1
#define HAVE_CPOWL 1
#define HAVE_CPROJL 1
#define HAVE_CREALL 1
#define HAVE_CSINL 1
#define HAVE_CSINHL 1
#define HAVE_CSQRTL 1
#define HAVE_CTANL 1
#define HAVE_CTANHL 1
#define NPY_RESTRICT restrict
#define NPY_RELAXED_STRIDES_CHECKING 1
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
#define NPY_PY3K 1
#ifndef __cplusplus
/* #undef inline */
#endif

#ifndef _NPY_NPY_CONFIG_H_
#error config.h should never be included directly, include npy_config.h instead
#endif

EOF
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
Generating build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
 int exp (void);
     ^~~
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
File: build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h
#define NPY_HAVE_ENDIAN_H 1
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
#define NPY_SIZEOF_INT SIZEOF_INT
#define NPY_SIZEOF_LONG SIZEOF_LONG
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_COMPLEX_FLOAT 8
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#define NPY_SIZEOF_PY_INTPTR_T 8
#define NPY_SIZEOF_OFF_T 8
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
#define NPY_HAVE_DECL_ISFINITE
#define NPY_HAVE_DECL_SIGNBIT
#define NPY_USE_C99_COMPLEX 1
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_RELAXED_STRIDES_CHECKING 1
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
#define NPY_API_VERSION 0x0000000A

#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif

EOF
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
creating build/src.linux-aarch64-3.6/numpy/core/src/multiarray
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/scalartypes.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h
  adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
creating build/src.linux-aarch64-3.6/numpy/core/src/umath
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc
  adding 'build/src.linux-aarch64-3.6/numpy/core/src/umath' to include_dirs.
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/scalarmath.c
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.umath_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/umath_tests.c
building extension "numpy.core.test_rational" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/test_rational.c
building extension "numpy.core.struct_ufunc_test" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/struct_ufunc_test.c
building extension "numpy.core.multiarray_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/multiarray_tests.c
building extension "numpy.core.operand_flag_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/operand_flag_tests.c
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
creating build/src.linux-aarch64-3.6/numpy/linalg
  adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
building extension "numpy.linalg._umath_linalg" sources
  adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
conv_template:> build/src.linux-aarch64-3.6/numpy/linalg/umath_linalg.c
building extension "numpy.random.mtrand" sources
creating build/src.linux-aarch64-3.6/numpy/random
building data_files sources
build_src: building npy-pkg config files
/home/jp/.local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
running build_py
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/numpy
copying numpy/dual.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_distributor_init.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/matlib.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/add_newdocs.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/ctypeslib.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/version.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/__init__.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_globals.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/setup.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_import_tools.py -> build/lib.linux-aarch64-3.6/numpy
copying build/src.linux-aarch64-3.6/numpy/__config__.py -> build/lib.linux-aarch64-3.6/numpy
creating build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/py3k.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/__init__.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/setup.py -> build/lib.linux-aarch64-3.6/numpy/compat
creating build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/defchararray.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/machar.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/function_base.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/einsumfunc.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/numerictypes.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/shape_base.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/setup_common.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/__init__.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/info.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/arrayprint.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/getlimits.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/memmap.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/setup.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/_internal.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/_methods.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/numeric.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/cversions.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/records.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.linux-aarch64-3.6/numpy/core
creating build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/log.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/msvccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/__version__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/msvc9compiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/compat.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/environment.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/info.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/core.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying build/src.linux-aarch64-3.6/numpy/distutils/__config__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
creating build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
creating build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
creating build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/basics.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/glossary.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/internals.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/constants.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/__init__.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/indexing.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/misc.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/creation.py -> build/lib.linux-aarch64-3.6/numpy/doc
creating build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__version__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__init__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/info.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__main__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.linux-aarch64-3.6/numpy/f2py
creating build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/__init__.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/info.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/helper.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/setup.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/fftpack.py -> build/lib.linux-aarch64-3.6/numpy/fft
creating build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/format.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arraypad.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/user_array.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/financial.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/function_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_version.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/nanfunctions.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/utils.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/scimath.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/__init__.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/info.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/type_check.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/setup.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/npyio.py -> build/lib.linux-aarch64-3.6/numpy/lib
creating build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/__init__.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/info.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.linux-aarch64-3.6/numpy/linalg
creating build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/extras.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/version.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/__init__.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/setup.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/core.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/testutils.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/bench.py -> build/lib.linux-aarch64-3.6/numpy/ma
creating build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/__init__.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
creating build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
creating build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/__init__.py -> build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/info.py -> build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/setup.py -> build/lib.linux-aarch64-3.6/numpy/random
creating build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/nosetester.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/noseclasses.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/utils.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/decorators.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/__init__.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/setup.py -> build/lib.linux-aarch64-3.6/numpy/testing
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'npymath' library
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/build
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/npymath
creating build/temp.linux-aarch64-3.6/numpy
creating build/temp.linux-aarch64-3.6/numpy/core
creating build/temp.linux-aarch64-3.6/numpy/core/src
creating build/temp.linux-aarch64-3.6/numpy/core/src/npymath
compile options: '-Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/ieee754.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_complex.c
aarch64-linux-gnu-gcc: numpy/core/src/npymath/halffloat.c
aarch64-linux-gnu-gcc-ar: adding 4 object files to build/temp.linux-aarch64-3.6/libnpymath.a
building 'npysort' library
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/npysort
compile options: '-Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/quicksort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/mergesort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/heapsort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/selection.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/binsearch.c
aarch64-linux-gnu-gcc-ar: adding 5 object files to build/temp.linux-aarch64-3.6/libnpysort.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core._dummy' extension
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

compile options: '-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.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: numpy/core/src/dummymodule.c
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.6/numpy/core/src/dummymodule.o -Lbuild/temp.linux-aarch64-3.6 -lm -o build/lib.linux-aarch64-3.6/numpy/core/_dummy.cpython-36m-aarch64-linux-gnu.so
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating build/temp.linux-aarch64-3.6/numpy/core/src/multiarray
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/multiarray
creating build/temp.linux-aarch64-3.6/numpy/core/src/private
compile options: '-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.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/alloc.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/arrayobject.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_scalar.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_array.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/buffer.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/calculation.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/compiled_base.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/common.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert_datatype.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/conversion_utils.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/ctors.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_strings.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busday.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busdaycal.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/descriptor.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/dtype_transfer.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/flagsobject.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/getset.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/hashdescr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/item_selection.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/iterators.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/mapping.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/methods.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/multiarraymodule.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_api.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_constr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_pywrap.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/number.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpymemoryview.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpyos.c
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~
compilation terminated.
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~
compilation terminated.
error: Command "aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c numpy/core/src/multiarray/numpyos.c -o build/temp.linux-aarch64-3.6/numpy/core/src/multiarray/numpyos.o" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
 command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
     cwd: /tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64
Complete output (10 lines):
Running from numpy source directory.

`setup.py clean` is not supported, use one of the following instead:

  - `git clean -xdf` (cleans all files)
  - `git clean -Xdf` (cleans all versioned files, doesn't touch
                      files that aren't checked into the git repo)

Add `--force` to your command to use it anyway if you must (unsupported).

----------------------------------------
ERROR: Failed cleaning build dir for numpy

Failed to build numpy
Installing collected packages: wheel, setuptools, numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: still running…
Running setup.py install for numpy: still running…
Running setup.py install for numpy: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ install --record /tmp/pip-record-v92uadhk/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-4iox4ovg/overlay --compile --install-headers /tmp/pip-build-env-4iox4ovg/overlay/include/python3.6m/numpy
cwd: /tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/
Complete output (215 lines):
Running from numpy source directory.

  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:

    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)


  blas_opt_info:
  blas_mkl_info:
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE

  blis_info:
    libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE

  openblas_info:
    FOUND:
      libraries = ['openblas', 'openblas']
      library_dirs = ['/usr/lib/aarch64-linux-gnu']
      language = c
      define_macros = [('HAVE_CBLAS', None)]

    FOUND:
      libraries = ['openblas', 'openblas']
      library_dirs = ['/usr/lib/aarch64-linux-gnu']
      language = c
      define_macros = [('HAVE_CBLAS', None)]

  /bin/sh: 1: svnversion: not found
  non-existing path in 'numpy/distutils': 'site.cfg'
  /bin/sh: 1: svnversion: not found
  F2PY Version 2
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE

  openblas_lapack_info:
  customize UnixCCompiler
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

  creating /tmp/tmpsjno6343/tmp
  creating /tmp/tmpsjno6343/tmp/tmpsjno6343
  compile options: '-c'
  aarch64-linux-gnu-gcc: /tmp/tmpsjno6343/source.c
  /tmp/tmpsjno6343/source.c: In function ‘main’:
  /tmp/tmpsjno6343/source.c:4:13: warning: implicit declaration of function ‘zungqr_’; did you mean ‘zungqr’? [-Wimplicit-function-declaration]
               zungqr_();
               ^~~~~~~
               zungqr
  aarch64-linux-gnu-gcc -pthread /tmp/tmpsjno6343/tmp/tmpsjno6343/source.o -lopenblas -o /tmp/tmpsjno6343/a.out
    FOUND:
      libraries = ['openblas', 'openblas']
      library_dirs = ['/usr/lib/aarch64-linux-gnu']
      language = c
      define_macros = [('HAVE_CBLAS', None)]

    FOUND:
      libraries = ['openblas', 'openblas']
      library_dirs = ['/usr/lib/aarch64-linux-gnu']
      language = c
      define_macros = [('HAVE_CBLAS', None)]

  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running install
  /home/jp/.local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    setuptools.SetuptoolsDeprecationWarning,
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building py_modules sources
  building library "npymath" sources
  customize Gnu95FCompiler
  Found executable /usr/bin/gfortran
  customize Gnu95FCompiler
  customize Gnu95FCompiler using config
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

  compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

  compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
   int exp (void);
       ^~~
  aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
  _configtest.o: In function `main':
  /tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
  collect2: error: ld returned 1 exit status
  _configtest.o: In function `main':
  /tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/_configtest.c:6: undefined reference to `exp'
  collect2: error: ld returned 1 exit status
  failure.
  removing: _configtest.c _configtest.o
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

  compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
   int exp (void);
       ^~~
  aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  building library "npysort" sources
    adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
  None - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/npy_partition.h', 'build/src.linux-aarch64-3.6/numpy/core/src/private/npy_binsearch.h']
  building extension "numpy.core._dummy" sources
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
  executing numpy/core/code_generators/generate_numpy_api.py
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
  numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
  building extension "numpy.core.multiarray" sources
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
  executing numpy/core/code_generators/generate_numpy_api.py
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
    adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
  numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
  building extension "numpy.core.umath" sources
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
  executing numpy/core/code_generators/generate_ufunc_api.py
    adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
    adding 'build/src.linux-aarch64-3.6/numpy/core/src/umath' to include_dirs.
  numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h']
  building extension "numpy.core.umath_tests" sources
  building extension "numpy.core.test_rational" sources
  building extension "numpy.core.struct_ufunc_test" sources
  building extension "numpy.core.multiarray_tests" sources
  building extension "numpy.core.operand_flag_tests" sources
  building extension "numpy.fft.fftpack_lite" sources
  building extension "numpy.linalg.lapack_lite" sources
    adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
  building extension "numpy.linalg._umath_linalg" sources
    adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
  building extension "numpy.random.mtrand" sources
  building data_files sources
  build_src: building npy-pkg config files
  running build_py
  copying numpy/version.py -> build/lib.linux-aarch64-3.6/numpy
  copying build/src.linux-aarch64-3.6/numpy/__config__.py -> build/lib.linux-aarch64-3.6/numpy
  copying build/src.linux-aarch64-3.6/numpy/distutils/__config__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
  running build_clib
  customize UnixCCompiler
  customize UnixCCompiler using build_clib
  running build_ext
  customize UnixCCompiler
  customize UnixCCompiler using build_ext
  building 'numpy.core.multiarray' extension
  compiling C sources
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

  compile options: '-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.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/alloc.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/arrayobject.c
  aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_scalar.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_array.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/buffer.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/calculation.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/compiled_base.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/common.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert_datatype.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/conversion_utils.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/ctors.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_strings.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busday.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busdaycal.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/descriptor.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/dtype_transfer.c
  aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/flagsobject.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/getset.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/hashdescr.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/item_selection.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/iterators.c
  aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/mapping.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/methods.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/multiarraymodule.c
  aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_api.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_constr.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_pywrap.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/number.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpymemoryview.c
  aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpyos.c
  numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
   #include <xlocale.h>
            ^~~~~~~~~~~
  compilation terminated.
  numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
   #include <xlocale.h>
            ^~~~~~~~~~~
  compilation terminated.
  error: Command "aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c numpy/core/src/multiarray/numpyos.c -o build/temp.linux-aarch64-3.6/numpy/core/src/multiarray/numpyos.o" failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-bra0f4pe/numpy_5b828e6f437c48c98a66efed7e2dda64/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ install --record /tmp/pip-record-v92uadhk/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-4iox4ovg/overlay --compile --install-headers /tmp/pip-build-env-4iox4ovg/overlay/include/python3.6m/numpy Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/2d/1f/48a3a5b2c715345e7af1e09361100bd98c3d72b4025371692ab233f523d3/pycuda-2022.1.tar.gz#sha256=acd9030d93e76e60b122e33ad16bcf01bb1344f4c304dedff1cd2bffb0f313a3 (from Links for pycuda) (requires-python:~=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4iox4ovg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – setuptools wheel ‘numpy; python_version >= ‘"’“‘3.10’”’“‘’ 'numpy==1.19.5; python_version >= '”‘“‘3.8’”’“’ and python_version < '”‘“‘3.10’”’“‘’ 'numpy==1.15.4; python_version >= '”‘“‘3.7’”’“’ and python_version < '”‘“‘3.8’”’“‘’ 'numpy==1.12.1; python_version < '”‘“‘3.7’”’"‘’ Check the logs for full command output.

And again repeating the same process

Using cached pycuda-2021.1.tar.gz (1.7 MB)
Installing build dependencies … -

Hi,

Could you run the following command and try it again?

$ sudo ln -s /usr/include/locale.h /usr/include/xlocale.h

Thanks.

pip3 install pycuda
Defaulting to user installation because normal site-packages is not writeable
Collecting pycuda
Using cached pycuda-2022.1.tar.gz (1.7 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: appdirs>=1.4.0 in ./.local/lib/python3.6/site-packages (from pycuda) (1.4.4)
Requirement already satisfied: pytools>=2011.2 in ./.local/lib/python3.6/site-packages (from pycuda) (2022.1.12)
Requirement already satisfied: mako in ./.local/lib/python3.6/site-packages (from pycuda) (1.1.6)
Requirement already satisfied: dataclasses>=0.7 in ./.local/lib/python3.6/site-packages (from pytools>=2011.2->pycuda) (0.8)
Requirement already satisfied: typing-extensions>=4.0 in ./.local/lib/python3.6/site-packages (from pytools>=2011.2->pycuda) (4.1.1)
Requirement already satisfied: platformdirs>=2.2.0 in ./.local/lib/python3.6/site-packages (from pytools>=2011.2->pycuda) (2.4.0)
Requirement already satisfied: MarkupSafe>=0.9.2 in ./.local/lib/python3.6/site-packages (from mako->pycuda) (1.0)
Building wheels for collected packages: pycuda
Building wheel for pycuda (pyproject.toml) … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp8s4uefgi
cwd: /tmp/pip-install-ysmbgogr/pycuda_42e0e20cf042475184e3f48ee2bee50c
Complete output (133 lines):


*** I have detected that you have not run configure.py.


*** Additionally, no global config files were found.
*** I will go ahead with the default configuration.
*** In all likelihood, this will not work out.


*** See README_SETUP.txt for more information.


*** If the build does fail, just re-run configure.py with the
*** correct arguments, and then retry. Good luck!


*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT


Continuing in 10 seconds…
Continuing in 9 seconds…
Continuing in 8 seconds…
Continuing in 7 seconds…
Continuing in 6 seconds…
Continuing in 5 seconds…
Continuing in 4 seconds…
Continuing in 3 seconds…
Continuing in 2 seconds…
Continuing in 1 seconds…
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/pycuda
copying pycuda/autoprimaryctx.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/_mymako.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/_cluda.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/characterize.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/reduction.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/compiler.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/tools.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/curandom.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/gpuarray.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/init.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/autoinit.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/scan.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/elementwise.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/debug.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/cumath.py → build/lib.linux-aarch64-3.6/pycuda
copying pycuda/driver.py → build/lib.linux-aarch64-3.6/pycuda
creating build/lib.linux-aarch64-3.6/pycuda/gl
copying pycuda/gl/init.py → build/lib.linux-aarch64-3.6/pycuda/gl
copying pycuda/gl/autoinit.py → build/lib.linux-aarch64-3.6/pycuda/gl
creating build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/operator.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/inner.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/cg.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/packeted.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/init.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/pkt_build.py → build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/coordinate.py → build/lib.linux-aarch64-3.6/pycuda/sparse
creating build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/init.py → build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/array.py → build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/dtypes.py → build/lib.linux-aarch64-3.6/pycuda/compyte
running egg_info
writing pycuda.egg-info/PKG-INFO
writing dependency_links to pycuda.egg-info/dependency_links.txt
writing requirements to pycuda.egg-info/requires.txt
writing top-level names to pycuda.egg-info/top_level.txt
reading manifest file ‘pycuda.egg-info/SOURCES.txt’
reading manifest template ‘MANIFEST.in’
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: ‘test_requires’
warnings.warn(msg)
warning: no files found matching ‘doc/source/.rst’
warning: no files found matching ‘doc/source/conf.py’
warning: no files found matching 'doc/source/_static/
.css’
warning: no files found matching ‘doc/source/_templates/.html’
warning: no files found matching '
.cpp’ under directory ‘bpl-subset/bpl_subset/boost’
warning: no files found matching ‘.html’ under directory ‘bpl-subset/bpl_subset/boost’
warning: no files found matching '
.inl’ under directory ‘bpl-subset/bpl_subset/boost’
warning: no files found matching ‘.txt’ under directory ‘bpl-subset/bpl_subset/boost’
warning: no files found matching '
.h’ under directory ‘bpl-subset/bpl_subset/libs’
warning: no files found matching ‘.ipp’ under directory ‘bpl-subset/bpl_subset/libs’
warning: no files found matching '
.pl’ under directory ‘bpl-subset/bpl_subset/libs’
writing manifest file ‘pycuda.egg-info/SOURCES.txt’
creating build/lib.linux-aarch64-3.6/pycuda/cuda
copying pycuda/cuda/pycuda-complex-impl.hpp → build/lib.linux-aarch64-3.6/pycuda/cuda

Sorry, your build failed. Try rerunning configure.py with different options.

Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 363, in
main()
File “/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 345, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
File “/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 262, in build_wheel
metadata_directory)
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 230, in build_wheel
wheel_directory, config_settings)
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 215, in _build_with_temp_dir
self.run_setup()
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 267, in run_setup
self).run_setup(setup_script=setup_script)
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 158, in run_setup
exec(compile(code, file, ‘exec’), locals())
File “setup.py”, line 274, in
main()
File “setup.py”, line 269, in main
zip_safe=False,
File “/tmp/pip-install-ysmbgogr/pycuda_42e0e20cf042475184e3f48ee2bee50c/aksetup_helper.py”, line 24, in setup
setup(*args, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/setuptools/init.py”, line 163, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python3.6/distutils/core.py”, line 148, in setup
dist.run_commands()
File “/usr/lib/python3.6/distutils/dist.py”, line 955, in run_commands
self.run_command(cmd)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/tmp/pip-build-env-ws8raakj/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py”, line 299, in run
self.run_command(‘build’)
File “/usr/lib/python3.6/distutils/cmd.py”, line 313, in run_command
self.distribution.run_command(command)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/lib/python3.6/distutils/command/build.py”, line 135, in run
self.run_command(cmd_name)
File “/usr/lib/python3.6/distutils/cmd.py”, line 313, in run_command
self.distribution.run_command(command)
File “/usr/lib/python3.6/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/build_py.py”, line 58, in run
self.build_package_data()
File “/usr/local/lib/python3.6/dist-packages/setuptools/command/build_py.py”, line 132, in build_package_data
srcfile in self.distribution.convert_2to3_doctests):
AttributeError: ‘Distribution’ object has no attribute ‘convert_2to3_doctests’

ERROR: Failed building wheel for pycuda
Failed to build pycuda
ERROR: Could not build wheels for pycuda, which is required to install pyproject.toml-based projects

I have tried the above command but still getting issues mentioned above.

Hi,

Could you upgrade setuptools to the latest and try it again?

$ sudo pip3 install -U pip setuptools

Thanks.

After running the above command pycuda is successfully installed but still the same issue is coming while running pycuda program.

import pycuda.autoinit
ModuleNotFoundError: No module named ‘pycuda.autoinit’; ‘pycuda’ is not a package

Hi,

Do you use python3?
Thanks.

Yes I’m using the default python version coming with cuda toolkit i.e, python3.6.9

Hi,

ModuleNotFoundError: No module named ‘pycuda.autoinit’; ‘pycuda’ is not a package

Do you have a python script also named pycuda?
It looks like python is confused about the pycuda that needs to be loaded.

Thanks.

Your python script file name is test.py. This is ok.

File “test.py”, line 1, in
import pycuda.autoinit

But, your test.py import from /home/jp/CUDA_Programs/pycuda/pycuda.py.
This is the problem. This file is not a pip installed file.

File “/home/jp/CUDA_Programs/pycuda/pycuda.py”, line 1, in
import pycuda.autoinit
ModuleNotFoundError: No module named ‘pycuda.autoinit’; ‘pycuda’ is not a package

If your test.py exists as /home/jp/CUDA_Programs/pycuda/test.py, please change the directory.

mv /home/jp/CUDA_Programs/pycuda/test.py ~/
cd 
python3 test.py

To prevent this file from being imported preferentially, it is recommended that the file be renamed or deleted if there is no clear reason why this file name is needed.

/home/jp/CUDA_Programs/pycuda/pycuda.py

Thanks,
The issue was resolved.