You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modules/Setup can disable a module. However makesetup does not take *disabled* into account when it generated Makefile.
Example:
---Modules/Setup.local
*disabled*
pwd
---
makesetup generates a Makefile with "pwd" in MODDISABLED_NAMES and MODBUILT_NAMES. Because "pwd" is in MODBUILT_NAMES the module is built and included in python binary.
Expected result:
"pwd" module should not be built.
Activity
tiran commentedon Dec 9, 2021
Modules/Setup can disable a module. However makesetup does not take *disabled* into account when it generated Makefile.
Example:
---Modules/Setup.local
*disabled*
pwd
---
makesetup generates a Makefile with "pwd" in MODDISABLED_NAMES and MODBUILT_NAMES. Because "pwd" is in MODBUILT_NAMES the module is built and included in python binary.
Expected result:
"pwd" module should not be built.
tiran commentedon Dec 10, 2021
New changeset 036bbb1 by Christian Heimes in branch 'main':
bpo-46023: Fix makesetup handling of disabled rule (GH-30001)
036bbb1
tiran commentedon Dec 14, 2021
#74187 may have introduced a regression. makesetup is dropping too many modules. Back to the drawing board!
tiran commentedon Dec 14, 2021
New changeset 74821b3 by Christian Heimes in branch 'main':
bpo-46023: Skip build if module is marked as DISABLED (GH-30100)
74821b3
tiran commentedon Apr 1, 2022
New changeset abdd69c by Christian Heimes in branch 'main':
bpo-46023: makesetup: skip all duplicate modules (GH-32234)
abdd69c