[3.13] GH-118943: Remove regen-jit from the regen-all make target (GH-122840)
cherry picked from commit 8c9d1742de6e3c3232c96660291f109c23a3bc49)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Éric <merwok@netwok.org>
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 6b40228..39f771c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1663,7 +1663,7 @@
regen-all: regen-cases regen-typeslots \
regen-token regen-ast regen-keyword regen-sre regen-frozen \
regen-pegen-metaparser regen-pegen regen-test-frozenmain \
- regen-test-levenshtein regen-global-objects regen-jit
+ regen-test-levenshtein regen-global-objects
@echo
@echo "Note: make regen-stdlib-module-names, make regen-limited-abi, "
@echo "make regen-configure, make regen-sbom, and make regen-unicodedata should be run manually"
diff --git a/Misc/NEWS.d/next/Build/2024-08-02-12-59-15.gh-issue-118943.vZQtET.rst b/Misc/NEWS.d/next/Build/2024-08-02-12-59-15.gh-issue-118943.vZQtET.rst
new file mode 100644
index 0000000..42cda69
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2024-08-02-12-59-15.gh-issue-118943.vZQtET.rst
@@ -0,0 +1 @@
+Fix an issue where the experimental JIT could be built several times by the ``make regen-all`` target, leading to possible race conditions on heavily parallelized builds.