This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v11] Add pretty printers for the NPTL lock types
- From: Martin Galvan <omgalvan dot 86 at gmail dot com>
- To: libc-alpha at sourceware dot org, siddhesh at sourceware dot org, joseph at codesourcery dot com
- Date: Thu, 8 Dec 2016 18:01:13 -0300
- Subject: Re: [PATCH v11] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1612081855170.9769@digraph.polyomino.org.uk>
On Thu, Dec 8, 2016 at 18:56, Joseph Myers wrote:
> After a build and test run I see files scripts/test_printers_common.pyc
> and scripts/test_printers_exceptions.pyc created in the source directory.
> We'd like to be able to build with read-only source directories, could the
> tests be fixed not to create .pyc files (e.g. use python -B) or to create
> them in the build directory?
Sure, feel free to do so. I believe you could achieve that by setting PYTHON to 'python -B' in Rules, or maybe defining a separate PYTHONFLAGS variable.
I'd love to do it myself but I don't have access to a testing machine right now. It's a small change though, so it shouldn't be an issue.