mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Adds support for building our own Python containers
This will be triggered when -c is used with pymultic and there is no official Python container available for the version(s) specified.
This commit is contained in:
parent
7869a08f27
commit
9bb40a1faa
3 changed files with 138 additions and 25 deletions
16
scripts/python-builds/Python-3.1.5.patch
Normal file
16
scripts/python-builds/Python-3.1.5.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
||||
index e01cd2745a..dcf465e30e 100644
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -817,6 +817,11 @@ bininstall: altbininstall
|
||||
else true; \
|
||||
fi
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3$(EXE))
|
||||
+ -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
|
||||
+ then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
|
||||
+ else true; \
|
||||
+ fi
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)$(EXE))
|
||||
-rm -f $(DESTDIR)$(BINDIR)/python3-config
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config)
|
||||
-rm -f $(DESTDIR)$(LIBPC)/python3.pc
|
||||
Loading…
Add table
Add a link
Reference in a new issue