--editable suppresses binary caching and source re-extraction for packages listed on the command line (similar to --head).
This fundamentally changes the port maintenance loop, so several example documents were updated. To avoid users having substantial changes suddenly destroyed by forgetting to pass --editable, "clean" sources have different extract locations.
The undocumented command `build` implies `--editable`.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Update .gitignore
* Add mingw dynamic lib triplets
* Only copy pdbs if not using *-mingw triplets
* Using VCPKG_POLICY_DLLS_WITHOUT_LIBS as a workaround
* Rename *-mingw to *-mingw-dynamic
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
* Added python script to generate all packages file list, added to azure pipeline to build at the end of the run
* fixed an issue that causes some leading slashes were being removed
* Header Database now includes hpp files for C++ header files
* Changed Header Database to include all files under \include\ folder
* Apply suggestions from code review, changing condition from eq to ne
Co-authored-by: Billy O'Neal <bion@microsoft.com>
* Update last condition from eq to ne
Co-authored-by: Billy O'Neal <bion@microsoft.com>
Use IncludePath and LibraryPath propertiesThese tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code.
This change includes my changes from #4454.
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
This changes our PR builds to treat 'fail' in the ci.baseline.txt as 'skip' instead of using tombstones.
We currently have large numbers of spurious failures that get enshrined in PRs through no fault of a PR author, removing the tombstones concept will fix those by allowing the user to retry. This does mean we accept some risk of not detecting when a port is 'fixed', but that failure is reasonable for us to handle after we see it in CI, but that seems worth it given that it lets us get rid of the tombstone concept.
This also helps out the binary caching feature, because we don't have to figure out how to productize tombstones.
* [vcpkg] Implement --x-write-nuget-packages-config= setting for `install` and `x-set-installed`.
* [vcpkg] Add end-to-end testing suite for install, remove, and binary caching
* [vcpkg] Define `$TestingRoot in end-to-end-tests.ps1
* [vcpkg] Address CR comments
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [vcpkg] Upgrade find_acquire_program(NUGET) to 5.5.1. Add partial SHA to temporary download paths to avoid collisions.
* [vcpkg] Fix regression in `vcpkg export --nuget` due to file locking on .vcpkg-root
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
==== Changes Related to manifests ====
* Add the `manifests` feature flag
* This only says whether we look for a `vcpkg.json` in the cwd, not
whether we support parsing manifests (for ports, for example)
* Changes to the manifests RFC
* `"authors"` -> `"maintainers"`
* `--x-classic-mode` -> `-manifests` \in `vcpkg_feature_flags`
* reserve `"core"` in addition to `"default"`, since that's already
reserved for features
* Add a small helper note about what identifiers must look like
* `<license-string>`: SPDX v3.8 -> v3.9
* `"feature"."description"` is allowed to be an array of strings as well
* `"version"` -> `"version-string"` for forward-compat with versions
RFC
* Add the `--feature-flags` option
* Add the ability to turn off feature flags via passing
`-<feature-flag>` to `VCPKG_FEATURE_FLAGS` or `--feature-flags`
* Add CMake toolchain support for manifests
* Requires either:
* a feature flag of `manifests` in either `Env{VCPKG_FEATURE_FLAGS}`
or `VCPKG_FEATURE_FLAGS`
* Passing the `VCPKG_ENABLE_MANIFESTS` option
* The toolchain will install your packages to
`${VCPKG_MANIFEST_DIR}/vcpkg_installed`.
* Add MSBuild `vcpkg integrate install` support for manifests
* Requires `VcpkgEnableManifest` to be true
* `vcpkg create` creates a port that has a `vcpkg.json` instead of a
`CONTROL`
* argparse, abseil, 3fd, and avisynthplus ports switched to manifest
from CONTROL
* Add support for `--x-manifest-root`, as well as code for finding it if
not passed
* Add support for parsing manifests!
* Add a filesystem lock!
==== Important Changes which are somewhat unrelated to manifests ====
* Rename `logicexpression.{h,cpp}` to `platform-expression.{h,cpp}`
* Add `PlatformExpression` type which takes the place of the old logic
expression
* Split the parsing of platform expressions from checking whether
they're true or not
* Eagerly parse PlatformExpressions as opposed to leaving them as
strings
* Add checking for feature flag consistency
* i.e., if `-binarycaching` is passed, you shouldn't be passing
`--binarysource`
* Add the `Json::Reader` type which, with the help of user-defined
visitors, converts JSON to your internal type
* VcpkgArgParser: place the switch names into a constant as opposed to
using magic constants
* In general update the parsing code so that this ^ works
* Add `Port-Version` fields to CONTROL files
* This replaces the existing practice of
`Version: <my-version>-<port-version>`
==== Smaller changes ====
* small drive-by cleanups to some CMake
* `${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}` ->
`${CURRENT_INSTALLED_DIR}`
* Remove `-analyze` when compiling with clang-cl, since that's not a
supported flag (vcpkg's build system)
* Add a message about which compiler is detected by vcpkg's build
system machinery
* Fix `Expected::then`
* Convert `""` to `{}` for `std::string` and `fs::path`, to avoid a
`strlen` (additionally, `.empty()` instead of `== ""`, and `.clear()`)
* Add `Strings::strto` which converts strings to numeric types
* Support built-in arrays and `StringView` for `Strings::join`
* Add `operator<` and friends to `StringView`
* Add `substr` to `StringView`
* SourceParagraphParser gets some new errors
* [vcpkg] Initial implementation of --x-binarysource=nuget
* [vcpkg] Remove double-double quoting of CMake arguments
* [vcpkg] Update nuget.exe to 5.5.1 to support Azure DevOps Artifacts
* [vcpkg] Enable batching of NuGet server calls with prefetch(). Add `interactive` binarysource.
* [vcpkg] Add `nugetconfig` binary source
* [vcpkg] Short circuit querying remote NuGet servers once all refs are found
* [vcpkg] Add experimental help for binary caching
* [vcpkg] Improved NuGet cache package descriptions and version formatting
* [vcpkg] Rename `CmdLineBuilder::build()` to extract()
* [vcpkg-help] Ascii-betize help topics
* [vcpkg] Add tests for cmdlinebuilder. Improve handling of quotes and slashes.
* [vcpkg] Addressing code review comments
* [vcpkg] Add tests for vcpkg::reformat_version()
* [vcpkg] Added test for vcpkg::generate_nuspec()
* [vcpkg] Add tests for vcpkg::XmlSerializer
* [vcpkg] Addressed code review comment
* [vcpkg] Add test for vcpkg::Strings::find_first_of
* [vcpkg] Fix machine-specific paths in test for vcpkg::generate_nuspec()
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [vcpkg] Add disk space report to PR/CI
Example output:
```
Disk Label Size Free Space
---- ----- ---- ----------
C: Sabrent 1907 GiB 1239 GiB
D: Dev 447 GiB 383 GiB
E: Samsung 960 Pro 1908 GiB 1084 GiB
H: Rocket 3815 GiB 863 GiB
R: 0 B 0 B
S: 0 B 0 B
```
* [ignition-plugin1] Add new port
* vcpkg_fixup_cmake_targets: Add DO_NOT_DELETE_PARENT_CONFIG_PATH
By default the vcpkg_fixup_cmake_targets script remove the parent
path of CONFIG_PATH if it named "cmake", this behaviour is not convenient
for ports that install more than one CMake package config file, and
for which vcpkg_fixup_cmake_targets is invoked multiple times.
To optionally disable this behaviour, this commit adds the option
DO_NOT_DELETE_PARENT_CONFIG_PATH to vcpkg_fixup_cmake_targets.
* [ignition-modularscripts] Add support for ignition libraries that install multiple CMake package config files
Some ignition libraries install several CMake package config files,
to represent the different components of the library. This commit modifies
the ignition_modular_library function to fixup correctly all the cmake package config files.
* vcpkg_fixup_pkgconfig: Move definition of SYSTEM_LIBRARIES to vcpkg_common_definitions
To correctly validate installed pkg-config files, vcpkg_fixup_pkgconfig needs to know
for each platform which libraries are not managed by vcpkg. This commits improve this
definitions for all the triplet supported by vcpkg, and move this definition to vcpkg_common_definitions
in a way that permit custom triplets to overload its value.
* [hdf5] Update HDF5 to 1.12 and use github live-clones instead of binary download
* [hdf5] bump control
* [hdf5] fix szip and typo about linkage
* [hdf5] add missing package namespace.... they somehow missed to set it?
* [hdf5] retry without "
* [field3d] fix regression and update. Remove windows as unsupported since the cmakelists tries to support windows
* fix typo
* remove ws
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* linebreak first patch
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* ws change
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [field3d] update copying installation
* [hdf5] use official github repo
* clean baseline
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [cgns] add port cgns
* [paraview] add new port
* [paraview] correct dependencies; disable catalyst
* [VTK/ParaView] Make ParaView build
* [paraview] add missing patch
* [paraview] add cgns patch
* [paraview] add qt plugin patches back in. Remove in the future
* [vtk] slightly improved patches
* [vtk] don't disable findPython
* [paraview] add more features
* [paraview] remove X11Extras from OSX
* [vtk] make vtk workcorrectly with python and prepare for paraview with python
* [paraview] Python fixes
* [paraview] small bin -> lib replacement fix for static builds
* [vtk] fix patch path
* update baseline to exclude paraview for the time being on osx and linux.
requires a fix in qt5-base linkage of libpq.
* [paraview]try setting LD_LIBRARY_PATH for unix systems
* [paraview] a bit of cleanup
* update baseline
* fix typo in baseline
* [paraview] remove unnecessary patch
* [vtk] replace custom patch with upstream patch
* [paraview] cleanup in the portfile.
* Update ports/paraview/CONTROL
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [vcpkg] Refactor out abi_tags_from_pre_build_info()
* [vcpkg] Track Windows toolchain file in triplet hash
* [vcpkg] Improve error messages when constructing PreBuildInfo
* [vcpkg] Extract InstallPlanAction::BuildAbiInfo
* [vcpkg] Extract Build::EnvCache and private-impl VcpkgPaths
* [vcpkg] Enable compiler hash detection when binarycaching is enabled
* [vcpkg] Downgrade warning about missing ABI keys
When binarycaching is not enabled, this warning is spurious and provides no user value.
* [vcpkg] Cleanup
* [vcpkg] Refactor compiler tracking into triplet abi computation
Move several static global caches into VcpkgPaths/EnvCache.
Add feature flag 'compilertracking' to enable the new feature.
* [vcpkg] Refactor out PreBuildInfo::using_vcvars()
Move VcpkgTripletVar into build.cpp because it is not used outside that file.
* [vcpkg] Address some code analysis warnings
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Last several days Strawberry Perl official download server has issues that lead to extremely slow download rates
(sometimes it takes more than 1 hour to download ~150MB).
This commit adds non-official mirror of Strawberry Perl to the list of available URLs.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [tinyfiledialogs] Re-trigger CI test
* [msix] Fix source hash
* [geographiclib] Re-trigger CI test
* [soundtouch] Re-trigger CI test
* update baseline
* [plplot] Re-trigger CI test
* [dmlc] Fix issues with parallel configuration
* [tclap] Re-trigger CI test
* [itpp] Re-trigger CI test
* [mpg123] Re-trigger CI test
* [qwt] Re-trigger CI test
* [soundtouch] Re-trigger CI test
* [pthreads] Re-trigger CI test
* Enable compilation of libpcap port on x86-windows and x64-windows
As winpcap and libpcap install the same headers, this two
port have been marked as not not compatible, and cannot be
installed together.
* Update ci.baseline.txt
* Add libcrafter failing ports to ci.baseline.txt
* [BitSerializer] Update to version 0.9
* [bitserializer] Update to version 0.10
* [bitserializer] Enable all features by default
* [bitserializer] Update hash of tagged commit and remove "rapidyaml-archive" from default list of features
* [bitserializer] Add alias packages for deprecated BitSerializer's libraries
* Skip bitserializer-rapidyaml for arm and osx
* Update scripts/ci.baseline.txt
Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
* [vcpkg-acquire-msys] Remove obsolete workaround.
* [vcpkg-acquire-msys] Don't refresh package database on package install.
* [vcpkg-acquire-msys] Drop no longer needed taskkill.
* Trigger CI rebuild to test vcpkg_acquire_msys.
* [licensepp] Add new port
* [cryptopp-pem] Update to a newer version that will make lincensepp happy
* Revert "[cryptopp-pem] Update to a newer version that will make lincensepp happy"
This reverts commit 726e3ce3d20bc6266bc7bf63cb35572fe297869f.
This version can not compile with cryptopp.
* [licensepp] Finish it
* [licensepp] Fix interface include directory
* [licensepp] Fixup cmake targets
* [licensepp] -O3 is not recognised by msvc
* [licensepp] Fix _iterator_debug_level value mismatch
* [licensepp] Update patch file
* [licensepp] Fail fast on UWP
* [licensepp] Simplify patch file
* [licensepp] Tabs -> Spaces
* [avisynthplus] Upgrade to 3.6.0
AviSynth+ also supports linux and macOS now
* [avisynthplus] Allow x64-linux build fail on CI
AviSynth+ requires C++17 to build correctly. C++17 std::filesystem is not available in gcc 7.5 used in CI.
* [Arrow] Update to 0.17.1
* Remove arrow:x64-linux=fail from ci.baseline.txt.
Add explicit tool dependencies on Flex and Bison for Linux and OSX.
* Revert arrow dependency on Flex/Bison, it's Thrift that needs them and its portfile is already fine.
* Use vcpkg_fail_port_install(ON_ARCH x86 arm arm64) instead of custom check.
Remove thrift:x64-osx=fail from ci.baseline.txt (we know arrow depends on it, and arrow:x64-osx has been shown to work in 3rd party project).
* Disable using pkg-config files to locate dependencies in arrow
This is incompatible with vcpkg as these files refer to paths in the
packages directory rather than the installed directory, so this only
works if the packages haven't been cleaned.
* Mark thrift:x64-osx as still failing until a proper solution for Bison can be found.
* Update ports/arrow/portfile.cmake
Co-authored-by: Adam Reeve <adreeve@gmail.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [vcpkg] Remove do-nothing Set-Content from Windows azure-pipelines.yml.
* [vcpkg] Fix OSX CI by ensuring the downloads directory exists in advance, and extract common command line parameters with powershell splatting.
* [tensorflow-cc] Prevent hang building tensorflow-cc asking to configure iOS.
* Skip ignition-msgs5:x64-osx
* [google-cloud-cpp] Consolidate all google-cloud* packages
Starting with the v1.14.0 release all google-cloud* packages and the
googleapis package are kept in a single repository and released
simultaneously.
* Update CI baseline.
google-cloud-cpp used to inherit failures from googleapis, which
indicates these are (probably) problems in the generated protobuf/grpc
code.
* [vcpkg] Use a crypto RNG to generate admin passwords
* Apply code review comments from Stephan and Casey.
* Extract functions into create-vmss-helpers.psm1.
* Put Wait-Shutdown back.
* [vcpkg metrics] start using json library
Additionally, add floats to the JSON library since they're required.
* [vcpkg metrics] allow users to disable metrics after the build
Additionally, as a drive by, fix UUID generation
* fix metrics data
* code review
* [ace] Update to 6.5.8
* Address review comments
* ports/ace/portfile.cmake:
* Put back copy step
* ports/ace/portfile.cmake:
* Fixed error
* ports/ace/portfile.cmake:
* ARM should work, let us try it
* ports/ace/portfile.cmake:
* ARM doesn't work yet, so disable it again
* ports/ace/portfile.cmake:
* Add support for vcpkg of ace on MacOSX
* ports/ace/portfile.cmake:
* [ace] Add patch to fix Visual Studio 2019 internal compiler error
* ports/ace/process_manager.patch:
Added.
* ports/ace/CONTROL:
* ports/ace/portfile.cmake:
* Attempt to fix apply patches
* ports/ace/portfile.cmake:
* [ace] Updated baseline for ace, 4 configurations work again with the applied patch
* scripts/ci.baseline.txt:
* Address review comments
* ports/ace/portfile.cmake:
* Revised patch for ACE
* ports/ace/process_manager.patch:
* [ace] Add support for uwp
* ports/ace/portfile.cmake:
* ace now works in all configurations
* scripts/ci.baseline.txt:
* Removed !uwp and update version
* ports/ace/CONTROL:
* Simplified install of copyright file and on windows we always have a QoS library
* ports/ace/portfile.cmake:
* [simdjson] Update to 0.3.1
* [simdjson] Update CI baseline
* [simdjson] Include arm build
* [simdjson] Make UWP happy
* [simdjson] Turn off SIMDJSON_COMPETITION for linux
* [simdjson] Update to 2020-05-06
[simdjson] Turn off SIMDJSON_SANITIZE under DEBUG mode (#10145)
* [simdjson] Update to lastest
* wip
* [simdjson] Update to 2020-05-20
* [simdjson] Update to 2020-05-21
* [simdjson] Fix ninja build
* [simdjson] arm-uwp still not supported
* [simdjson] Update to 2020-05-22 and disable UWP patch
* [itk] You shall pass
* [simdjson] Fix x64-uwp
* Revert "[itk] You shall pass"
This reverts commit 885e8a8af4bcce2c02207d95cbfdce7078dd4a3b.
* [simdjson] Update
* [simdjson] Update to 2020-05-26
* [ace] Update to 6.5.8
* Address review comments
* ports/ace/portfile.cmake:
* Put back copy step
* ports/ace/portfile.cmake:
* Fixed error
* ports/ace/portfile.cmake:
* ARM should work, let us try it
* ports/ace/portfile.cmake:
* ARM doesn't work yet, so disable it again
* ports/ace/portfile.cmake:
* Add support for vcpkg of ace on MacOSX
* ports/ace/portfile.cmake:
* [ace] Add patch to fix Visual Studio 2019 internal compiler error
* ports/ace/process_manager.patch:
Added.
* ports/ace/CONTROL:
* ports/ace/portfile.cmake:
* Attempt to fix apply patches
* ports/ace/portfile.cmake:
* [ace] Updated baseline for ace, 4 configurations work again with the applied patch
* scripts/ci.baseline.txt:
* Address review comments
* ports/ace/portfile.cmake:
* Revised patch for ACE
* ports/ace/process_manager.patch:
* Update ports/ace/portfile.cmake
add comment about why the patch is needed
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Bump luafilesytem to 1.8.0 and lpeg to 1.0.2
* Code review changes for lpeg / luafilesystem
* [lpeg][luafilesystem] Remove windows only gates
* Remove failures from baseline
* [vcpkg] Remove powershell from the 'run vcpkg ci' path to reduce hangs from msys components.
* The BatchScript task uses filename rather than filePath
* cmd hates BOMs
* cmd hates forward slashes
* update all 16 configure_make ports
* add make wrappers for msvc
* improve make builds
* fix relativ path errors on linux (and osx?)
* revisit all 16 portfiles again
* remove trace from install
* fix relative build path issues.
* bump control of the 16 configure ports
* never forget .... real linux is case sensitive ....
* Revert "bump control of the 16 configure ports"
This reverts commit 40d6d81c01d2709c4acbdbec503b4787c3fd8282.
* Revert "Revert "bump control of the 16 configure ports""
This reverts commit 9c9851ddfcd01bfad604ab9c9aed7379238d619a.
* bump control again for real ci rebuild
* add copy_source
* remove message
* pass parameters to vcpkg_build_make
* fix healpix build.
* fix libmagic regression
* fix libwandio regression
* pfring changes regression fix? (cannot test in wsl)
* ws change to retrigger CI
* fix libpq regression
* fix libudns regression
* add share/pkgconfig to PKG_CONFIG_PATH
* cleanup of deprecated options
* cleanup docs
* Revert "bump control again for real ci rebuild"
This reverts commit b4bc18edc2376eba6c3aa3dda52bd82286f23616.
* shared binaries on linux should stay in lib. Only dlls are mvoed to bin
* move pkgconfig check and add message about missing system packages
* added autopoint as a build requirement
* fix prerun shell working dir.
* a few fixes from the x windows pr
- add libpath setting
- fixed pkgconfig search on windows platforms
- fixed autopoint msys package on windows
* fix release prefix
* minimal cleanup and ws changes to trigger true CI rebuild
* fix tcl by upgrading
* remove unnecessary rename
* fix pfring? can't test in WSL. Linux kernel headers required.
* fix lowercase in patch
* fix libwandio
* remove x264 from fail list
* replace wrappers with wrappers from automake
* update make ports
* remove unnecessary message
* refactor vcpkg_configure_make
* [tcl] remove stray ?
* [farmhash] fix build
* [freexl] ws change to retrigger ci build
* [x264] add pthread as a dependency
* [vcpkg/scripts] add ignore flag correctly
* [sdl] fix vcpkg_fixup_pkgconfig call
* [farmhash/freexl] delete configure and recreate it.
* [libudns] remove trailing ?
* [freexl] use empty build target
* [freexl] add system library; remove previous change
* Update ports/x264/portfile.cmake
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [libwandio] remove unncessary comment
Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [tool-meson] Update to 0.54.2
- Release notes: https://mesonbuild.com/Release-notes-for-0-54-0.html
- Homepage added to CONTROL file
* Re-trigger CI test
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* [cmake] Update to 3.17.1
* update cmake directory name
* [cpuid] Fix install headers.
* [stormlib] Fix install headers
* [murmurhash] Fix install headers
* [metrohash] Fix install headers
* update baseline
* update baseline
* [otl] update hash
* update baseline
* [gts] Do not use ninja to avoid empty implib issue
* update baseline
* [dmlc] Re-trigger ci test
* [replxx] Re-trigger ci test
* update baseline
* [osg] Re-trigger ci test
* [replxx] Fix build failure
* Set cmake min version to 3.17.1
* update baseline
* [libnice] Re-trigger ci test
* [mlpack] Re-trigger ci test
* update to 3.17.2
* update cmake hash
* update baseline
* update baseline
* update baseline
* update baseline
* Update scripts/ci.baseline.txt
Co-authored-by: Billy O'Neal <billy.oneal@gmail.com>
* update baseline
* update baseline
* [magnum] Set magnum:arm64-windows to skip in baseline
* [nanogui] Set nanogui:arm64-windows to fail in baseline
* [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR
* re-trigger CI test
* update baseline
* Install unixODBC in Linux
* [nanodbc] Re-trigger CI test
* update baseline
* Remove space
* update baseline
* [munit] Add new port
* [munit] Modernize
* [muint] Update to 2020-04-06
* [munit] Update CI baseline
* [munit] Update CI baseline
* [munit] Fail fast
* [munit] Download meson on linux and osx
* [vcpkg_find_acquire_program] Always download meson if not found
* Revert "[munit] Download meson on linux and osx"
This reverts commit e7e17730d40e1b8a11a12c2bb28340a72247dce0.
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
`files.h/files.cpp`:
* Add end and else comments to all macros.
* Add "remove_all_inside" function which empties a directory without actually deleting the directory. This is necessary to handle the case where the directory is actually a directory symlink.
* Change remove_all to use std::remove when VCPKG_USE_STD_FILESYSTEM is set; this will engage POSIX delete support available on current Win10.
`commands.ci.cpp`: empty "installed".
`*/initialize_environment.*`: No longer clean the directories outside the tool.
`ci-step.ps1`: Remove unused console output tee-ing.
* [libgo] Update to 3.1
* Add headers in debug sub folder
* Update ci.baseline and remove headers in debug/include directory
* Update the way to install headers and targets on Windows
* Remove the headers in netio/disable_hook on all platforms
* Add unsupported for arm and uwp
* Add only support static build and update ci.baseline
* code review
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Update to 2.8.102 and reenable x64 Build
* Remove surplus empty directory during install
* Corrected the "Supports" entry in CONTROL
Should have read the documentation for "Supports" to see that this is a boolean expression
* [ctp] New port CTP library 6.3.15
* [ctp] Minor changes
- Update portfile to support custom triplets
- disable CI due to downloading server availability
* Update ports/ctp/portfile.cmake
* Update ports/ctp/portfile.cmake
* Remove ${...} from if
Co-authored-by: Vincent Gao <xgao1023@outlook.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Initial commit
* Add missing files
* Add patchfile
* UWP Builds not supported
* Fix Linux version
* Removed 'include(vcpkg_common_functions)' as it is no longer needed
* Implemented proposed changes to portfile.cmake
* Further changes to portfile.cmake
* Added indicator that a failure is expected for arm64
* Added the expected failure on arm64 to ci.baseline.txt
* Combined two separate vcpkg_fail_port_install() calls
* Use upstream version compatible with opentracing 1.6
* Added 'Supports:' entry in CONTROL to signal missing arm64 support and removed vcpkg_fail_port_install() for UWP in portfile.cmake
Co-authored-by: xgcssch <soenke.schau@alte-leipziger.de>
* [vcpkg] Bump Linux VM memory size and do all operations on the temporary disk.
* [llvm] disable optional dependencies to libxml2 and zlib
* [vcpkg] Reduce quotas on the share to something reasonable.
* [mpir] Skip on Linux because it conflicts with libgmp.
Co-authored-by: yurybura <yurybura@gmail.com>
* [uthenticode] Add new port
* ports/uthenticode: Add openssl as a dependency
* ports/uthenticode: 1.0.1
* ports/uthenticode: 1.0.2
* ports/uthenticode: Drop quotes
* treewide: Mark uthenticode as failing on UWP
* ports/uthenticode: Use ${PORT}
* add new function vcpkg_fixup_pkgconfig
* make message with changed files a debug_message
* add two more cases to the debug *.pc files
* comment out prefix.
use --define-variable=prefix=INSTALL_PATH
* changed the comment header.
* add missing word
* finish vcpkg_fixup_pkgconfig.cmake
* Update vcpkg_fixup_pkgconfig.cmake
Note: since CMake is run in script mode the description of VCPKG_FIXUP_PKGCONFIG_CALLED cannot be viewed
* transfer changes from x windows pr
* fix typo in regex
* add port for vs yasm integration within VCPKG
* add gmp
* add nettle
* add missing windows flag in control
* CI workaround
CI seems to not pass env YASMPATH correctly to cl.
Since YASM is on PATH -> remove $(VCInstallDir) as the default for YasmPath
* overwrite correct import.
* If CI does not give logs just display some extra info
* target replacement was mising
* apply same replacements for nettle
* remove unnecessary status message
* remove unnecessary platform code
* update supports field for vs-yasm
* apply replacement also to libhogweed
* fix static builds
* remove not working code
* remove debug/release options
* add additional replacement for the case the SOURCE dir has already been patched within VCPKG
* add triplet selection to vcpkg_install_msbuild
* fix missing ; in patches
* remove gmp dependency in static builds since they are not required
* cleanup portfiles
* add missing vcpkg_fixup_pkgconfig() call
* Added new port GASol
* added patch file
* Code Refactoring
* Code Refactoring to change port name
* Updated baseline to resolve file conflicts with nanovg and stb
* Added changes to ci-baseline and added port not supported on arm/uwp
* [gasol] Use cmake to build
* update baseline
Co-authored-by: SanaJahan <sanadgrt@gmail.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* Add rtlsdr port
* Update ci.baseline.txt
* Update to use github mirror in portfile.cmake
Co-authored-by: Egor Chesakov <echesakov@users.noreply.github.com>
* [OpenCV2] add library for older C projects
* [OpenCV2] fixes for non-Windows systems
* [OpenCV2] add warnings for Ubuntu
* add fixes for cuda
* [OpenCV2] disable parallel building, otherwise cuda fails
* [OpenCV2] refresh port with latest fixes
* [OpenCV2] fix CONTROL
* [OpenCV2] fixes for windows
* [OpenCV2] fixes to avoid unnecessary install of pre-built ffmpeg, since it already uses externally provided one
* [OpenCV2] openexr still has some problems, explicitly removed UWP support
* [OpenCV2] use targets wherever possible. Jasper and OpenEXR features would require improvements in those ports, in order for them to provide targets too
* [OpenCV2] re-enable parallel build also with CUDA
* [OpenCV2] improve compatibility with CUDA 10+
* [OpenCV2] fix broken CUDA targets
* [darknet] enable opencv2 feature
* skip from building, like opencv3, to avoid problems in CI
* [libmpeg2] Add new port
Libmpeg2 seems to be a somewhat old project, last release was done in
2008, but it is still in use by some projects e.g. ResidualVM
I have verified the mpeg2dec built for x86-64 with MSVC produces similar
results as the one pre-packaged on my Arch.
* [libmpeg2] Apply review comments
* [libmpeg2] Add ci.baseline.txt exemptions
* [vcpkg/scripts] fix wrong paths variable on windows
* [vcpkg/scripts] search within vcpkg first and then ask the rest of the world
* [vcpkg/scripts] add second search path for ninja.
First is for vcpkg fetch ninja
Second is for vcpkg_find_acquire_program
* Allow the apr port to be used on non-windows systems
* Allow the apr-util port to be used on non-windows systems
* Allow the apr-util port to be used on non-windows systems
* Allow the apr-util port to be used on non-windows systems
* [log4cxx] add new port
* Add aarch64 cross compilation support
* Allow apr and apr-util ports to used with a cross compiling tool chain
* @PhoebeHui requested changes
* Remove files that leaked from 'add-log4cxx-port' branch
* @PhoebeHui requested changes
* Move apr-util-unix and apr-util-windows portfile.cmake content back into apr-util/portfile.cmake
* Use the same released archive for unix and windows
* Use the same released archive for unix and windows (1.6.1)
* Update APR version to the latest
* Prevent unrelated CI failures
* Prevent CI failure for arm64 on x86 CI machine
* Prevent CI failure for arm64 on x86 CI machine
* Use vcpkg_configure_make and vcpkg_install_make instead of vcpkg_execute_required_process
* Remove shared libraries if a static build
* Revert "Remove shared libraries if a static build"
This reverts commit 540e158e1fbfe53b889bef8b928bc8feb62775c2.
* Prevent CI failures due to static build installing apr-1-config into bin
* @PhoebeHui requested changes
Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au>
* [discord-game-sdk] new port
* [discord-game-sdk] Invert Supports field
* [discord-game-sdk] Fix Supports field
* [discord-game-sdk] Fix Supports field again
* [discord-game-sdk] Update find_library
* [discord-game-sdk] Rename LICENSE.md, remove include(vcpkg_common_functions)
* [discord-game-sdk] Fix Linux build, add usage file
* [discord-game-sdk] Add missing file(INSTALL)
* [discord-game-sdk] Update baseline and fix macOS build
* [discord-game-sdk] Specify C++ standard version
* [discord-game-sdk] Remove vcpkg_copy_pdbs
* [discord-game-sdk] Replace ToS text by link to online version
* [llvm] Update to version 10.0.0 and new features
* switch to llvmorg-10.0.0-rc3, allow to use bin directory for tools
* Fix CMake targets after vcpkg_fixup_cmake_targets call.
* [halide] Update to master version to support LLVM 10
* [halide] fix x64-osx build
* [llvm] add enable-assertions feature
* [llvm] fix comment
* [llvm] enable ci for x64-linux and x64-osx
* [llvm] update to v10.0.0-rc5
[llvm] disable assertions and ABI breaking checks by default
[llvm] limit the maximum number of concurrent link jobs to 1
[llvm] add postfix `d` and debug shared libraries in the `/bin` directory
* [llvm] revert debug postfix `d`
[llvm] don't remove debug version of tools and shared libs
* [llvm] fix debug tools path
* [llvm] update to release tag llvmorg-10.0.0
[llvm] build with CMAKE_DEBUG_POSTFIX=d
[llvm] remove debug binaries
* remove new CMake argument FOLLOW_SYMLINK_CHAIN
* [llvm] force TableGen to be built with optimization
* [llvm] add future disable-clang-static-analyzer
* [llvm] add futures for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests
* [llvm] add features for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests
* [llvm] update features description
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [vcpkg] Add new function vcpkg_copy_tools
* [cpuinfo][czmq][nanomsg][uriparser] Use vcpkg_copy_tools
* [czmq] Clean even tools are not copied
[libsvm][zyre] Use vcpkg_copy_tools
* [vcpkg-copy-tools] Clean debug/bin
This should fix czmq build error
* [czmq] czmq does not have BUILD_TOOLS option
* [vcpkg] Split clean logic into another function
* [cpuinfo][czmq][nanomsg][uriparser] Fix calling of vcpkg_copy_tools
* [zyre] Fix regression error
* [vcpkg] Update try_remove_empty_directory
* [libsvm] Fix vcpkg_copy_tools call
* Adds scripts to generate scale sets for testing Linux.
* Note workaround for https://github.com/microsoft/azure-pipelines-agent/pull/2929
* Switches Windows validation to 'Spot' VMs.
* Opens the git port 9418.
* Removes provisioning of the no longer used 'logs' file share.
* Changes Azure region to 'westus2', which is cheaper.
* Adds +x to all the scripts in scripts/azure-pipelines.
* Use 'xml-results' for all platforms instead of 'raw xml results' on Windows.
* [alembic] make the portfile linux-compatible
* [alembic] fix build error in debug on linux
* [alembic] simplify renaming of copyright file
* [alembic] code simplification and formatting
* [alembic] update version to 1.7.12-1
* [alembic] linux build does not fail anymore
* [libqcow] Add new port
Signed-off-by: Alexandro Sanchez Bach <alexandro@phi.nz>
* [libqcow] fix build
Co-authored-by: Alexandro Sanchez Bach <asanchez@kryptoslogic.com>
* [armadillo] Add dependent port superlu on osx
* [armadillo] Suppress automatic dependency enablement
* [mlpack] Re-enable in CI
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This is required so that qt5-tools is not skipped in CI which affects CI coverage.
In general Qt5 ports should not be build apart from each other but as complete package!
Or VCPKG should accept installing duplicated *.dll in every folder excebt for /bin or debug/bin
* add new function vcpkg_fixup_pkgconfig
* make message with changed files a debug_message
* add two more cases to the debug *.pc files
* comment out prefix.
use --define-variable=prefix=INSTALL_PATH
* changed the comment header.
* add missing word
* finish vcpkg_fixup_pkgconfig.cmake
* Update vcpkg_fixup_pkgconfig.cmake
Note: since CMake is run in script mode the description of VCPKG_FIXUP_PKGCONFIG_CALLED cannot be viewed
* transfer changes from x windows pr
* fix typo in regex
* make the regex comment aware
make pc files relocatable by using ${pcfiledir} in prefix
tested with x window pr
* Add initial version of libttommath port
* Add initial version of libtomcrypt port
* Remove unnecessary EXTRALIB flag.
* Remove deprecated include(vcpkg_common_functions)
* Add homepage to CONTROL file
* Update license copying in portfile
* [libtommath] make build for non-windows
* [libtomcrypt] make build for non-windows
* [libtomcrypt] update ci baseline
* [libtomcrypt] set HEAD_REF to upstream dev branch
* [libtommath] set HEAD_REF to upstream dev branch
* [libtomcrypt] Correct CFLAGS and include path
* [libtommath][libtomcrypt] Lowercase 'debug' folder. Tweak CRT flags. Use VCPKG_CONCURRENCY.
* [libtomcrypt] Remove x64-windows-static=fail from the ci baseline
Co-authored-by: Frederik Juul <frederik.juul@3shape.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [coroutine] update to 1.5.0
* this is release candidate
* WindowsStore build will be updated soon
* [coroutine] support UWP build
* triplet(community) `x64-uwp`, `x86-uwp`
* triplet: `arm-uwp`, `arm64-windows`
* [coroutine] mark install failure on uwp/linux
* update checksum
* use `vcpkg_fail_port_install`
* [coroutine] remove x86-windows fail in ci.baseline
* [coroutine] Relax install restrictions on Linux. Use vcpkg_fixup_cmake_targets().
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [cppcoro] add new port
* [cppcoro] update with PR review
* update reference to tag and hash value
* ${PORT} for destination
Linux build support should marked unavailable?
* [cppcoro] embed CMakeLists.txt file
* copy the CMakeLists.txt file and start build with it
* change version to 2020.2
For now the repo doesn't have any tags.
Therefore its version followed the latest commit,
which is made in 2020 Feb.
* [cppcoro] 2020-02-28
* [cppcoro] port install failure on platforms
* vcpkg_fail_port_install on uwp/linux
mention PR #10693 so linux/clang users can see the port issues
* [cppcoro] force static linkage
* report error for clang-cl
build with VC++ in VS 2019 will fail by the header file.
* [cppcoro] register ci.baseline failure
* [cppcoro] Simplify CMakeLists.txt to ease future maintenance. Fix VS 2019 builds.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* minimum to compile on linux
* Update as reviewed
* Update baseline and add the condition to execuate script
* Move find_program and make it REQUIRED
* always execute generate command
* only use make in find_program
Co-authored-by: Nancy Li (Beyondsoft Corporation) <v-ruil@microsoft.com>
* [Quill] Add new port
* Mark port as unsupported for uwp/arm/arm64 and update ci.baseline
* Mark uwp, arm and arm64 as ignored in ci.baseline
* fix alphabetical order in ci.baseline
* Remove duplicate from ci.baseline
* Invert supports expression in CONTROL
* Mark as skip in ci.baseline
* Address review comments
* Bump version to 1.2.1
* add vcpkg_fail_port_install
* use vcpkg_from_github and simplify feature options
* fix file alignment
* Always depend on fmt
* make qt5 all features and add the missing qt modules
* fix control
* qt5 webengine enviromnent setup
* copy qtminimal plugin to tools
* add opengles3 option for testing
* [qt5-imageformats] freeglut is not a dependency on osx
* [qt5-base] fontconfig can require iconv on linux and osx
* include the jasper fix to get CI coverage?
* trying to get ci coverage for qt on osx
* Revert "trying to get ci coverage for qt on osx"
This reverts commit 8b9b188839ec90c25b54b49d17cf03c50987a49b.
* apply the correct ci hack
* fix wrapper to include macosx debug suffix
* update baseline
* first try to fix the Qt5 cmake configs at the root.
* fix missing backslash
* fix plugin patch
* fix qt config patch
* remove 90% of fixcmake.py
* update baseline
* experimental removal of fixcmake.py and dll copying into tools/qt5/bin
* fix experimental dll copying.
* fix static windows builds
* fix static builds
* fix plugin copy
* add quotes around configuration to make it work
* remove dll debug messages
* note about the cmake fix
* revert fontconfig changes on linux. Make qt.conf relative and not absolute
* make qt.conf relative
* trying to fix ogre osx ci regression
* fix silly path error
* Revert "trying to fix ogre osx ci regression"
This reverts commit 708d8250d6eae81bb9a030ff7edef22d2ea1e67c.
* add ogre:x64-osx=fail to CI baseline
* retry on osx
* fix configure error. since in qt5-base everything is in the package directory and not in the installed
* revert change to ci.baseline
* update ci baseline
* update Qt Control fields
* update qt hashes to 5.12.7
* update baseline
update missing hashes
update empty include/packages
add info for placeholder ports not yet correctly working (e.g. qt5-wayland)
* fix linux qt targets not having debug properties.
* remove most of the wrapper
* actual forgot to commit the prl parser
* fix the config a bit differently. have to check linux configs again
* add xlib patch.
* make qt-base fail to get logs on linux
* Need logs from qt5-base
* update versions I missed
* ws change
* lets see if this is enough to make qt5-x11extras happy
* add upstream patch.
* add newline to patch
* ws change to trigger rebuild and maybe get logs on osx failure
* need generated cmakescripts to check linkage.
* rename cmake files to end on .log so that i can inspect them after CI failure
* fix patch
* make qt run
* androidextras only supports android
* qt5-doc will only be build on linux
* ws ci trigger due to download failure
* WS to retrigger CI due to download failure
* add code for debug tools
* lets see if we can do it with only the release tools
* update baseline
* fix create link error on linx
* update baseline
* revert changes which tried to use release tools only
* fix dependencies
* add debug qt.conf
* add another copyright install
* qtdoc does not have any include files
* fix wrong copy pasta
* update latest port hashes.
* make the patches versions dependent
* cleanup qt5 control a bit
* update qt5-base control for ci run to use latest
* fix patches for latest
* forgot to commit the portfile changes
* fix imageformat dependencies for latest qt
* update last hash
* fix translations dependencies
* get cmake scripts from CI
* new patch for creating correct configs
* patch precompiled headers away from qt5-webengine
* fix patch for 5.12.7. (Patch was for 5.14.1)
* trigger CI rebuild
* add simple gl path to fix the chormium build error
* comment out debug message from prl parser
* bump control
* update webengine control
* update CI to skip webengine.
* update baseline
* ws change to osg-qt
* remove kd-soap from faillist
* reset ci baseline to upstream/master
* update baseline
* fix osg-qt?
* skip ms-angle on osx and linux since the normal angle port should be used!
* update ci baseline
* try adding fontconfig manually
* update ci baseline to remove osg-qt for the time being
* remove manual library.
* remove wrapper and get plugin info also from linux and osx
* allow build of complete qt
* fix missing parameter in populate plugin.
* need more info from CI
* fix foreach CI loop
* comment out CI code colllection to make a full qt5 ci run
* fix qt5-imageformats regression on linux
* update baseline
* - add patch to find the debug library
- manually fix EGL path in Qt5GuiConfigExtras.cmake
* bump control
* update hashes to 5.14.2
* comment out messages for debugging
* bump version in control
* fix create cmake patch
* add qtmain path corrections for single configuration build.
* fix escaping of . in regex
* remove one to many \\
* remove latest as a default feature
* reenable messages to debug osg-qt issue on osx.
* small cmake options details.
might need to patch cmakelists.txt if this is not working
* remove unnecessary comment
* make prl parser silent again.
* remove canvas3d from the default features since it has been deprecated and will be removed in the future
* remove ws change
* remove newline and ws
* trigger ci test
* revert 199a3ef92f83775a61bd0f9beee0c48698bff1b6
* add messages to qt5-webengine and adjust baseline
* add jpeg and zlib to JASPER_LIBS
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* [ace] Update to 6.5.8
* Address review comments
* ports/ace/portfile.cmake:
* Put back copy step
* ports/ace/portfile.cmake:
* Fixed error
* ports/ace/portfile.cmake:
* ARM should work, let us try it
* ports/ace/portfile.cmake:
* ARM doesn't work yet, so disable it again
* ports/ace/portfile.cmake:
* Add support for vcpkg of ace on MacOSX
* ports/ace/portfile.cmake:
* [ace] ACE should work now on ARM
* ports/ace/portfile.cmake:
* [ace] OSX should work now
scripts/ci.baseline.txt:
* ARM doesn't work yet, visual studio 2019 is broken for the moment
* ports/ace/portfile.cmake:
* Increment version of ace
* ports/ace/CONTROL:
* [ryml] Add new port
* Remove deprecated include
* Fix ver regarding maintainer guide
* Mark port as unsupport arm/arm64/osx
* Update CI baseline
* Replace deprecated func vcpkg_extract_source_archive,
add PREFER_NINJA to conf
* Fix wrong placed port states
* Resolve merge conflict
Included is a script that sets up all vcpkg's Azure infrastructure for Windows PR tests, and several updates to baselines. The baseline updates are generally caused by an updated copy of the MSVC++ compiler caused by updating the VMs, but some are caused by missed failures only detected now because this did a cleared out archives directory first.
Some of the build infrastructure isn't what I'd call 'pretty' (e.g. we're split into more scripts and such than I'd like) but this mirrors how our existing PR system works.
It is expected that the existing vcpkg Windows PR system will hate these baseline updates so we'll need to merge this, then remove that (duplicate) workflow immediately afterwards, then delete all the Windows VMs powering the old infrastructure.
* [c4core] Add new port
* Remove deprecated include
* Fix ver regarding maintainer guide
* Mark port as unsupport arm/arm64
* Update CI baseline
* Mark port as unsupport OSX
* Update CI baseline
* Fix path to header instead of moving
Signed-off-by: vvandrounik <vvandrounik@gmail.com>
* Replace deprecated func vcpkg_extract_source_archive, add PREFER_NINJA to conf
* [avisynthplus] Add new port
* [avisynthplus] Disable static build
Static build is not supported. See https://github.com/AviSynth/AviSynthPlus/issues/130
* [avisynthplus] Ass Supports to CONTROL
* [avisynthplus] set static to fail in CI baseline
* [avisynthplus] add vcpkg_fail_port_install
* Fix building avro-c in Linux
* Increment version
* Declare Linux is supported
* Updated CI baseline
Co-authored-by: Michael Spector <spektom@gmail.com>
* Add iOS community triplets and toolchain support
Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.
To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES
The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
- arm, arm64, x64, x86.
The following VCPKG_OSX_SYSROOT values are currently supported:
- iphoneos, iphonesimulator, or an absolute path to the device or
simulator Xcode SDK.
VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.
CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.
Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.
The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.
Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.
The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.
Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).
The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.
Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.
Fixes: #6003
* Fix building libpng and pcre2 targetting iOS
Fixes: #6003