Commit Graph

79 Commits

Author SHA1 Message Date
Ankur Verma
bb002cdd1a
[python3] Fix python3:x64-linux builds (#18405)
* Fix build

* Update vcpkg.json

* Fix build

Co-authored-by: Ankur Verma <ankurv@microsoft.com>
Co-authored-by: Ankur Verma <ankurv@nuc.hogwarts>
2021-06-25 14:46:56 -07:00
Christian Rendina
9d7244f2f6
[python3] Update to 3.9.5 (#17773)
* [python3] update to 3.9.5

* [vcpkg] update baseline

* [scripts] update to py 3.9.5
2021-05-26 15:09:28 -07:00
Robert Schumacher
4f942e1b11
[python3] Disable registry access to determine WinSDK (#17579)
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-04-29 13:30:24 -07:00
Adam Johnson
aaa6a031ce
[python3] Add feature deprecated-win7-support. (#16420)
* [python3] Move /MACHINE into MSBuild file.

This prevents potential patch application conflicts.

* [python3] Add feature deprecated-win7-support.

This backports the fix for bpo-39401 from the Python 3.8 branch instead
of the one from the Python 3.9 branch, which dropped support for Windows
7.

* [python3] Bump port version.

* [python3] Fix goof in static patch that omitted pathcch.lib.

* x-add-version

* [python3] Revert trivial patch changes

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:09:14 -07:00
Adam Johnson
0daf0111b2
[python3] upgrade to 3.9.2 (#16315)
* [python3] Update to 3.9.2.

* x-add-version
2021-02-24 14:01:02 -08:00
Adam Johnson
378ffbb940
[python3] Add vcpkg-cmake-wrapper. (#15221)
* [python3] Add vcpkg-cmake-wrapper.cmake.

This is still a WIP... For now, we only remove registry detection on
Windows.

* [python3] Fix Windows static embedding linkage.

* [python3] Fix Linux static library embedding.

* [python3] Fix linkage on macOS.

* [python3] Only link extra libs when static.

* [python3] Bump port version for vcpkg-cmake-wrapper.

* [itk] Remove obsolete Python artifact specification.

* [pybind11] Remove obsolete Python artifact specification.

* [python3] Mark `find_package()` calls as REQUIRED.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [python3] Bump port version after #15378.

* [python3] Be more selective about when to unleash the nukes.

* [python3] Add usage message.

* [python3] Don't swallow `vcpkg_find_acquire_program`'s Python3.

* [python3] Don't forcibly change the registry find state.

* [python3] fix copypasta error

* [python3] Fix config error with the opensubdiv port.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-01-05 13:39:53 -08:00
Billy O'Neal
b12f78c3ed
[antlr4,python3] Resolve cross port conflicts (#15378)
* [python3] Add vcpkg's include directories to the end rather than to the beginning.

This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all.

* [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h.

This is consistent with the ubuntu packages.
2020-12-29 16:34:43 -08:00
Adam Johnson
bdb225bc68
[python3] Build interpreter (#14891) 2020-12-18 12:00:45 -08:00
Adam Johnson
46068e8a37
[python3] Upgrade to 3.9.0 (#14510)
* [python3] Bump to 3.8.6.

* [python3] Bump to 3.9.0.

* [itk] Correct python artifact names.

* [pybind11] Update python artifact names.

* [vcpkg_find_acquire_program] Bump PYTHON3 to 3.9.0.
2020-11-20 09:44:51 -08:00
Jack·Boos·Yu
ae562b7841
[python3] Fix installation on OpenSUSE (#13274) 2020-09-04 22:23:57 -07:00
Adam Johnson
8e3c304269
[python3] Fix building x86-windows-static triplet on VS 2017. (#12412) 2020-07-14 08:43:02 -07:00
Adam Johnson
e1783c68c4
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3.

[vtk] Update to Python 3.8 and fix improper Python3 artifact
specification.

* [python3] Fix static linking, broken in 121faf2.

* [hyperscan] Add missing build dependency (fixes CI on macOS).
2020-06-11 22:23:26 -07:00
NancyLi1013
4c1db6840f
[python3] Fix dynamic build error on Linux (#11489)
* [python3] Fix dynamic build error on Linux

* Update baseline to resolve the regression
2020-05-21 11:39:48 -07:00
Stefano Sinigardi
614ac279da
[python3] fix build on macOS and linux (#10841)
* [python3] fix build on macOS and linux

* update ci baseline
2020-04-16 11:57:59 -07:00
MACHIZAUD Andréa
e48fe56787
[python3] Modernize port + added --enable-shared (#9978) 2020-03-10 12:25:18 -07:00
xabbudm
e3dfd4a9fa [VCPKG] WinHTTPOption for company Proxy not correctly taken into account (#9372)
* fixes to get vcpkg up and running when behind corporate proxy

* clean up of code to check if HTTP_PROXY environment variable is set

*  fixed compiler errors for non win32 systems

* [vcpkg] Simplify HTTPS_PROXY code for WinHTTP

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-16 13:56:28 -08:00
Alvin
dafe7f9d9a [python3] Fix CONTROL Version (#9173) 2019-12-13 16:16:31 -08:00
heydojo
d02bfe065d Prevent python3 build failure (#9014)
* Prevent python3 build failure

If VCPKG_BUILD_TYPE release is set inside a
triplet, then the build will fail because
the port file attempts to deal with debug
files which will never exist. The changes
in this patch allow the build to succeed
if VCPKG_BUILD_TYPE release is stipulated
using a triplet before a build of the
python3 port is initiated.

* python3 version bump

Port clean up and version number
bump.

* libxslt release triplet build fix

This patch fixes a condition where
if a debug build is disabled via
triplet, the build fails and an
empty directory error message
is sent to the console.
2019-11-18 14:04:25 -08:00
Long Huan
fe3e544fa5 [python3]make python3 support unix (#8055)
* support unix

* Update portfile.cmake

call vcpkg_execute_build_process instead of vcpkg_execute_required_process
2019-09-29 18:58:00 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
yurybura
121faf2ee2 [python3] Update to v3.7.3 2019-03-26 16:09:04 +03:00
Bobby Martin
aa09555991 [hyperscan] New port (#5285)
* add support for building hyperscan

* patch hyperscan to work with latest boost

* correct hyperscan source dir name

* speed the build by depending on only the parts of boost we actually need

* make python3 support release-only builds

* upgrade to hyperscan 5.1.0

* remove redundant disambiguate patch

* Add comments about how to build

* restore original x64-windows-static.cmake

* [hyperscan] Check linkage

* [python3] Allow DLLs without LIBs

* [hyperscan] Only static library

* [python3] Revert changes that cause regression in boost-python

* [python3] Revert changes that cause regression in boost-python
2019-02-06 17:21:23 -08:00
Robert Schumacher
660745956a [boost][python3] Fix building with VS 2019 2019-01-30 14:27:10 -08:00
Miodrag Milanović
1459dbfa51 Fix for python3 compile, fixes issue 3715 (#3827)
* Fix for python3 compile, fixes issue 3715

* [python3] Use PATCHES of vcpkg_from_github
2018-07-03 00:59:02 -07:00
Alexander Karatarakis
5ab4a6f673 [python3] Fix folder handling 2018-04-26 18:17:01 -07:00
Daniel Strommen
56560864e9 Include windows.h before including consoleapi.h (#3050)
* Include windows.h before including consoleapi.h

Issue: cpython fails to build against Windows Insider Preview SDK 17115

Root Cause: Failure to include windows.h before other Windows headers (consoleapi.h)

Solution: Include windows.h before consoleapi.h

If you don't include Windows.h before other Windows headers, then your code
is likely to break with new versions of the Windows Platform SDK, as headers
move around or new intraheader dependencies are added.  That is what happened
here.

* Remove redundant consoleapi.h

The documented header for all the console API's is windows.h,
which includes wincon.h which includes consoleapi.h.  Consoleapi.h
used to also include windows.h, but this caused a circular dependency.
So, adjusting this to only include windows.h and omit the consoleapi.h
which is redundant.

* [python3] formatting
2018-03-18 04:31:30 -07:00
Albert Ziegenhagel
23962328a4 [python3] Update to 3.6.4 2018-01-04 17:55:01 +01:00
Martin Müller
683d8a8820 Add warning for unsupported linkage combination
Don't remove source directories
Install Python's standard library
2017-05-20 10:58:30 +02:00
Martin Müller
aea0653a8b Add port for Python 3 2017-05-19 23:31:04 +02:00