On Tue, Nov 30, 2021 at 09:10:11PM +0200, Andy Shevchenko wrote:
> On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote:
> > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote:
> > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote:
> > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shev
On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote:
> On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote:
> > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote:
> > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote:
> > > > +#
> > > > +# Do not pollute source tree with cache
On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote:
> On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote:
> > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote:
>
> > > +#
> > > +# Do not pollute source tree with cache files:
> > > +# https://stackoverflow.com/a/60024195/25
On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote:
> On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote:
> > +#
> > +# Do not pollute source tree with cache files:
> > +# https://stackoverflow.com/a/60024195/2511795
> > +# https://bugs.python.org/issue33499
> > +#
> > +sys.pycache_prefi
On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote:
> Importing libraries in Python caches the bytecode by default.
> Since we run scripts in source tree it ignores the current directory
> settings, which is $(srctree), and creates cache just in the middle
> of the source tree. Move c
Importing libraries in Python caches the bytecode by default.
Since we run scripts in source tree it ignores the current directory
settings, which is $(srctree), and creates cache just in the middle
of the source tree. Move cache to the current directory.
Signed-off-by: Andy Shevchenko
---
tools
6 matches
Mail list logo