Commit Graph

859 Commits

Author SHA1 Message Date
Alonso Schaich 9edc4f5f22
[vcpkg_find_acquire_program(NINJA)] Do not check version of system ninja on FreeBSD (#46345) 2025-07-13 11:32:40 -07:00
Colin Cornaby fb7ba3b89b
[vcpkg scripts] Adding support for visionOS (#45464) 2025-06-25 11:52:26 -07:00
Kai Pastor 6fa128f2b6
[msys2 scripts] Update, adapt to cygwin MACHTYPE (#45839) 2025-06-11 12:25:17 -07:00
xavier2k6 7cd98cf2b7
[vcpkg scripts] Update Strawberry Perl to 5.40.2.1 (#45805) 2025-06-04 01:58:03 -07:00
Kai Pastor a53a387bea
[vcpkg scripts] Improve vcpkg_find_acquire_program GN and tests (#45344) 2025-05-14 16:45:37 -04:00
Riccardo Ressi 11972bdace
[vcpkg_from_github]: add support for fine-grained GH tokens (#44241) 2025-04-24 19:14:49 -07:00
Olivier 71926c1c8b
[vcpkg scripts] fix relative_tool_dir debug match (#44287)
Co-authored-by: Olivier PELLET-MANY <olivier.pellet-many@biologic.net>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2025-03-24 00:37:03 -07:00
Billy O'Neal 57f42c11b1
Turns out DOWNLOADS might not exist after all. (#44543) 2025-03-21 17:09:22 -07:00
Billy O'Neal 93c2011767
Support FILENAME with / in vcpkg_download_distfile. (#44537) 2025-03-21 13:46:15 -07:00
Billy O'Neal d504de05dc
Delete handling for --x-use-aria2, avoid duplicate file hashing, and fix hash mismatch message. (#43418) 2025-01-31 01:58:35 +00:00
Billy O'Neal f24aa3d373
Downgrade win_flex_bison to 2.5.24. (#43539) 2025-01-30 11:08:22 -08:00
Billy O'Neal 4eeb300260
vcpkg_check_linkage: Better explain the ONLY_DYNAMIC_LIBRARY situation (#42508) 2025-01-25 06:45:02 +00:00
Kai Pastor f576077538
[vcpkg script] Update ninja to 1.12 (#41980) 2025-01-15 15:57:54 -08:00
WangWeiLin-MV edb4f4d8c7
[scripts/vcpkg_install_make] Keep LOGFILE_ROOT undefined since CMake 3.31.0 (#43165) 2025-01-11 12:19:23 -08:00
Boris Petkov 6e50d48dc8
Update Nuget to Version 6.11.1 (#43012) 2024-12-31 11:33:12 -05:00
Javier Matos 0c4cf19224 vcpkg_extract_archive: use vcpkg.exe z-extract 2024-12-09 15:30:03 -05:00
Osyotr 7812310b2b
[scripts] More isolation for VFAP(PYTHON3) (#41874) 2024-12-05 12:44:25 -08:00
Mengna-Li f71a7bb13d
[7zip] update to 24.09 (#42491) 2024-12-05 12:43:58 -08:00
溪 a02df3dc73
[vcpkg_find_acquire_program(NASM).cmake] Update to version 2.16.03 (#42432) 2024-12-03 16:25:51 -08:00
derekcyruschow-catapult afc0741a72
Fix osx-dynamic install names for updated dependent shared library ids (#39889) 2024-11-28 11:49:29 -08:00
huangqinjin 6ae3ccc87c
[vcpkg_copy_pdbs] Fix PDB path matching for link.exe on Wine (#42265) 2024-11-25 12:32:34 -08:00
Kai Pastor 9b5cb8e554
[vcpkg_build_nmake] Fix /MP -> /FS transformation (#41815) 2024-11-14 03:16:06 -08:00
Alexander Neumann b36dc82016
[scripts] allow / in WindowsSDKVersion (#42139) 2024-11-14 02:05:03 -08:00
Billy Robert O'Neal III d033613d90 [vcpkg scripts] Simplify vcpkg_download_distfile output handling for Asset Caching 2024-11-11 14:28:57 -08:00
Timofei Zhakov 6480b0fa85
[serf] new port (build using scons) (#41043) 2024-11-11 00:11:29 -08:00
jim wang 6dbc951463
[vcpkg-script] vcpkg_copy_pdbs() modify the regular matching of the pdb file path (#41609) 2024-11-07 01:43:56 -08:00
Javier Matos Denizac 7fd612ee1c
Revert msiexec dependency by adding using vcpkg.exe to unpack 7z.exe #41604 (#41973) 2024-11-05 21:29:42 +00:00
Javier Matos Denizac 2964ea8e32
Remove msiexec dependency by adding using `vcpkg.exe` to unpack `7z.exe` (#41604)
Co-authored-by: Javier Matos <javiermatos@Javiers-Laptop.local>
2024-11-04 14:24:25 -05:00
Kai Pastor 359a5bb0ce
[scripts] Update msys2 packages (#41665) 2024-10-24 22:01:19 -07:00
Osyotr 7dcb4ca95b
[python3] Update port to 3.11.10, tools to 3.12.7 (#41232) 2024-10-17 22:25:41 -07:00
Stefano Sinigardi 1059769c51
[vcpkg scripts] enable patchelf on windows for cross-compiling toolchains (#41578) 2024-10-17 02:55:22 -07:00
autoantwort c45ac46dcc
z_vcpkg_fixup_rpath_macho.cmake: Fix empty list check (#41443) 2024-10-09 15:57:18 -07:00
Kai Pastor d0d081b3fc
[vcpkg_find_acquire_program] Fix extraction, cleanup (#40916) 2024-10-09 15:46:43 -04:00
Osyotr ee08875bfb
[qt5] Update to 5.15.15 (#40809) 2024-09-08 11:46:15 -07:00
Nikita Fediuchin 05f7a52d9e
[vcpkg scripts] Update Strawberry Perl version (#40662)
Co-authored-by: Jon <v-zhli17@microsoft.com>
2024-09-03 13:40:08 -07:00
Lily Wang b0b544f4e6
[7zip] Update to 24.08 (#40440)
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2024-08-14 15:56:52 -07:00
derekcyruschow-catapult 8babf36466
[vcpkg] fix find_library suffix/prefix definitions for iOS (#39972)
Co-authored-by: Derek Cyrus-Chow <derek.chow@catapult.com>
2024-07-27 01:18:48 -07:00
autoantwort a68201b181
[vcpkg-scripts] z_vcpkg_fixup_macho_rpath_in_dir: Call install_name_tool only once (#39995) 2024-07-27 01:13:32 -07:00
Landry Norris a2938d0e28
[vcpkg-scripts] Exclude .a files from patchelf (#40048) 2024-07-26 14:09:56 -07:00
Kai Pastor 5a5242aee4
[world rebuild][vcpkg scripts] Test, fix, extend vcpkg_execute_required_process (#39445)
Fixes `OUTPUT_VARIABLE`, `ERROR_VARIABLE`. 

vcpkg always wants logfiles. CMake (`execute_process`) doesn't send
stdout/stderr to files and variables at the same time, and even "the
precedence is not specified". So simultaneous output has to be handled
in `vcpkg_execute_required_process`.

At this occasion, port the arguments for stripping trailing whitespace.

`tensorflow-common` implicitly relied on the broken behavior. I chose
the minimal fix: drop the pointless calls, just set the empty value.
2024-06-28 22:21:10 -07:00
Alexander Neumann 1b72637922
[scripts] Fix wasm builds (#39106) 2024-06-28 17:28:34 -07:00
Matthias Kuhn 874fff8a6a
Fixup Macho-O rpath for osx-dynamic (#39313) 2024-06-27 14:26:23 -07:00
gerard-ryan-immersaview 6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
Kai Pastor 47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
Nathan Baird 027b48d217
Minor updates to comments for some verbiage that gets flagged by political correctness tools (#38719)
Replaces two terms used in comments with some more politically correct
alternatives.
2024-06-14 11:35:12 -07:00
Kai Pastor 94a50e8c13
[vcpkg_fixup_pkgconfig] Fix lib names starting with debug/optimized/general (#39227)
Thanks for the fix and the tests!
2024-06-13 00:37:56 -07:00
MonicaLiu a193e8fb4e
[7zip] Update to 24.06 (#38790)
Fixes #38764, update `7zip` to 24.06.

No feature needs to be tested, the usage test passed on
`x64-windows`(header files found):
```
7zip provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(7zip CONFIG REQUIRED)
  target_link_libraries(main PRIVATE 7zip::7zip)
```
2024-06-11 12:16:41 -07:00
Kai Pastor 856cd497b0
[vcpkg scripts] Update msys2 (#39088)
msys2-runtime no longer supports Windows 7 since version 3.5.
msys2-runtime-3.4 is the replacement for user who cannot upgrade. YMMV.

autoconf-wrapper is not updated, cf. #36774.

pkgconf is not updated, waiting for 2.2.
2024-06-10 15:38:54 -07:00
Javier Matos Denizac 7ebd64e6bb
[vcpkg_find_acquire(NASM).cmake] add nasm mirror (#38597)
depends on https://github.com/vcpkg/vcpkg.github.io/pull/161

Co-authored-by: Javier Matos <javiermatos@Javiers-Laptop.local>
2024-05-09 13:07:20 -07:00
Kai Pastor a59ba45e60
[vcpkg-scripts] Fix rpath fixup; add test (#37964)
Fix fixup for debug tools,
https://github.com/microsoft/vcpkg/pull/37736#issuecomment-2035415913.
Fix fixup for paths with regex chars,
https://github.com/microsoft/vcpkg/issues/37984.
2024-04-23 15:09:16 -04:00