linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Let Sphinx store cached bytecode under the output dir
@ 2025-04-25  0:08 Mauro Carvalho Chehab
  2025-04-25  0:08 ` [PATCH 1/1] docs: Makefile: store __pycache__ at the output directory Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2025-04-25  0:08 UTC (permalink / raw)
  To: Linux Doc Mailing List, Jonathan Corbet
  Cc: Mauro Carvalho Chehab, linux-kernel, Akira Yokosawa,
	Andy Shevchenko

Hi Jon,

I guess we can also apply this one. It works fine for documentation, as
it will store the __pycache__ directory under Documentation/output,
and should properly honor O=, as this is already handled by the doc
output logic. Also, make cleandocs will remove the entire output dir,
including the bytecode files and dir.

So, this should work fine for us.

IMO, we still need a generic solution to cover the other cases where
we're using PYTHONDONTWRITEBYTECODE=1, but, as on Sphinx
there are 634 temp files, this could hopefully speedup doc builds
a little bit on slower machines and/or when one is just rebuilding
docs with small changes.

Mauro Carvalho Chehab (1):
  docs: Makefile: store __pycache__ at the output directory

 Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-30 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  0:08 [PATCH 0/1] Let Sphinx store cached bytecode under the output dir Mauro Carvalho Chehab
2025-04-25  0:08 ` [PATCH 1/1] docs: Makefile: store __pycache__ at the output directory Mauro Carvalho Chehab
2025-04-25 18:10   ` Andy Shevchenko
2025-04-28 23:57     ` Jonathan Corbet
2025-04-30 15:42       ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).