Commit Graph

54 Commits

Author SHA1 Message Date
Phil Christensen
e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* remove unfinished "supports" tag

* extract "supports" from control files
But do nothing with the value

* Start `Supports` documentation

* Use Supports in a bunch of control files

I only tried matching the already existing logic in the portfile.cmake.

* Cmake var provider (#8)

* Cmake var provider (#9)

* fix windows build (#10)

* Add missing files to build

* Fix test (#11)

* adding hooks for cmake variables in expressions

* Adding hooks for 'supports' in CI test

* Fix test (#12)

* Add overrides to evaluation environment

* use "supported" tag in CI testing

* cleanup comment

* Fix issues with PR

* [var_provider] Get library linkage variables from triplet

* Fix compilation errors in tests

* Add unimplemented functions

* Fix unit tests part 1

* Fix issue when buildtrees dir does not exist

* Change binary output hash

* Fix handling of * feature

* Add core feature when using *

* Do not add Default-Features when installing 'core'

* [vcpkg] WIP. 6 failing tests.

* [vcpkg] WIP. 1 failing tests.

* [vcpkg] WIP. 0 failing tests.

* [vcpkg] Removed 'remove_graph'. 0 failing tests.

* [vcpkg] Removed 'install_graph'. 0 failing tests.

* [vcpkg] Remove AnyAction; replace with ActionPlan

* [vcpkg] Minor cleanup.

* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.

* [vcpkg] Work around ICE with MSVC v140

* [vcpkg] Add purge on fail to decompress for CI

* [vcpkg] Fix parsing of nested parentheses in qualifiers

* [vcpkg] Fix Linux builds (explicit qualification in declaration)

* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.

* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'

* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt

* [cppitertools] Fix installed include namespace (should be include/cppitertools)

* [libsoundio] Move headers into soundio/ subdirectory as per original cmake

* [ci.baseline] Temporarily skip charls due to conflict with dcmtk

* [vcpkg] Add restricted include files post build check -- bump global abi version

* [libsoundio] Hotfix stray line in portfile

* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions

* [jsonnet] Fix installation of internal headers; use system nlohmann-json

* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.

* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'

* [x265] Bump control version to trigger rebuild after zfp conflict

* [akali] Disable parallel configure

* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [ci.baseline] Update baseline for improved upb support

* [tgui] Disable parallel configure

* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Disable parallel configure

* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change

* [libodb-sqlite] Fix configuring into source directory

* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [libodb] DISABLE_PARALLEL_CONFIGURE

* [vcpkg] Add 'config.h' and 'local.h' to restricted header list

* [mcpp] Remove unused and problematic include 'config.h' from installed files

* [teemo] Move installed headers into subdirectory to prevent conflicts with x265

* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.

* [vcpkg] Add 'slice.h' as a restricted header

* [osg] Improve accuracy of dependencies (disable some, add some to Depends)

* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars

* [ci.baseline] Skip mongo-c-driver on osx due to flakiness

* [teemo] Fix incorrect include file read

* [osg] Fix dependency typo: glut -> freeglut

* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.

A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).

* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.

* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS

* Fix typo

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-03 14:22:52 -08:00
Carlos O'Ryan
ebe505081b [grpc] Upgrade to gRPC-1.26.0 (#9363)
* WIP - Upgrade gRPC to 1.26.0

* Updated patch 00001

* Update 00002 patch.

* Update 00003

* Update 00005

* Remove 00007 patch.

* Really fix patch 00005

* Use CRLF for patches as before 🤷
2020-01-06 12:24:51 -08:00
Jozef Izso
e510f8708e [grpc] Update grpc to 1.24.3 (#9135)
* [grpc] Update grpc to 1.24.0

* [grpc] Update grpc to 1.24.3

* Disable error C4146 on uwp

C4146: unary minus operator applied to unsigned type, result still unsigned
2020-01-02 14:10:18 -08:00
JackBoosY
2ade1ec32b [grpc]Fix build failure in Linux: duplicate function gettid. (#8737) 2019-10-26 19:28:17 -07:00
Jozef Izso
cd8f320b8d [grpc] Update grpc to 1.23.1 (#8438) 2019-10-03 09:41:24 -07:00
Jozef Izso
135474a730 [grpc] Update grpc to 1.23.0 (#8109) 2019-09-09 08:59:28 -07:00
Robert Schumacher
1550b9e71b
[many ports] Updates 2019.07.09 (#7217)
* [many ports] Upgrades 2019.07.11

* Re-generate patches and fix build errors.

* [manyport]Fix build errors.

* Fix avro-c and console-bridge failures, revert curl and tesseract

* fix botan failure

* Fix build errors and undo some ports upgrades.

* [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors

* Fix build errors.

* [angle]Undo upgrade changes.

* [directxtk]Fix UWP build error (#7233)

* Revert leptonica since it cause tesseract failed

* Revert jsonnet

* [google-cloud-cpp] Disable parallel configure due to source directory writes

* [many ports] Undo undesired changes

* [bitsery] Fix indentation

* [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff

* fix console-bridge and remove usockets unused patch

* update ogre patch

* [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge.

* [console-bridge] Fix export macro

* [avro-c] Revert upgrade; split to #7875

* [avro-c] Complete previous revert
2019-08-24 13:43:57 -07:00
tarcila
54b3be6b60 [scripts] Fix vcpkg_fixup_cmake on non Windows platforms (#5630)
* [scripts] Fix vcpkg_fixup_cmake on non Windows platforms

Script was only handling tools executables ending with .exe.
Changed it so anything under /bin/ in transformed.

This fixes for instance FlatcTargets-release.cmake from flatbuffers
port on osx.
2019-06-24 23:21:30 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -07:00
Robert Schumacher
3fadafface
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24

* Update SHA512 and resolve conflict for ebml and matroska

* [avro-c]Fix build error caused by jansson upgrades.

* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)

* Fix failures and undo asio

* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches

* Update REF

* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes

* [flann, fastcdr] Fix old patches and build error.

* [flann, fastcdr] Fix build error.

* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes

* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.

* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi

* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers

* undo libmupdf forge kd-soap qca

* [mosquitto] Fix installation of import libs

* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes

* [fastcdr] Minimize patch

* [many ports] Revert trivial changes

* [libyaml] Switch to non-dist tag

* [sqlite-modern-cpp] Track master due to infrequent release

* [nano-signal-slot] Revert downgrade

* [openvpn3] Bump control version to account for portfile change

* [sqlite-modern-cpp] Fixup wrong hash

* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
Andrei Lebedev
4b45f9b56d [grpc,fmt,zstd] Add Windows-specific conditionals (#6509)
Check VCPKG_CMAKE_SYSTEM_NAME prior to performing Windows-specific
actions in portfiles

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2019-05-20 10:24:51 -07:00
Darrin W. Cullop
2fda34be1f [grpc] #6485 - Fix ARM/ARM64 on Windows Build (#6487)
This PR includes the following changes that are required to get gRPC to build for ARM/ARM64 on Windows
1) Updated to v1.20.1
2) Disables Codegen Build for ARM/ARM64 builds
3) Rebased the "Fix UWP" patch so that it will apply properly
4) Fixed the "Static Linking in Linux" patch because it specified an invalid option on Windows builds
5) Added patch to "#undef" a macro name collision
6) Added GDI32.lib to the list of standard libraries linked to Windows
2019-05-17 11:18:26 -07:00
Robert Schumacher
3d9c55d2e0 [many ports] Updates 2019.05.08 (#6382)
* [many ports] Updates 2019.05.08

* Undo changes for failure ports grpc libjpeg-turbo curl cartographer

* [guetzli] Patch to handle breaking changes in butteraugli
2019-05-09 22:53:05 -07:00
Hongxu Xu
23ae7eb168 [grpc] Supported static linking in Linux 2019-04-19 17:27:19 +08:00
NancyLi1013
8b4a607c32 [grpc] Update grpc to 1.9.1. (#5744) 2019-03-22 01:03:50 -07:00
Robert Schumacher
51653d2506 [grpc] Update to v1.18.0 2019-02-12 18:27:03 -08:00
Phil Christensen
d5656ef104 [grpc] update patch for uwp 2018-12-19 14:57:09 -08:00
Phil Christensen
224300c238 [grpc] Change portfile to trigger build 2018-12-18 22:30:26 -08:00
Carlos O'Ryan
165f96bb51
Update to v1.17.1 2018-12-13 19:20:26 -05:00
Carlos O'Ryan
2455140d99
Upgrade gRPC to 1.16.1. 2018-12-11 22:34:47 -05:00
Jozef Izso
0b771de4d7 [grpc] Update grpc to v1.14.1 (#4056)
* [grpc] Update grpc to v1.14.1

* [grpc] Adopt newer conventions
2018-08-13 15:27:45 -07:00
Robert Schumacher
c3d34e7d8e Upgrades 2018.06.31 2018-08-03 00:09:21 -07:00
Jozef Izso
c95b6bfdc4 [grpc] Update to v1.12.0 [protobuf] Update to v3.6.0.1 2018-07-17 16:09:11 -07:00
Jozef Izso
e524ada9f4 [grpc] Merge 2 patches 2018-06-29 19:34:29 -07:00
Dale Stammen
5e754c1d44 [grpc] Fix uwp (#3281) 2018-05-17 20:15:15 -07:00
Alexander Karatarakis
14708a09a9 [grpc] Fix build for linux
Fix
2018-04-23 18:43:05 -07:00
Robert Schumacher
89201f4aec [abseil][aws-sdk-cpp][azure-c-shared-utility][azure-iot-sdk-c][azure-uamqp-c][azure-umqtt-c][breakpad][exiv2][gdcm2][grpc][nuklear][rocksdb][rs-core-lib][thrift][zeromq] Upgrades 2018-04-05 22:02:37 -07:00
Robert Schumacher
c0a6371880 [grpc][harfbuzz][jsoncpp][libuv][openjpeg][rocksdb] Upgrades 2018-03-02 17:25:02 -08:00
Robert Schumacher
e3dda1a82d [azure-storage-cpp][cpp-redis][dirent][doctest][gdcm2][grpc][llvm][matio][spdlog][yaml-cpp] Upgrades 2018-02-23 03:27:04 -08:00
Francisco Facioni
d837a89c64 [grpc] update to 1.8.3 2018-01-10 10:12:05 +00:00
Robert Schumacher
fec269d594 [protobuf] Restore removed export required for GRPC. [grpc] Update to 1.7.2 2017-11-25 12:36:50 -08:00
Jozef Izso
2c4d1dc17f Update grpc port to release 1.7.0 2017-11-09 21:43:44 -08:00
Robert Schumacher
f527812e9e [grpc] Fix absolute paths in installed cmake files. 2017-10-19 08:53:59 -07:00
Arkady Shapkin
cccbdacc47 [grpc] Update version to 1.6.0 2017-09-07 22:16:39 +03:00
Arkady Shapkin
d67ae2fa3f [grpc] Update to version 1.4.1
Fix installing gRPCTargets*.cmake
2017-07-08 03:42:54 +03:00
Robert Schumacher
4267c86b1f [grpc] Use vcpkg_copy_tool_dependencies 2017-07-07 17:19:29 -07:00
Arkady Shapkin
c0890d7276 [grpc] Fix missing dll's for grpc_cpp_plugin 2017-07-07 16:29:57 +03:00
Jozef Izso
b0b186643c grpc 1.4.0 2017-06-23 14:52:26 +02:00
Robert Schumacher
93d46a9a61 [grpc] Suppress build of csharp extension to fix #1117 2017-05-19 15:24:01 -07:00
Arkadiy Shapkin
7759a557cb [grpc] Update to version 1.3.1 2017-05-11 14:44:14 +03:00
Robert Schumacher
a7d52089f9 [grpc] Minor portfile cleanup 2017-05-06 23:04:32 -07:00
Robert Schumacher
8df90aaa60 [grpc] Use vcpkg_fixup_cmake_targets() and improve file layout. 2017-05-06 23:02:25 -07:00
Robert Schumacher
75cdbd398b [grpc] Update to 1.2.3 2017-04-21 19:40:04 -07:00
Alexander Karatarakis
86e2c35725 [grpc] Extract GRPC_VERSION variable 2017-04-18 17:29:24 -07:00
Robert Schumacher
1c3335ed66 [grpc+protobuf] Update to 1.1.2 and 3.2.0 respectively. 2017-02-17 01:18:32 -08:00
Robert Schumacher
678f7faf0b Merge pull request #639 from msmolens/fix-grpc-exported-targets
[grpc] Fix exported targets
2017-02-09 00:04:44 -08:00
Max Smolens
8c322ca613 [grpc] Fix exported targets
Fix gRPC's exported targets. Now CMake projects can do:

    find_package(gRPC CONFIG REQUIRED)

and then use the exported targets such as gRPC::grpc and gRPC::grpc++.

Additionally, install gRPC tools and protoc plugins into the 'tools'
directory. The plugins are required to generate gRPC client and server
interfaces from .proto service definitions.
2017-02-07 15:43:52 -05:00
Dženan Zukić
9ee6208e02 Install grpc_cpp_plugin.exe into tools folder 2017-02-01 12:49:09 -05:00
codicodi
74784355e5 [grpc] build statically and preserve debug libs 2017-01-14 02:55:04 +01:00
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00