forked from pld-linux/python3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython3-installcompile.patch
More file actions
30 lines (28 loc) · 1.47 KB
/
python3-installcompile.patch
File metadata and controls
30 lines (28 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -urNp -x '*.orig' Python-3.9.2.org/Makefile.pre.in Python-3.9.2/Makefile.pre.in
--- Python-3.9.2.org/Makefile.pre.in 2021-02-25 18:42:02.242771533 +0100
+++ Python-3.9.2/Makefile.pre.in 2021-02-25 18:42:03.919490432 +0100
@@ -1262,7 +1262,7 @@ altinstall: commoninstall
commoninstall: check-clean-src @FRAMEWORKALTINSTALLFIRST@ \
altbininstall libinstall inclinstall libainstall \
- sharedinstall oldsharedinstall altmaninstall \
+ sharedinstall oldsharedinstall altmaninstall installcompile \
@FRAMEWORKALTINSTALLLAST@
# Install shared libraries enabled by Setup
@@ -1530,6 +1530,8 @@ libinstall: build_all $(srcdir)/Modules/
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
$(DESTDIR)$(LIBDEST)/distutils/tests ; \
fi
+
+installcompile: libainstall libinstall
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
-j0 -d $(LIBDEST) -f \
@@ -1938,7 +1940,7 @@ Python/thread.o: @THREADHEADERS@ $(srcdi
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
.PHONY: frameworkaltinstallunixtools recheck clean clobber distclean
-.PHONY: smelly funny patchcheck touch altmaninstall commoninstall
+.PHONY: smelly funny patchcheck touch altmaninstall installcompile commoninstall
.PHONY: clean-retain-profile profile-removal run_profile_task
.PHONY: build_all_generate_profile build_all_merge_profile
.PHONY: gdbhooks