ndarray / ndarray

NumPy-compatible multidimensional arrays in C++
BSD 2-Clause "Simplified" License
161 stars 35 forks source link

build on pypy3? #54

Open nbecker opened 7 years ago

nbecker commented 7 years ago

Any ideas?

sh BUILD-pyp3 
/home/nbecker/my-environment/bin/pypy3 /home/nbecker/scons/bootstrap/src/script/scons.py --config=force --debug=stacktrace --with-boost-include=/home/nbecker/my-environment/ndarray.new/../include --with-boost-lib=/home/nbecker/my-environment/ndarray.new/../lib --with-eigen-include=/usr/include/eigen3 --prefix=/home/nbecker/my-environment/ndarray.new/../.local install CCFLAGS=-g -O3 -march=native --boost-python-lib=boost_python3
scons: Reading SConscript files ...
Check building with Eigen... yes
Check building against fftw... yes

*** No errors detected
Check building against Boost.Test... yes
TypeError: expected an object with a buffer interface:
  File "<string>", line 63:

  File "/home/nbecker/scons/bootstrap/src/engine/SCons/SConf.py", line 646:
    ret = self.test(context, *args, **kw)
  File "/home/nbecker/my-environment/ndarray.new/Boost.NumPy/SConsChecks/python.py", line 56:
    match = re.search("(python.*)\.(a|so|dylib)", libfile)
  File "/home/nbecker/my-environment/lib-python/3/re.py", line 173:
    return _compile(pattern, flags).search(string)
TallJimbo commented 7 years ago

Where does libfile come? My guess is this is another SCons thing that still isn't compatible with Python 3 (I assume you've made your own changes to SCons to make it work with Python 3 at all?)

nbecker commented 7 years ago

I've made some progress, it is actually due to differences in pypy3 with distutils.sysconfig vars. For now I'm stuck on other issues.