Commit Graph

12586 Commits

Author SHA1 Message Date
ras0219
0b5bbe30d9
[vcpkg] Lift --x-json to a global option, implement experimental x-package-info command (#12845)
* [vcpkg] Improve error reporting in vcpkg::Json

* [vcpkg] Lift --x-json to a common option

* [vcpkg] Address warnings-as-errors in VS2015

* [vcpkg] Remove unused local

* [vcpkg] Extract vcpkg::Install::get_cmake_usage

* [vcpkg] Implement vcpkg::serialize_ipv(ipv, paths)

* [vcpkg] Implement x-package-info to enable tooling

* [vcpkg] Fixup tests to respect new cli mode

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-08-13 18:36:33 -07:00
Thad House
5bb91a9452
[wpilib] Update to 2020.3.2 (#12373)
* Update wpilib port to 2020.3.2

Latest 2020 release

* Fix review comments
2020-08-13 13:34:09 -07:00
Christopher Di Bella
e1a0367273
[constexpr-contracts] Adds new port (#12818)
* adds constexpr-contracts to vcpkg

* Update ports/constexpr-contracts/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-13 13:33:59 -07:00
Alexander Neumann
4935f12b6d
[vcpkg/scripts/make] trying to iron out some issues (#11836)
* take changes from fontconfig pr

* [farmhash] add autoconf

* [freexl] add autoconf

* [healpix] add autoconf

* [libb2] add autoconf

* [libwandio] add autoconf and patch

* more autoconf

* [x264] fix windows build issues

* minimal cleanup

* [libwandio] some fixes

* [vcpkg/scripts/make] add include to C/CXX flags correctly set machine flags for linker

* remove unnecessary comments part 1

* cleanup part 2

* cleanup

* remove unnecessary code

* [pbc] fix osx regressions

* [lzokay] format manifest

* try to copy sources to fix build issues

* add autoconfig to force updated configure scripts

* bump port versions of openmpi and ocilib

* added lib paths back into vcpkg_build_make because they are probably required

* Use CPP flags
add quotes around restoring of ENV
add LIB and LIBPATH correctly

* Apply suggestions from code review

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Apply more changes forom CR
- remove mingw make
- add doc for missing options
- introduce two new macros for backup/restore of env vars

* fix wrong variables.

* use the list macro instead of the single var macro

* also use it at the top

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-13 13:32:55 -07:00
Alexander Neumann
3ee1283aef
[bzip2] fixes for building release-only (#12880)
* [bzip2] fixes for building release-only

* [vcpkg_fixup_pkgconfig] fix spacing in messages

* Update ports/bzip2/portfile.cmake

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Update portfile.cmake

* back out changes to vcpkg_fixup_pkgconfig

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-13 13:22:54 -07:00
ras0219
c771e7bd07
[vcpkg] Fix resolution of default features when using Manifest mode (#12829)
* [vcpkg] Fix resolution of default features when using Manifest mode

During manifest mode, the dependencies in the manifest should be treated as explicitly specified -- curl[core] should not install curl's default features.

* [vcpkg] Improve error message when failed to parse manifest file

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-08-12 12:35:26 -07:00
Alexander Neumann
f3b96f339c
[lapack-reference|fortran] Add new port (#12805)
* [vcpkg/script] add vcpkg_find_fortran

* [openblas] add pkg-config fixes

* [lapack] add lapack-reference and reduce dependency on clapack

* fix build issues

* dont touch any main files

* move toolchain var into parent scope

* fix a few more issues

* create link in the noblas case

* removed unnecessary check handled by vcpkg_find_fortran.

* move dumpbin check

* fix last issue

* depend on openblas

* set cmake_binary_dir so that compiler id run gets put into buildtree.

* more paths

* add missing PARENT_SCOPE

* ws change

* [mlpack] remove dep on clapack

* comment out patches

* remove openblas again

* Install lapack wrapper since it is missing linkage against -lm and -lgfortran

* PREPEND mingw path to make sure cmake picks it up correctly

* depend on openblas also on osx

* add clapack on windows to skip due to conflicting library installs

* add clapack to skip on linux

* add -fPIC as a fortran compiler flag

* do not add the flag on windows

* add gcc explicitly to the cmake args.

* ws change

* applyrequested changes from CR

* fix the failing patch
2020-08-12 10:28:41 -07:00
NancyLi1013
dea76199aa
[curl] Fix static build (#12800)
* [curl] Fix static build

* Add static patch
2020-08-12 10:23:44 -07:00
Alberto Luaces
d7fc2196c1
[osg] Update to 3.6.5 (#12672)
* Update osg to 3.6.5.

* Remove port-version

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-12 10:22:40 -07:00
Jack·Boos·Yu
9a751370f3
[vcpkg baseline] Fix openimageio and pangolin build failures on Linux (#12856)
* [openimageio] Add dependency libheif

* [pangolin] Fix link to linux system lib libutil

* [libheif] Install extra headers for other ports(oiio)
2020-08-12 09:35:03 -07:00
Phoebe
0a16cad007
[boost-modular-build-helper] Fix issue that link incorrect dependent libraries (#9224)
* [boost-modular-build-helper] Fix build issues when release only

* Configure Jamroot.jam on linux

* Fix indentation

Co-authored-by: PhoebeHui <v-phma@microsoft.com>
2020-08-10 17:36:10 -07:00
Jack·Boos·Yu
7ad0f085d7
[netcdf-c] Fix dependency libmath (#12434)
* [netcdf-c] Add dependency embree3

* [netcdf-c] remove dependency embree3, change the search sequence

* [netcdf-cxx4] Re-fix dependency hdf5

* Update ports/netcdf-c/CONTROL

* [netcdf-c] Remove dependency embree
2020-08-10 16:08:37 -07:00
Jack·Boos·Yu
fa1823dcad
[opencolorio-tools] Separate feature application to avoid circular dependency (#12420)
* [opencolorio-tools] Separate feature application to avoid circular dependency

* [opencolorio] Remove oiio related patch

* [opencolorio] Do not make tools

* [opencolorio-tools] make sure share folder is clean

* [docs] Add format document

* improve the error message

* Check the error message

* Finish test

* Update ports/opencolorio/portfile.cmake

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Use vcpkg_copy_tools

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-10 16:05:26 -07:00
Jack·Boos·Yu
634c1043b0
[vcpkg_copy_tool_dependencies] Use vcpkg internal powershell (#12776)
* Use vcpkg internal powershell

* [protobuf] change vcpkg_copy_tool_dependencies to vcpkg_copy_tools
2020-08-10 15:40:21 -07:00
Daniel
92f6eb402a
[fribidi] Update to 1.0.10 (#12517)
* [fribidi] Update to 1.0.10

* [fribidi] Disable tests and executables

* [fribidi] Apply FRIBIDI_LIB_STATIC to static builds

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-10 15:33:47 -07:00
Long Nguyen
fca18ba357
[zlib, libpng] Fix pkg-config for mingw (#12753)
* [zlib] Fix pkg-config for mingw

* [libpng] Fix pkg-config for mingw
2020-08-10 15:32:23 -07:00
adrido
ffd6ae40d5
[directxsdk] Add new Port (#12778)
* [directxsdk] Add new port

* Apply suggestions from code review

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Format manifest

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2020-08-10 15:28:33 -07:00
Daniel Parker
160d3ac7bb
[jsoncons] Update to v0.155.1 (#12827) 2020-08-10 15:10:00 -07:00
Rémy Tassoux
55c2f3fb7e
[implot] Update to 0.4 (#12835)
Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2020-08-10 15:08:36 -07:00
nicole mazzuca
895678db8f
[vcpkg] Rewrite CMake build system to be more target-based (#12698)
* Change to using more target-focused cmake

* Add vcpkg_target_add_warning_options

* targetify the rest

* move the globs together

* Force-include pch.h on non-windows

* Rename VCPKGLIB_NON_PCH_* to VCPKGLIB_* in globs

* Remove `include "pch.h"`s

* missed a few lines

* fix build

* fix CMAKE_CURRENT_SOURCE_DIR

* try to fix VCPKG_REQUIRE_LINK_CXXFS

* change msvc-stl logic

* fix build

* CR

* clang-format

* Apply suggestions from code review

Thanks @ras0219!

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-10 12:32:34 -07:00
ras0219
481738beae
[vcpkg] Add vcpkg export to E2E tests. Enable E2E tests on all platforms. (#12198)
* [vcpkg] Add `vcpkg export` to E2E tests. Enable E2E tests on MacOS.

* [vcpkg] Fix export --raw --output-dir=/path/ by changing directory to new export root

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-10 10:22:51 -07:00
Adam Johnson
ed474ea934
[physx] Add support for checked and profile builds. (#12710) 2020-08-10 09:34:35 -07:00
George White
6234487442
[raylib] rm vcpkg-cmake-wrapper.cmake, add hidpi (#12484)
* [raylib] rm vcpkg-cmake-wrapper.cmake, add hidpi

raylib is a CMake-built project which already exports its targets using
a custom raylib-config.cmake file, so use that instead. Add a feature to
enable support for HiDPI displays.

* [raylib] Update vcpkg-cmake-wrapper.cmake

* Update ports/raylib/vcpkg-cmake-wrapper.cmake

* raylib/CONTROL: Bump Port-Version to 3

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-10 09:33:50 -07:00
nicole mazzuca
46bb7e925d
[vcpkg] Make C++ the primary github language (#12810)
set the linguist settings up so that github treats vcpkg as a C++
project (basically, ignore /ports)
2020-08-10 09:28:50 -07:00
Regen
c7a2f021f2
[embree3] Update to 3.11.0 (#12555)
* Update embree to 3.11.0

* Update portfile.cmake

Remove unused function include(vcpkg_common_functions)

* Update ports/embree3/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2020-08-09 13:16:00 -07:00
tbdrake
4b1950f798
[crashrpt] Add new port (#9162)
* Add port files for crashrpt

* Fix x64 output paths and fail port install if architecture is not x86 or x64

* Use vcpkg_fail_port_install

* Add patch for CMakeLists.txt add install target for CrashRpt and CrashSender

* Replace vendored dependencies for minizip, png, and zlib with packages from vcpkg

* Fix 002-find-minizip-png-zlib.patch, accidentally included folder move/renaming in previous commit

* Add vcpkg_copy_tool_dependencies so that dlls for CrashSender .exe will be copied to tools folder

* Add install for crprober.exe tool

* Replace libogg and libtheora vendored dependencies using find_library() and find_path()

* Replace vendored tinyxml library

* Replace vendored wtl library

* Replace vendored JPEG library with libjpeg-turbo from vcpkg

* Add patch to install demos and test applications to tools directory and add vcpkg port features to enable building the tests and demos

* Add port of dbghelp that copies files from Windows 10 SDK. Use this crashrpt to replace vendored dependency of dbghelp.

* [dbghelp] Improve portfile.cmake

* Update baseline

* update CONTROL file

* Update ci.baseline.txt to skip dbghelp on Windows platforms

* * Combined patch files
* Use vendored minizip since it has modifications to support Unicode file paths using wchar_t* which CrashRpt depends on
* Add feature "probe" in order to allow excluding the CrashRptProbe library

* Use VERSION_GREATER instead of MATCHES to compare WINDOWS_SDK version in dbghelp portfile.cmake. Remove redundant check of WINDOWS_SDK version later in script.

Co-authored-by: Travis Drake <tdrake@qsrautomations.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-09 13:12:14 -07:00
Phoebe
8121b4ec3d
[raylib] Fix the feature issue (#12783) 2020-08-07 16:17:24 -07:00
NancyLi1013
23fcc57ad1
[curl] Fix tools (#12758) 2020-08-07 16:15:20 -07:00
Christophe Calmejane
60bb798ceb
[vcpkg] Improving android support (#12634)
* Fix for Android compilation
See https://github.com/microsoft/vcpkg/issues/5809

* Allow for custom android triplets. Fallback to Xamarin installed NDK.

* Increased Port-Version for boost-modular-build-helper

* More restrictive matching pattern for android toolchain
2020-08-07 16:14:05 -07:00
Stefano Sinigardi
80fae15c03
[darknet] ready for yolo_v4 (#11037)
* [darknet] ready for yolo_v4

* [darknet] add yolov4 training weights

* [darknet] use github host for release materials

* [darknet] update to latest fixed revision

* [darknet] update to 20200504 release

* fix static/shared CRT linking mismatch

* [darknet] update to 20200519

* [darknet] add yolov4-tiny

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-07 16:10:58 -07:00
Lily
1973918384
[libass] Fix build error on x64-windows-static (#12528)
* [libass] Fix build error on x64-windows-static

* [libass] Update vcpkg.json

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update portfile.cmake

* [libass] Resolve conflict

* [libass] Resolve conflict

* format manifest

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-07 16:06:43 -07:00
xahon
728c54951f
[tlx] Add new port (#11943)
* [tlx] Init port

* Add non-windows cmake targets fixup

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Fix version

* Update ports/tlx/portfile.cmake

Fix the typo

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <v-ruil@microsoft.com>
2020-08-07 15:39:55 -07:00
Kuntal Majumder
9e853cf17c
[many ports] Adding libraries needed to build Krita (#11861)
* Add KF5Config

* Add KF5WidgetsAddons

* Add KF5Completion

* Add KF5CoreAddons

* Add KF5WindowSystem

* Add KF5GuiAddons

* Add KF5ItemModels

* Add KF5ItemViews

* Add KF5i18n

* Initial attempt to port quazip

* Fixed Quazip post installation checks

* Fixed linux builds

* Fixed x64-linux dynamic builds

* Temporary patch for KF5Completion until fixed in upstream

* Add Vc

* Add libde265

* Add libheif

* Don't build examples and gdk pixbuf for libheif

* Add KF5Crash

* Fix windows builds

* Add gettext as a dependency of kf5i18n

* Formatting changes applied

* Add homepages of all the ports

* Removed deprecated functions

* Fix quazip builds for x64-windows-static triplet

* Put support directives and fixed windows static builds

* Fix KF5Archive branch

* fixing libheif for unix systems

* Some linux specific changes

* Apply suggestions to kde frameworks

* Update quazip patch as suggested
2020-08-07 15:38:18 -07:00
Maksim Moisiuk
c74bc921fe
[libressl] add download mirror (#11949)
* [libressl] add download mirror

* increment version in CONTROL file

* drop cmake_minimum_required

* use vcpkg_fail_port_install

* use vcpkg_check_features

* remove deprecated VCPKG_CMAKE_SYSTEM_NAME

* rename deprecated function to vcpkg_copy_tools

* leave pkgconfig

* [libressl] Restore vcpkg_copy_tool_dependencies

* Update portfile.cmake

Update the deprecated functions or variables

* [libressl] use vcpkg_copy_tools in port file

* [libressl] fix tools copying

* Update ports/libressl/CONTROL

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-07 12:19:15 -07:00
ζeh Matt
15141fbc95
[asmjit] Update to the latest commit (#12524)
* [asmjit] Update to the latest commit

* Use the correct date for version

* Update ci.baseline.txt

* [polyhook2] Update to the latest commit

* Update portfile.cmake

* Remove polyhook2 from ci.baseline.txt

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-07 12:17:10 -07:00
jgehw
5945950b25
[tensorflow-cc] fix build issues on Windows (#12546)
* fix build issues occurring from default bazel config being used because customized bazel config is stored in wrong directory

* [tensorflow-cc] Update CONTROL and ci.baseline.txt

* fix also applies to windows static build

* Revert "fix also applies to windows static build"

* leave variables unset in order to let bazel auto-detect them the same way it auto-detects include path avoiding mismatches between toolset and include files versions

* bazel VC auto-detect doesn't work (it ends up in a dev command prompt and tries to parse it), so fix the issue of inconsistency of toolset versions between auto-detection in vcpkg and bazel by letting vcpkg determine everything including toolset version

* see if updating really outdated bazel fixes finding correct VC tools on Azure DevOps

* setting x64-windows CI to fail again

It doesn't work if more than one VC toolkit is installed. Likely a bug in bazel. bazel is currently v3.4.1, however tensorflow v1.14 requires really outdated bazel v0.25. Going to upgrade tensorflow to v2.3 and then using up-to-date bazel, but will do this in a separate pull request, as it requires more work.

* revert bazel upgrade as tensorflow v1.14 requires outdated bazel 0.25

Co-authored-by: Gehweiler <Joachim_Gehweiler@McAfee.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-07 12:08:51 -07:00
Giulio Romualdi
222c35e3bc
[CppAD] Add CppAD port (#12560)
* [CppAD] Add CppAD port

* [CppAD] Fix compilation on Linux

* [CppAD] Remove vcpkg_common_functions from portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [CppAD] Avoid to add the postfix 'd' in the debug library

* [CppAD] Patch the pkgconfig file generation

* [CppAD] Remove the support for uwp and arm

* [CppAD] add DISABLE_PARALLEL_CONFIGURE as option of vcpkg_configure_cmake() command

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-07 11:49:36 -07:00
Radwan Ibrahim
025447ae0e
[tiff] Update 4.0.10 to 4.1.0 (#12559)
* Update tiff 4.0.10 to 4.1.0

* Update portfile.cmake

Co-authored-by: Radwan Ibrahim <Radwan.Ibrahim@cosmonio.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-07 11:49:27 -07:00
Jack·Boos·Yu
fde75f410e
[openimageio] Fix installed cmake file path. (#12592) 2020-08-07 11:48:19 -07:00
Ryan
45739eb28d
[Xbyak] Update to 5.93 (#12577) 2020-08-07 11:48:10 -07:00
Lily
904e1203da
[libzip] Fix find_package error (#12610) 2020-08-07 11:47:36 -07:00
Jack·Boos·Yu
95d3b86bca
[grpc] Fix generate plugin grpc_csharp_ext (#12611) 2020-08-07 11:46:49 -07:00
Phoebe
3ca402bf5c
[secp256k1] Fix build failures and export cmake targets (#12630)
* [secp256k1 Fix build failure and export cmake targets

* Update the ci baseline file
2020-08-07 11:45:37 -07:00
Jack·Boos·Yu
6718a4a703
[date] Fix config.cmake and usage (#12739)
* [date] Fix config.cmake and usage

* Correct fix

* Remove wrapper and usage
2020-08-07 11:44:42 -07:00
ig-or
5b35ffe65b
[qwtw] Add new port (#12748)
* [qwtw] add new port (qwtw library)

* CI baseline updated

* [qwtw] CONTROL bug fix
2020-08-07 11:44:13 -07:00
Long Nguyen
80ef2a3455
[flac] Disable stack smash protection and FORTIFY_SOURCE for mingw (#12761)
* [flac] Disable stack smash protection and FORTIFY_SOURCE for mingw

* Change flag injection + copyright install
2020-08-07 11:42:21 -07:00
ras0219
23d4072643
[boost] Add Supports fields and more accurately handle arm64-windows/x64-uwp (#12762)
* [boost] Add Supports fields. Regenerate to better describe arm64-windows and UWP.

* [ci.baseline.txt] Remove unneeded boost entries

* [libtorrent] Modify Supports to cover arm64-windows

* [ci.baseline.txt] Add exposed failures now that boost:arm64-windows builds

* Update ports/boost-fiber/CONTROL

* Update ports/boost/CONTROL

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-08-07 11:41:21 -07:00
Francisco Pombal
600743e1e1
[libtorrent] Update to 1.2.8 (#12768)
* [libtorrent] Update to 1.2.8

* Update scripts/ci.baseline.txt
2020-08-07 11:39:32 -07:00
Dico
cfe88ab476
[abseil] Fix CMake warning (#12781)
* abseil: Patch to fix CMake Threads dependency warning.

* abseil: Make portfile comment more concise
2020-08-07 11:13:09 -07:00
Eitan Har-Shoshanim
7c1e5863c0
wip (#12782) 2020-08-07 11:12:15 -07:00