>  Do you know how to control it?

I'd been looking at this once, to no avail. Locally I just use CC=clang++ now.

On Fri, May 3, 2019 at 10:11 AM Drew Parsons <dpars...@debian.org> wrote:
>
> On 2019-04-29 15:49, Nico Schlömer wrote:
> >> No easy way around it.
> >
> > Indeed.
> >
> >> Building with -g -O1 (or -O2 without -g) helps mshr, we can test if it
> >> helps pygalmesh too.
> >
> > Removing `-g` almost certainly improves things. Using clang++ instead
> > of c++ also helps.
>
>
> I can remove Debian's -g flag easily enough (CFLAGS from
> dpkg-buildflags).
>
> But you can see in the log that -g is invoked twice in the gcc call.
>
> The first -g comes from the default compiler flags invoked by setup.py
> when compiling an extension.  I can't see how to control or remove this
> one.  The distutils.Extension documentation is sparse. Do you know how
> to control it?
>
> Drew

Reply via email to