mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:46:49 +08:00
[vcpkg baseline][python3] Fix race during parallel install (#21734)
* Fix race in parallel install * Update versions
This commit is contained in:
parent
3f56cc65d8
commit
a515872b1a
15
ports/python3/0008-fix-parallel-install.patch
Normal file
15
ports/python3/0008-fix-parallel-install.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
||||
index 790d974..88fc444 100644
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -2019,6 +2019,10 @@ Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
|
||||
.PHONY: build_all_generate_profile build_all_merge_profile
|
||||
.PHONY: gdbhooks
|
||||
|
||||
+# Serialize targets which may create <prefix>/lib
|
||||
+libinstall: altbininstall
|
||||
+libainstall: altbininstall
|
||||
+
|
||||
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
||||
# Local Variables:
|
||||
# mode: makefile
|
@ -13,6 +13,7 @@ set(PATCHES
|
||||
0003-devendor-external-dependencies.patch
|
||||
0004-dont-copy-vcruntime.patch
|
||||
0005-only-build-required-projects.patch
|
||||
0008-fix-parallel-install.patch
|
||||
)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
list(PREPEND PATCHES 0001-static-library.patch)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "python3",
|
||||
"version-semver": "3.10.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "The Python programming language",
|
||||
"homepage": "https://github.com/python/cpython",
|
||||
"supports": "!(arm | uwp)",
|
||||
|
@ -5466,7 +5466,7 @@
|
||||
},
|
||||
"python3": {
|
||||
"baseline": "3.10.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f2b8029e8ffdc1cbbff8a40346ef5fa82c811616",
|
||||
"version-semver": "3.10.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "c8c0f995b8f1831fc7f345329c2ce0a80d717551",
|
||||
"version-semver": "3.10.0",
|
||||
|
Loading…
Reference in New Issue
Block a user