Commit Graph

2883 Commits

Author SHA1 Message Date
talregev
eff777a963
[curl,vcpkg-ci-curl] Update to curl 8.9.1, Add gnutls feature, Add test gnutls for curl (#40102) 2024-08-01 09:58:42 -07:00
Kai Pastor
1dc5ee30eb
[curl] Update to 8.9.0 (#40081) 2024-07-30 17:42:29 -07:00
Kai Pastor
5ac34f9b6f
[rpath-test,rpath-test-binaries] Validate rpath fixup (#39319) 2024-07-29 23:08:04 -07:00
Sergii Rudchenko
d418101aeb
Fix OpenBSD support (#40141) 2024-07-29 23:05:23 -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
talregev
e948029be9
[vcpkg-ci-curl] Add c-ares feature to curl test port (#40089) 2024-07-26 14:08:14 -07:00
jim wang
b8ef2f3405
[ompl] Fix compilation errors on linux and osx (#40080) 2024-07-26 13:56:23 -07:00
MonicaLiu
be087b6804
[benchmark] Update to 1.8.4 (#38916)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-07-26 00:11:21 -07:00
Alexander Neumann
3f142d2fc6
Correctly add VCPKG_POST_PORTFILE_INCLUDES (#40097) 2024-07-25 14:10:55 -07:00
Alexander Neumann
b16e50152e
Add VCPKG_(PRE|POST)_PORTFILE_INCLUDES for code injection before/after the portfile (#25847) 2024-07-25 13:54:51 -07:00
Alex G. Lopez
482ee0e429
[str-view] Add new port str-view (#39872)
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-07-24 10:33:00 -07:00
Alexander Neumann
aae75b3554
[boost-python] remove features (#40054) 2024-07-24 10:18:11 -07:00
Billy O'Neal
1318ab14aa
Use Workload Identity Federation for testing MSVC (#39952) 2024-07-16 16:31:21 -07:00
Billy O'Neal
6cd9d7ff90
Patch Tuesday for July 2024 (#39896) 2024-07-15 23:18:52 -07:00
Kai Pastor
f00e89ae19
[vcpkg-ci-ffmpeg, ffmpeg] Require CI pass on all triplets, fix dependencies (#39703) 2024-07-15 14:02:16 -04:00
Nick D'Ademo
d8e2b83a6b
[mimalloc] update to 2.1.7 (#39650)
Co-authored-by: Nick D'Ademo <dademo.n@duerr-ndt.com>
2024-07-15 13:40:01 -04:00
Billy O'Neal
1de2026f28
Update vcpkg-tool to 2024-07-10 (#39836) 2024-07-12 12:45:43 -07:00
Jaap Aarts
3f530d4827
Don't unset CMAKE_CROSSCOMPILING when cross-compiling to linux (#37734) 2024-07-11 18:47:43 -04:00
Chuck Walbourn
4de4372b5b
[toolchain] Fix try compile handling for Xbox (#39654) 2024-07-11 16:59:35 -04:00
Billy O'Neal
83365426d7
Attempt to disable CodeQL (#39844) 2024-07-11 11:51:52 -04:00
jim wang
0107170d2a
[vcpkg baseline][cnats] Passing remove from fail list (#39817) 2024-07-11 11:46:22 -04:00
jim wang
45bcef6891
[crashpad] Fix build errors under linux (#39671) 2024-07-09 13:34:01 -04:00
Kai Pastor
74d4bc75ec
[minizip-ng] Update, fix dependencies (#39686) 2024-07-05 13:36:32 -04:00
Billy O'Neal
0dab813d5f
Patch Tuesday June 2024 (#39325) 2024-07-03 20:01:35 -07:00
Kai Pastor
dec6c5bf42
[openimageio] Fix exported cmake config (#39612) 2024-07-01 16:05:26 -04:00
Thomas Sondergaard
101cc9a69a
[qt5-webengine] Work around mixed abseil-cpp issue (#39530) 2024-06-30 22:48:29 -07:00
c8ef
354c71f75d
[vcpkg baseline][cachelib] remove from baseline (#39592) 2024-06-30 22:47:31 -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
talregev
2318038614
[curl] Add feature gsasl (#39497)
Merged upstream as https://github.com/curl/curl/pull/13948
2024-06-26 21:12:35 -07:00
Kai Pastor
467f9a6a27
[x264] Update to 0.164.3108, use official upstream (#39460) 2024-06-25 23:26:31 -07:00
Billy O'Neal
2e7fd315d7
[ms-quic] Remove from ci.baseline.txt and fix UWP builds. (#39498)
Also fix uwp builds so that all ci.baseline.txt entries can be removed,
submitted upstream as https://github.com/microsoft/msquic/pull/4373
Also fix x86-windows builds which incorrectly compared SYSTEM_PROCESSOR
with 'win32' rather than 'x86'. Submitted upstream as
https://github.com/microsoft/msquic/pull/4374 . This patch originally
authored by @LillyWangLL

Originally started from https://github.com/microsoft/vcpkg/pull/39475

Co-authored by: Lily Wang <v-lilywang@microsoft.com>
2024-06-25 11:02:38 -07:00
Kai Pastor
c6043cde21
[x265] Update to 3.6, fix pthread flags, add feature "tools" (#39450)
Fixes build errors on android due to wrong pthread flags and 32 bit API
level requirements (`ftello`).

Alternative to #39314.
2024-06-24 18:03:17 -07:00
Dennis
561d171d79
[grpc/protobuf] Update grpc to 1.60.0 and update protobuf to 3.25.1 (#35781)
Resolves https://github.com/microsoft/vcpkg/issues/35566

This pr includes https://github.com/microsoft/vcpkg/pull/31159 and
https://github.com/microsoft/vcpkg/pull/35399

Ports changed in this pr:

Most of these changes stem from the fact that protobuf now depends on
abseil and requires c++14 while ports consume protobuf using
`target_link_libraries(lib ${Protobuf_LIBRARIES})` instead of
`target_link_libraries(lib PUBLIC protobuf::libprotobuf)`.

* **abseil** Updated to 03/04/2024 to address MSVC build issue in
openvino
* **arcus** Updated to 4.13.2
* **braft** Patched to use `find_package(Protobuf` instead of custom
FindProtobuf module. also link with `PUBLIC protobuf::libprotobuf)`.
* **brpc** Patch several `target_link_library` calls to include `PUBLIC`
instead of nothing. Patch some warnings that are treated as errors by
some OSX compiler. Patch usage of changed protobuf features most
importantly removal of `SetLogHandler`, tbd whether this patch is
acceptable with upstream.
* **cld3** Use CONFIG to find protobuf to propagate dependent abseil
libs and cxx14 correctly.
* **ecal** Use CONFIG to find protobuf. Use PUBLIC when linking it.
* **gamenetworkingsockets** Add `-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=on`
for protobuf.
* **gz-transport12** Update to fix usage of removed protobuf features.
* **ignition-msgs1/5/6** Remove protobuf version check which is confused
by the duplicate versioning scheme (v25.1 vs. 3.25.1 vs 4.x). Why are we
even maintaining this no longer maintained major version of this port? I
would welcome a more strict policy on removing ports/adding them to
ci.baseline.txt
* **ignition-transport4/8/9** Same as above + cherry-pick a protobuf
deprecation patch.
* **libprotobuf-mutator** Cherry-pick two commits to address altered
protobuf functionality. Add CONFIG and PUBLIC to protobuf handling in
CMake.
* **marble** Explicitly set protobuf to not found since it is not part
of the vcpkg.json but is made available transitively but another
dependency.
* **mysql-connector-cpp** Several CMake changes and removal of
protobuf::SetLogHandler patch.
* **openvino** Find protobuf using CONFIG
* **osgearth** Link libraries using PUBLIC and link with
protobuf::libprotobuf instead of Protobuf_LIBRARIES
* **paraview** Find protobuf using CONFIG and remove version check
* **pulsar-client-cpp** Add protobuf linkage to PULSAR_OBJECT_LIB.
Simplify protoc patch. Remove -Werror.
* **shogun** Update and patch as much as possible. Users are required to
override bitsery version to 4.x to use shogun since it does not support
5.x provided by vcpkg. Therefore add shogun to ci.baseline.txt.
* **srpc** Update and fix static crt linkage. Patch protobuf linkage and
remove hardcoded `-std=c++11` flag. Protobuf requires c++14 and CMake
does not recognize the hardcoded c++11 flag and will therefore not add a
c++14 flag when the compiler uses c++14 by default.
* **upb** Update to align version with protobuf/grpc and use new github
repo. Patch usual CMake mess (they do not support CMake officially)
which should probably be `unofficial-upbConfig.cmake` but I didn't dig
into downstream implications so I kept it at `upbConfig.cmake` as
before.
* **utf8-range** Update to allign version with protobuf.
2024-06-21 13:39:50 -07:00
Alexander Neumann
9c0956e573
[world rebuild|toolchain] Fix try compile handling (#24493)
while playing with qtbase on x64-uwp i found that it could not pass a
try_compile command since important variables are not correctly
forwarded. As such I concluded that the handling of try_compile in vcpkg
is completely wrong.
2024-06-19 14:38:36 -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
JonLiu1993
a885c80a3c
[vcpkg-ci-openimageio] Add missing commas (#39285)
Fixes #39276

vcpkg.json file in vcpkg/scripts/test_ports/vcpkg-ci-openimageio missing
, character
2024-06-17 11:39:37 -07:00
talregev
8256d9fecf
[Many tests ports] Run format-manifest on test_ports (#39294) 2024-06-17 11:36:42 -07:00
MonicaLiu
79e4347293
[vcpkg baseline][many ports] Passing remove form fail list (#39333)
Passing on
https://dev.azure.com/vcpkg/public/_build/results?buildId=103938&view=results.
```
PASSING, REMOVE FROM FAIL LIST: c4core:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: botan:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: concurrencpp:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: cppgraphqlgen:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: graphicsmagick:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: libcoro:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: ms-ifc-sdk:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: stx:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: yoga:arm-neon-android
PASSING, REMOVE FROM FAIL LIST: c4core:x64-android
PASSING, REMOVE FROM FAIL LIST: botan:x64-android
PASSING, REMOVE FROM FAIL LIST: concurrencpp:x64-android
PASSING, REMOVE FROM FAIL LIST: cppgraphqlgen:x64-android
PASSING, REMOVE FROM FAIL LIST: graphicsmagick:x64-android
PASSING, REMOVE FROM FAIL LIST: libcoro:x64-android
PASSING, REMOVE FROM FAIL LIST: ms-ifc-sdk:x64-android
PASSING, REMOVE FROM FAIL LIST: stx:x64-android
PASSING, REMOVE FROM FAIL LIST: yoga:x64-android
PASSING, REMOVE FROM FAIL LIST: c4core:arm64-android
PASSING, REMOVE FROM FAIL LIST: botan:arm64-android
PASSING, REMOVE FROM FAIL LIST: concurrencpp:arm64-android
PASSING, REMOVE FROM FAIL LIST: cppgraphqlgen:arm64-android
PASSING, REMOVE FROM FAIL LIST: graphicsmagick:arm64-android
PASSING, REMOVE FROM FAIL LIST: libcoro:arm64-android
PASSING, REMOVE FROM FAIL LIST: ms-ifc-sdk:arm64-android
PASSING, REMOVE FROM FAIL LIST: stx:arm64-android
PASSING, REMOVE FROM FAIL LIST: yoga:arm64-android
```

Added `c4core` to `ci.baseline.txt` by #29406, which has been fixed by
#39287.
Added `botan` to `ci.baseline.txt` by #37252, which has been fixed by
#38975.
Added `concurrencpp` to `ci.baseline.txt` by #29406, which may have been
fixed by #39160.
Added `cppgraphqlgen` to `ci.baseline.txt` by #29406, which may have
been fixed by #38975.
Added `graphicsmagick` to `ci.baseline.txt` by #29406, which has been
fixed by #39210.
Added `libcoro` to `ci.baseline.txt` by #30623, which may have been
fixed by #38975.
Added `ms-ifc-sdk` to `ci.baseline.txt` by #35972, which may have been
fixed by #39210.
Added `stx` to `ci.baseline.txt` by #29406, which may have been fixed by
#38975.
Added `yoga` to `ci.baseline.txt` by #37507, which may have been fixed
by #38975.
2024-06-17 11:28:11 -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
Vitalii Koshura
e9522a4a74
linux toolchain: add missing CMAKE_AS_FLAGS_INIT. (#39147)
This fixes: #39144.
2024-06-13 20:20:03 -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
Billy O'Neal
a8de7f933d
Update vcpkg-tool to 2024-06-10. (#39210)
https://github.com/microsoft/vcpkg-tool/releases/tag/2024-06-10

Fixes https://github.com/microsoft/vcpkg/issues/31932

Thanks again to @fahrradflucht and @petamas
2024-06-12 15:04:50 -07:00
Kai Pastor
e158d10763
Activate Android NDK r26d in vcpkg CI (#35851) 2024-06-11 13:26:30 -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
795f2f137e
[libpsl,curl,vcpkg-ci-curl] Update suffix list, fix and test curl (#38847) 2024-06-10 17:26:53 -07:00