-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
I just checked out fresh copy of master. I had to fix one config test 1st:
diff --git a/python.py b/python.py
index 21a918e..e99445e 100644
--- a/python.py
+++ b/python.py
@@ -97,8 +97,12 @@ def CheckNumPy(context):
#undef _DEBUG
#include "Python.h"
#include "numpy/arrayobject.h"
+#if PY_MAJOR_VERSION == 2
void doImport() {
- import_array();
+#else
+void * doImport() {
+#endif
+ import_array();
}
int main()
{
But now build stops, hard to track this down:
/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
Metadata
Metadata
Assignees
Labels
No labels