Finally here is the recommended set of flags for clang on Linux: export CC="clang" export CXX="clang++" export CLANG_DEFAULT_CXX_STDLIB="libc++"
Thanks to François for the hint. You'll need #24696 if giac doesn't install, which seems to occur with clang < 5. Best, On Sun, Feb 11, 2018 at 5:53 PM Ralf Stephan <gtrw...@gmail.com> wrote: > See https://trac.sagemath.org/ticket/24701#comment:5 for the current > state of clang on Linux. > > On Sun, Feb 11, 2018 at 3:39 PM Ralf Stephan <gtrw...@gmail.com> wrote: > >> Another bug uncovered. With CXXFLAGS='stdlib=libc++' scipy build fails >> with, of all things >> gfortran: error: unrecognized command line option '--stdlib=libc++' >> >> Huh? >> >> On Sun, Feb 11, 2018 at 11:40 AM Simon King <simon.k...@uni-jena.de> >> wrote: >> >>> Hi! >>> >>> On 2018-02-11, Ralf Stephan <gtrw...@gmail.com> wrote: >>> > Update with clang on Linux: sagelib ignores the --stdlib in CXX >>> (#24705) >>> > and fpylll apparently ignores the --stdlib in CXX and if you give it >>> in the >>> > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a >>> build >>> > blocker, the latter a critical because fpylll cannot be imported. I >>> think >>> > that's it all. >>> >>> I also get an error at build time, in ratpoints. See #24708. >>> >>> Best regards, >>> Simon >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sage-release" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to sage-release+unsubscr...@googlegroups.com. >>> To post to this group, send email to sage-release@googlegroups.com. >>> Visit this group at https://groups.google.com/group/sage-release. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.