You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/python3 /home/nbecker/scons/bootstrap/src/script/scons.py --config=force --debug=stacktrace --with-boost-include=/home/nbecker/ndarray.new/../include --with-boost-lib=/home/nbecker/ndarray.new/../lib --with-eigen-include=/usr/include/eigen3 --prefix=/home/nbecker/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
Check building against Python... yes
Check building against NumPy... yes
Checking for SWIG...no
Check building against Boost.Preprocessor... yes
Check building against Boost.Python... yes
File "<string>", line 20
bin = env.Program(target="%s.test" % source, source=source)
^
TabError: inconsistent use of tabs and spaces in indentation
Thanks. Fix will be up shortly; I'm trying to reproduce this with the CI system I'm putting together right now, but if I can't get that working quickly I'll just apply your patch.
I don't understand how you're building on Python 3 at all using SCons; did you hack your SCons install? SCons itself claims not to support Python 3, and indeed the one I have does not work with the command you've shown above. I've pretty much switched to using CMake build myself, and that definitely works with Python 3. It looks like there are also other places where Python 2 is assumed in the SConsChecks submodule, which makes sense if it's assuming only Python 2 is possible via SCons.
I don't seen any indentation problems in tests/SConscript; are you sure that isn't something local?
I don't understand how you're building on Python 3 at all using
SCons; did you hack your SCons install? SCons itself claims not to support
Python 3, and indeed the one I have does not work with the command you've
shown above. I've pretty much switched to using CMake build myself, and
that definitely works with Python 3. It looks like there are also other
places where Python 2 is assumed in the SConsChecks submodule, which makes
sense if it's assuming only Python 2 is possible via SCons.
I don't seen any indentation problems in tests/SConscript; are you
sure that isn't something local?
Activity
nbecker commentedon Jun 27, 2016
Found the problem:
TallJimbo commentedon Jun 27, 2016
Thanks. Fix will be up shortly; I'm trying to reproduce this with the CI system I'm putting together right now, but if I can't get that working quickly I'll just apply your patch.
TallJimbo commentedon Jun 27, 2016
So, this wasn't as simple as I thought:
tests/SConscript; are you sure that isn't something local?nbecker commentedon Jun 27, 2016
Yes I hacked scons - although there should be a usable upstream version at
this point
I don't know how tests/SConscript got a problem since I am working from a
clean pull and didn't touch it AFAIK, but anyway untabify fixed it for me.
On Mon, Jun 27, 2016 at 10:12 AM, Jim Bosch notifications@github.com
wrote:
Those who don't understand recursion are doomed to repeat it
TallJimbo commentedon Jun 27, 2016
I've submitted a PR for the first issue at classner/SConsChecks#1. I'll keep this open until that's done and the submodule is updated.