What exactly should be set to start the Sage build using clang rather than gcc?
On Monday, October 3, 2016 at 6:32:45 AM UTC, François wrote: > > > > On 3/10/2016, at 09:33, François Bissey <francoi...@canterbury.ac.nz > <javascript:>> wrote: > > > >> linbox > > > > No news from upstream at > > https://github.com/linbox-team/linbox/issues/39 > > contributions welome. > > Well as it turns out the problem is only in the interface with > fplll which we are going to disable in the next fplll upgrade. > Word from upstream is that this particular interface is not > currently used by sage so it is all right to disable it. > > With fplll disabled in linbox all the standard packages are > now successfully building and installing with clang. > > The next challenge is sagelib itself: > [sagelib-7.4.beta6] [ 1/387] clang -fno-strict-aliasing > -I/Users/fbissey/build/sage/local/var/tmp/sage/build/python2-2.7.10.p2/include > > -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused > -I/Users/fbissey/build/sage/local/lib/python2.7/site-packages/cysignals > -I/Users/fbissey/build/sage/local/include > -I/Users/fbissey/build/sage/local/include/python2.7 > -I/Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include > > -I/Users/fbissey/build/sage/src -I/Users/fbissey/build/sage/src/sage/ext > -I/Users/fbissey/build/sage/src/build/cythonized > -I/Users/fbissey/build/sage/src/build/cythonized/sage/ext > -I/Users/fbissey/build/sage/local/include/python2.7 -c > /Users/fbissey/build/sage/src/build/cythonized/sage/finance/time_series.c > -o > build/temp.macosx-10.9-x86_64-2.7/Users/fbissey/build/sage/src/build/cythonized/sage/finance/time_series.o > > -fno-strict-aliasing > [sagelib-7.4.beta6] In file included from > /Users/fbissey/build/sage/src/build/cythonized/sage/finance/time_series.c:317: > > > [sagelib-7.4.beta6] In file included from > /Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4: > > > [sagelib-7.4.beta6] In file included from > /Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: > > > [sagelib-7.4.beta6] In file included from > /Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1777: > > > [sagelib-7.4.beta6] > /Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: > > warning: "Using deprecated NumPy API, disable it by " "#defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] > [sagelib-7.4.beta6] #warning "Using deprecated NumPy API, disable it by " > \ > [sagelib-7.4.beta6] ^ > [sagelib-7.4.beta6] > /Users/fbissey/build/sage/src/build/cythonized/sage/finance/time_series.c:15275:3: > > error: non-void function > '__pyx_pf_4sage_7finance_11time_series_10TimeSeries_106numpy' should return > a value [-Wreturn-type] > [sagelib-7.4.beta6] import_array(); > [sagelib-7.4.beta6] ^ > [sagelib-7.4.beta6] > /Users/fbissey/build/sage/local/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1532:144: > > note: expanded from macro 'import_array' > [sagelib-7.4.beta6] #define import_array() {if (_import_array() < 0) > {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray > failed to import"); return NUMPY_IMPORT_ARRAY_RETVAL; } } > [sagelib-7.4.beta6] > > ^ > [sagelib-7.4.beta6] 1 warning and 1 error generated. > > François > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.