Commit Graph

2077 Commits

Author SHA1 Message Date
Kai Pastor
190610bb80
[cmake-user] Re-enable tests with minimum cmake version 3.7.2 (#23315)
* Update minimum cmake test to 3.7.2

* Re-enable test with minimum cmake
2022-02-28 10:32:09 -08:00
Kai Pastor
43cb9a9026
Explicitly fetch 7zip (#23302) 2022-02-28 09:33:52 -08:00
Alexander Neumann
1b1ae50e1a
[vcpkg-tools] update cmake and git (windows only) (#22985)
* update cmake to 3.22.0-rc3 to verify catalogue compatibility and be ready for final release

* update to cmake 3.22 final release

* [vcpkgTools] update to cmake 3.22.1

* update test port

* update cmake to 3.22.2
and git for windows to 2.35.1.2

* fix missing uuid on osx in ignition-transport.

* modernize

* fix hash

* fix qtbase regression

* try fixing the pc file search

* hidaoi give trace logs

* give me trace output

* bit of pkgconf changes. Need system search paths for pkgconf to work correctly.

* fix underscore

* remove extra x

* revert port changes

* add license to cmake test port

* fix arm regression due to not finding taglib.

* version stuff

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Alexander Neumann <you@example.com>
2022-02-25 22:51:53 -08:00
Billy O'Neal
d457f8f162
Update vcpkg tool to 2022-02-24. (#23162)
* Update vcpkg tool to 2022-02-18.

* Actually do 2022-02-24.
2022-02-25 15:20:41 -08:00
Billy O'Neal
863b3c3abe
[vcpkg] Add fixed changelog generator. (#23255) 2022-02-24 20:51:44 -08:00
Daniel Schürmann
a34997af6c
[vcpkg] Meson osx sysroot (#21772)
* [get_cmake_vars] add -isysroot flag independednt of crosscompiling

Even without crosscompiling it is possible to specify a VCPKG_OSX_SYSROOT or
a SDKROOT this should be popagated to autotools and meson builds as well.

* [meson] add -arch and -isysroot to linker flags in case of osx crosscompile

* [meson] avoid DEPRECATION warning about flags in the [properties] section

* [meson] don't set OSXROOT evironment varibale

* [meson] don't set MACOSX_DEPLOYMENT_TARGET environment variable

cmake appends the -mmacosx-version-min flag c/cxx flags, overriding the
value set via VCPKG_C_FLAGS. By setting the environment variable, the
VCPKG_C_FLAGS value was used for meson builds. Now the same value is
taken for both.

* [meson/make] Add CMAKE_OSX_DEPLOYMENT_TARGET to VCPKG_DETECTED_CMAKE_C_FLAGS

This is done in the same way in CMake internally
2022-02-24 11:04:11 -08:00
Alexander Neumann
fabf35daf3
[lapack-reference] Update to 3.10 (#23228)
* udpate lapack stuff

* version stuff

* update baseline

* fix logic.

* version stuff

* Update ports/lapack-reference/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* version update

* move entries in ci baseline around

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2022-02-24 10:47:52 -08:00
Billy O'Neal
982cf2bf18
[tinyexif] Remove from fail list. (#23163)
As detected by https://dev.azure.com/vcpkg/public/_build/results?buildId=67552&view=results

Probably fixed by https://github.com/microsoft/vcpkg/pull/23102
2022-02-23 14:06:45 -08:00
Stefano Sinigardi
401578455f
[OpenCV] upgrade to v4.5.5 (#22801)
* [OpenCV4] update to v4.5.5

* [OpenCV] bump version

* [gstreamer] fix build for opencv

* fix references

* [vcpkg-tool-meson] fix nuget packaging

* fix references

* [gstreamer] fix references

* [ogre] update vcpkg tools

* fix references

* [OpenCV4] fixes from CI runs

* fix references

* [OpenCV4] force python module also in debug builds

* fix references

* [harfbuzz] fix cmake config

* harfbuzz fixes

* fix references

* [OpenCV4] remove unnecessary lines from patches

* fix references

* fix references

* [harfbuzz] bump version

* [harfbuzz] fix for single config builds

* fix references

* freetype fixes

* fix references

* fix ogre references

* fix references, again

* python when building static windows opencv libraries is unsupported

* fix references

* fix

* refs

* use required when necessary

* fix references

* do not use config for hdf5, use internal module

* fix references

* use proper spelling for freetype config cmake

* fix references

* [OpenCV] restore versions after merge

* fix references

* [leptonica] fix building

* fix references

* do not require package in optional features

* £fix references

* fix python feat

* update version

* update version

* [ffmpeg] remove opengl feat on arm64-windows

* format manifest

* fix references

* fix cuda/nvidia features compatibility matrix

* fix manifest

* fix

* fix

* fix references

* fix references, again

* move CONTROL to manifest

* [gstreamer] bump versions

* fix references

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-02-23 11:57:13 -08:00
acd1034
6a67b165a8
Fixes typo in vcpkg_download_distfile.cmake (#23181) 2022-02-22 12:12:49 -08:00
Jack·Boos·Yu
c45b418ed8
[gainput] Support Linux (#23219)
* [gainput] Support Linux

* version

* update patch to fix osx build issues

* version
2022-02-22 11:46:08 -08:00
Robert Schumacher
5cf60186a2
[vcpkg.cmake] Partially revert #23134 (#23176) 2022-02-18 15:48:45 -08:00
Kai Pastor
3565cab797
[vcpkg-cmake-config] Merge INTERFACE_LINK_LIBRARIES configurations (#22546)
* Merge INTERFACE_LINK_LIBRARIES configurations

Direct references to binaries must match the active build type when used.

* Update tmx for cmake_config_fixup

* Update versions

* Prevent repeated fixup of the same file

* Don't change line structure

* Update versions

* CI

* Apply CR suggestion

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update versions

* Fixup CR suggestion

* Update versions

* Update versions

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-18 13:54:55 -08:00
Kai Pastor
642a21c0f3
[cmake-user] Disable CI test with CMake 3.4 (#23168) 2022-02-18 10:30:38 -08:00
autoantwort
6ce8ef3337
[ports] add support expressions (#23034) 2022-02-17 17:23:21 -08:00
Thomas1664
f7db911f44
[vcpkg docs] Remove deprecated functions from docs (#23018)
* Remove deprecated functions from docs

* Fix docs in cmake files

* Fix links
2022-02-17 17:08:33 -08:00
Kai Pastor
d4422c3beb
[poppler,gdal] Major update to poppler; poppler feature for gdal (#22720)
* Major update to port poppler

* Fixup usage requirements via main pc file

* Add usage based on FindPkgConfig

* Export unofficial cmake config

* uwp is unsupported

* [gdal] Add poppler feature

* [gdal] Update poppler dependency

* [gdal] Add patch for poppler C++17 API

* Disable ENABLE_RELOCATABLE

* Update to 22.02.0 from poppler gitlab

* Update versions

* [skip actions] CI with gdal tools

* Revert "[skip actions] CI with gdal tools"

* Modify feature name for private API

* Update versions

* Add license field to gdal manifest

* Add port name to unofficial namespace

* Rectify poppler version number

* Update versions

* poppler[fontconfig] doesn't build for MSVC

* Update versions

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2022-02-17 17:03:04 -08:00
Billy O'Neal
805811e16a
Change minimum CMake version to 3.7.2. (#23134)
* Change minimum CMake version to 3.7.2.

This moves our oldest supported Linux back up to today minus 5 years, Debian 9 from 2017 comes with 3.7.2.

* Enable more policies.
2022-02-17 10:46:49 -08:00
Billy O'Neal
6647a76be8
[fbthrift, fizz, folly, mvfst] Fix dependency resolution. (#23124)
* [fbthrift, fizz, folly] Fix dependency resolution.

Found by nightly build https://dev.azure.com/vcpkg/public/_build/results?buildId=67402

* wangle was fixed by a compiler update on a patch tuesday.
* this unblocked attempting fbthrift on x64-windows hosts, but it misses a header; added patch already merged upstream adding missing algorithm <include>
* fixed folly attempt to insert the right debug prefix which was broken by vcpkg_fixup_cmake_targets no longer generating _IMPORT_PREFIX.
* disable dynamic build of fbthrift on Windows because it tries to create DLLs with no import libs (because it makes no exports)

* Format and fix version database.

* Back out fizz patches.

* Block dynamic flavors. (The build in question builds an exe and expects all its dependencies to be linked statically and patching the build system to copy over the right DLLs seems out of scope)

* Add libevent patch.

* Also fixup mvfst and add missing CONFIG to patch.

* Remove unused patch.

* Fix version sha
2022-02-16 19:56:04 -08:00
Billy O'Neal
b77f20ec4c
Recombine osx and normal ci. (#23144)
* Some of the Windows runs have started to exceed 24 hours now as well as the MacOS ones as we have added more ports.
* We are no longer trying to constantly "psychic debug" why ports are failing; CI passes somewhat regularly now, and the failures we get seem to be much more deterministic.
* We're still budget constrained on Azure resources (and have been a bit over budget)

To that end, we're going back off nightly CI runs to Monday Wednesday Friday (like osx already is), so we no longer need separate bits for them.
2022-02-16 19:55:46 -08:00
Robert Schumacher
582b265bf7
[fribidi] Fix cross-compilation in meson. Re-enable arm64-windows. (#23063) 2022-02-16 13:04:51 -08:00
Kai Pastor
55e666af39
[mpfr] Skip doc and examples (#22859)
* Trim build

* Update license info

* Update versions

* Remove mpfr from ci baseline
2022-02-16 12:56:41 -08:00
Alexander Neumann
18e6e8855d
[vcpkg.cmake] remove timestamp file (#20549)
* [vcpkg.cmake] move timestamp file into binary dir. Otherwise CMake errors on reconfigure if _VCPKG_INSTALLED_DIR is a subdir of CMAKE_SOURCE_DIR and not within CMAKE_BINARY_DIR if in source changes are forbidden

* remove the cmakestamp.
2022-02-15 23:13:59 -08:00
Jack·Boos·Yu
dc470a9bd7
[vcpkg_find_acquire_program] Update tool flex/bison to 2.5.25, change repo to github (#23084) 2022-02-15 20:32:16 -08:00
Phoebe
897f02781f
[vcpkg_acquire_msys] Update version and hash (#22974)
* [vcpkg_acquire_msys] Update version and hash

* Address the review suggestions

* Update scripts/cmake/vcpkg_acquire_msys.cmake

Revert bash changes

* Update scripts/cmake/vcpkg_acquire_msys.cmake

Revert libintl

* Update scripts/cmake/vcpkg_acquire_msys.cmake

Revert gcc-libs

* Revert diffutils and libreadline

* Revert autoconf sed and make

* Revert gzip file findutils runtime binutils

* Add the revert pkgs back except msys2-runtime

* Update python to 3.9.x cause failure in tensorflow and tensorflow-cc
2022-02-15 20:26:02 -08:00
Daniel Schürmann
016788b220
[vcpkg_configure_make] Fix handling of link flags (#22798)
* [vcpkg_build_make] only link against manual-link folder if exists

* [vcpkg_configure_make] don't set LD_LIBRARY_PATH

This is not recommended during the normal build process
https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html

* [vcpkg_build_make] Only set the lib path if exists

* [vcpkg_configure_make] Resore handling of _LINK_ environment variable

* [vcpkg_build_make] Backup and restore CPPFLAGS CFLAGS CXXFLAGS RCFLAGS

* [vcpkg_build_make] Fix name of LINKER FLAGS detected from cmake

* [vcpkg_build_make] replace obolete _VAR_SUFFIX with cmake_buildtype
2022-02-15 18:31:16 -08:00
Billy O'Neal
c93faafe6d
Update vcpkg-tool to 2022-02-11 (#23059)
* Update vcpkg-tool to 2022-02-11

* Fix agent pool.
2022-02-13 21:57:51 -08:00
Billy O'Neal
898d6b1a1c
Minor bugfixes to MacOS deployment readme. (#23062)
* Minor bugfixes to MacOS deployment readme.

* Update vsts-agent to 2.198.3
* Remove rimraf of ~/vagrant/vcpkg-eg-mac
* Add fetch and branch switch before running Install-Prerequisites.ps1 to make sure it's updated
* Clarify "the fileshare" as ~/vagrant/share
* Clarify that the date `Setup-VagrantMachines.ps1` wants is the box version date.
* `Setup-VagrantMachines.ps1` parameter to be DevopsPat rather than Pat

* nicole updates

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-13 21:57:22 -08:00
Jack·Boos·Yu
8dbd66f5a7
[ci.baseline.txt] Skip colmap on osx due to metis conflict (#23047) 2022-02-11 18:40:51 -08:00
nicole mazzuca
47c5701747
[macos ci] 2022-02-04 update (#22942)
* add moar ram (no PR)

* Provision autoconf-archive on osx (PR #22872)

* [mpfr] Support Linux and OSX (PR #22845)

* VM software versions

* fix minor schema bug

* update pool

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-02-09 13:25:57 -08:00
Daniel Schürmann
d15470bb64
[vcpkg_configure_make] Set the --host parameter in case of Linux crosscompile (#22331)
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-02-08 22:53:17 -08:00
nicole mazzuca
7e7dad5fe2
[vcpkg-tool] update to 2022-02-03 (#22924)
* [vcpkg-tool] update to 2022-02-03

this adds the feature of `"license": null`, important to silence warnings

* update mailio license

* [vcpkg doc] update docs for new license parser

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-04 18:00:26 -08:00
Jack·Boos·Yu
dd7550b0fc
[vcpkg_fail_port_install] Deprecate function (#21489)
* [vcpkg_fail_port_install] Deprecate function

* Update doc

* Apply suggestions

* Revert changes about include this function and delete doc

* Apply suggestions

* version

* Update docs/maintainers/vcpkg_fail_port_install.md

Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>

* Update scripts/cmake/vcpkg_fail_port_install.cmake

* Update scripts/cmake/vcpkg_fail_port_install.cmake

* Use message("${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL}"  to ensure it works with `--prohibit-backcompat-features`.

Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-02-03 13:04:55 -08:00
Billy O'Neal
c64c0fdac5
Update vcpkg-tool to 2022-02-01 (#22629) 2022-02-02 10:51:19 -08:00
Geoff Evans
75ad7f54db
[scripts/toolchains/android.cmake] Remove start-of-string regex check for overlay triplet name matching. (#20059)
This change allows for adding a prefix to android overlay ports, which many other systems support already. The android system relies on regex matching of the triplet name to deduce the ABI, so this change just allows for that string to be anywhere in the overlay triplet string.
2022-01-31 21:14:16 -08:00
Kai Pastor
912bfa9d88
[vcpkg] Fix termination of vcpkg root search (#22694)
* Fix termination of vpckg root search

* Apply CR suggestion

Co-authored-by: Vadim Peretokin <vperetokin@hey.com>

Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-01-31 11:18:22 -08:00
autoantwort
6ba505cf2c
[vcpkg] collect error logs in logs.txt in the buildtrees folder (#22146)
* collect error logs in logs.txt in the buildtrees folder

* Use global variable

* rename file to error-logs-.txt and remove error: prefix in file
2022-01-28 11:30:49 -08:00
autoantwort
16f5411585
[detours,devicenameresolver,dlfcn-win32,duilib,winpcap] add supports expression (#22776) 2022-01-28 11:18:29 -08:00
Robert Schumacher
520e6af87f
[ci.baseline.txt] Remove fails for passing ports (#22821) 2022-01-28 11:04:38 -08:00
Phoebe
7fe7314acb
[vcpkg_find_fortran] Update mingw-* version (#22786)
* [vcpkg_find_fortran] Updat mingw-* version

* Fix hash
2022-01-26 23:02:21 -08:00
autoantwort
08ea1c5287
[spdk-isal] only linux (#22451) 2022-01-26 15:27:17 -08:00
Robert Schumacher
c482f03676
[ci.baseline.txt] colmap:x64-windows-static and symengine:arm64-windows are now passing (#22796) 2022-01-26 15:19:31 -08:00
LilyWangLL
f5d8bf68b9
[libudis86] Fix build error (#22637)
* [libudis86] Fix build error

* update version

* update CMakeLists.txt

* update version

* update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-01-25 20:58:44 -08:00
Billy O'Neal
b18b17865c
Update intel-ipsec to 1.1, fix cmake configs, and support Windows. (#22269)
* update intel-ipsec to v1.1

* Update portfile.cmake, correct the install file path

* Add more double quotes

* Revert changes about double quotes

* version

* [intel-ipsec] Overhaul/modernize port.

* Remove CMakeLists.txt replacement that was a fancy way to say vcpkg_from_make/vcpkg_from_nmake.
* Convert support messages into a "supports" expression.
* Fix Windows.
* Correct CMake config handling of release/debug static/shared and Windows.

* Remove attempt to copy nonexistent PDBs.

* Apply CR feedback from Nicole and dg0yt

* Add if(TARGET

* Update always-generate-PDB patch with the version actually merged upstream.

Co-authored-by: Mengna-Li <you@example.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-01-24 16:30:52 -08:00
Max Khon
9b0c7e7b76
[libbacktrace] The port does not support windows builds (#22673) 2022-01-24 15:17:41 -08:00
Billy O'Neal
b06a316ff4
[libgpod] Remove vcpkg_fail_port_install. (#22739)
Previously there was no "supports", and there was overlap with ci.baseline.txt.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 13:48:07 -08:00
Billy O'Neal
fb1df5721e
[openssl] Remove vcpkg_fail_port_install. (#22755)
The only places this was being used were as morally asserts for the port itself. Also removed empty ports from ci.baseline.txt.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 13:35:21 -08:00
Billy O'Neal
1c0c374e93
[libfabric] Remove vcpkg_fail_port_install. (#22738)
vcpkg.json and portfile.cmake disagreed.

vcpkg.json: windows & x64 & !static
portfile:  !linux & !osx & !uwp & !x86

Also ci.baseline.txt has:
libfabric:arm-uwp=fail
libfabric:x64-linux=fail
libfabric:x64-osx=fail
libfabric:x64-uwp=fail
libfabric:x64-windows-static=fail
libfabric:x64-windows-static-md=fail

I'm assuming "windows" means the same as !linux & !osx.
I'm assuming "x64" is intended to be the same as "!x86" given the ci.baseline.txt entries.
This means we need to add !uwp.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 13:20:59 -08:00
Billy O'Neal
3ddcccfb9c
[libhdfs3] Remove vcpkg_fail_port_install. (#22740)
Previously there was no supports expression, and there was ci.baseline.txt impact.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 12:55:02 -08:00
Billy O'Neal
76cfc85cd9
[blend2d] Remove vcpkg_fail_port_install. (#22741)
Only wasm32 was missing.

Also ci.baseline.txt was out of date.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 12:54:40 -08:00