mirror of https://github.com/microsoft/vcpkg.git
[Python3] cross build support (#27830)
* [python3] Python3 cross support * [python3] update python3 port versions * [python3] : add option when cross build * [python3] port-verionsing * python3 : port-version to change 1 * [python3] versioning * [python3] change baseline update * [python3] git tree change * [python3] port-version change * [python] version 2
This commit is contained in:
parent
d339eededc
commit
1937b15357
|
|
@ -224,12 +224,18 @@ else()
|
||||||
"--without-readline"
|
"--without-readline"
|
||||||
"--disable-test-modules"
|
"--disable-test-modules"
|
||||||
)
|
)
|
||||||
|
if (VCPKG_CROSSCOMPILING)
|
||||||
|
list(APPEND OPTIONS "ac_cv_file__dev_ptmx=no")
|
||||||
|
list(APPEND OPTIONS "ac_cv_file__dev_ptc=no")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(VCPKG_TARGET_IS_OSX)
|
if(VCPKG_TARGET_IS_OSX)
|
||||||
list(APPEND OPTIONS "LIBS=-liconv -lintl")
|
list(APPEND OPTIONS "LIBS=-liconv -lintl")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
DETERMINE_BUILD_TRIPLET
|
||||||
OPTIONS ${OPTIONS}
|
OPTIONS ${OPTIONS}
|
||||||
OPTIONS_DEBUG "--with-pydebug"
|
OPTIONS_DEBUG "--with-pydebug"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "python3",
|
"name": "python3",
|
||||||
"version": "3.10.7",
|
"version": "3.10.7",
|
||||||
"port-version": 1,
|
"port-version": 2,
|
||||||
"description": "The Python programming language",
|
"description": "The Python programming language",
|
||||||
"homepage": "https://github.com/python/cpython",
|
"homepage": "https://github.com/python/cpython",
|
||||||
"license": "Python-2.0",
|
"license": "Python-2.0",
|
||||||
|
|
|
||||||
|
|
@ -6050,7 +6050,7 @@
|
||||||
},
|
},
|
||||||
"python3": {
|
"python3": {
|
||||||
"baseline": "3.10.7",
|
"baseline": "3.10.7",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"qca": {
|
"qca": {
|
||||||
"baseline": "2.3.4",
|
"baseline": "2.3.4",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "84623885a79a6bbf45a2bc65ab3328005af389ea",
|
||||||
|
"version": "3.10.7",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "cd1c4998e317f9fcfed85a04c1e276dff9ddde84",
|
"git-tree": "cd1c4998e317f9fcfed85a04c1e276dff9ddde84",
|
||||||
"version": "3.10.7",
|
"version": "3.10.7",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue