]> code.ossystems Code Review - openembedded-core.git/commit
python3-native: Drop opt-1 and opt-2 pyc files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Mar 2022 13:52:29 +0000 (13:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Mar 2022 17:13:10 +0000 (17:13 +0000)
commitfd66de439273b245c1d0bcfb32f2c847e3cddd6b
tree82064d52bdd8923fae353e4d25a9b931d4c64f84
parentd1aba25b2559041c96735b58424baf8862796095
python3-native: Drop opt-1 and opt-2 pyc files

There are over 3,000 of these in python3-native (of 8,000+ files total) and
copying them to sysroots all the time seems pointless, particularly since
they're only used if python is run with the -O or -OO parameters.

Get rid of them and save the overhead. This is particularly pronounced in
builds using the api-documentation distro feature.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.10.2.bb