Commit Graph

12117 Commits

Author SHA1 Message Date
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
Sönke Schau
186c77da27
[gSoap] Update to 2.8.105 and add a required shared directory (#12784)
* [gSoap] Update to 2.8.105 and add a required shared directory

* Add missing change in CONTROL file

* Remove unneeded suffix from version and entries to ci.baseline.txt

* Update CONTROL

Update Supports field

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-07 11:11:12 -07:00
Sönke Schau
dc5a1d3664
[libu2f-server] Fix wrong include reference (#12786)
* [libu2f-server] Fix wrong include reference

* [libu2f-server] Added missing files CONTROL an portfile

* Replace the patch with vcpkg_replace_string to fix up a header

* Update ports/libu2f-server/CONTROL

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-08-07 11:10:12 -07:00
Kevin Lu
907e390879
[nlohmann-json] Update to 3.9.1 (#12787) 2020-08-07 11:09:25 -07:00
Lily
5a9c8fb3b8
[log4cpp] Fix header file install path (#12792) 2020-08-07 11:08:31 -07:00
Sean Yen
e507b6b7b2
[ocoros-kdl] Fix the CMake config file (#12794)
* Adding fix.

* bump version.

* Use string replacement.

* Update CONTROL

* Update portfile.cmake

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-08-07 11:07:44 -07:00
Kevin Lu
fbb5131bbc
[fmt] Update to 7.0.3 (#12806) 2020-08-07 10:10:53 -07:00
Matthias C. M. Troffaes
98b9ed1860
[ffmpeg] fix FindFFMPEG.cmake to work properly even without avresample (#12635)
* [ffmpeg] fix FindFFMPEG.cmake to work properly even without avresample

When building ffmpeg[core] (without avresample support), FindFFMPEG.cmake
claims to not have fully found the ffmpeg libraries, because it still looks
for the avresample library. This patch fixes that problem.

* [ffmpeg] minor update for consistency

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

* [ffmpeg] minor update for consistency

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

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-06 22:17:38 -07:00
Pablo Speciale
6289ef0d49
[colmap] Add port for COLMAP 3.6 (#12410)
* [colmap] Add port for COLMAP 3.6-dev.3

* Fixed some errors in portfile

* Fixing some errors in portfile. These changes also move the binary (and *.bat) to `tools/` otherwise I get `POST_BUILD_CHECKS_FAILED`. I followed this recommendation:
https://github.com/Microsoft/vcpkg/issues/834#issuecomment-288529839

Now the *.bat files need to be fixed with the correct path to `tools/`

* Update ports/colmap/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/colmap/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/colmap/usage

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* First working version, the line `vcpkg_copy_tools(TOOL_NAMES colmap AUTO_CLEAN)` helped.

Now it does work running:

    > <vcpkg-root>\vcpkg\packages\colmap_x64-windows\tools\colmap\colmap.exe
    > <vcpkg-root>\vcpkg\packages\colmap_x64-windows\tools\colmap\colmap.exe gui

ToDo: use `vcpkg.json`.

* Using `vcpkg.json` instead of CONTROL file

* Formatting json file:
./vcpkg.exe x-format-manifest --all

* Changes suggested by @ahojnnes (colmap author). Waiting for the 3.7 release  (probably today) to update the `REF` and `SHA512`

* Changes proposed from @ahojnne to handle the internal colmap variables `DGIT_COMMIT_ID` and `DGIT_COMMIT_DATE`

* Enabling TESTS (changes sent by @ahojnnes)

* Updated to lastest tag to 3.6

* Updating to 3.6

* Ceres was missing suitesparse/lapack

* Update ports/colmap/portfile.cmake (commit suggested by JackBoosY)

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* format manifest

* Update ports/colmap/portfile.cmake

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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-06 22:15:45 -07:00
Jack·Boos·Yu
accd1c870c
[pangolin] Fix build failure on UNIX (#12515)
* [pangolin] Finx find dependency ffmpeg components

* update baseline

* [pangolin] Improve portfile.cmake

* [pangolin] Drop support with osx

* disable static build

* Add system libraries to dependency

* Update ports/pangolin/CONTROL

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

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-06 22:14:40 -07:00
Christian Ullrich
3cab101b18
[wtl ] Upgrade wtl to 10.0.10077. (#12688)
* [wtl] Update to 10.0.10077. Again.

* Port version.

* Better version representation.

* Update ports/wtl/portfile.cmake

* Update ports/wtl/portfile.cmake

Update filename

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-06 22:13:20 -07:00
Alexander Neumann
da839ba61a
[lapack] add metaport lapack to switch lapack impl with an overlay (#12464)
* [lapack-select] add port lapack-select to select the lapack implementation

* move (!osx) check into lapack select

* correct the platform selection logic so that clapack is not forced.
added external as a feature.
made a dummy project to find the external provided LAPACK

* fix the oscx regression. Actually need to specify external dependency on OSX

* rename port to lapack and use build-depends
2020-08-06 22:10:15 -07:00
Kevin Lu
4f9117c0de
[fmt] Update to 7.0.2 + [spdlog] Update to 1.7.0 (#12312)
* [fmt] Update to 7.0.0

* [fmt] Update to 7.0.1

* [spdlog] Update to 1.7.0

* [quill] Patch for fmt 7.x

* [fmt] Update to 7.0.2

* [quill] Update baseline

* [fmt] Use vcpkg_replace_string

* remove unnecessary change to `SOURCE_PATH`

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-06 17:09:10 -07:00
nicole mazzuca
40c8aab459
[vcpkg] Fix vs2015 build (#12789)
* move windows bootstrap directory

* fix paths

* actually fix the build

* fix path
2020-08-06 17:04:47 -07:00
Alexander Neumann
61c055a6fc
[brotli] add pkgconfig / [freetype] depend on brotli (#12405)
* [brotli] add pkgconfig

* [freetype] add pkgconfig and add dependency on brotli

* [qt5-base] add new freetype dependency to brotli and zstd

* [freetype] fix cmake paths

* [freetype] removed renaming of include dir and unnecessary cmake fixes

* [freetype-gl] fix glew include dir

* [podofo] fix freetype search.

* fixing wrong freetype stuff due to vcpkg owned wrong CMakeLists.txt .....

* fixing more freetype hidden issues.

* [sfml] fix missing include

* fix typo

* [freetype] uncomment previous renaming of include folders

* fix brotli linkage in static builds

* remove added alias to avoid problems.

* [freetype] add brotli to the wrapper

* [lzokay] format manifest

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-06 13:07:46 -07:00
Jack·Boos·Yu
56174640c9
[vcpkg_build_qmake] Disable multi-threaded build when file fails to open (#12752)
* Disable multi-threaded build when file fails to open

* re-trigger qt5 test
2020-08-06 07:19:54 -07:00
nicole mazzuca
ba5707d3b6
[lzokay] format manifest (#12766) 2020-08-06 06:36:56 -07:00
Rémy Tassoux
3d9934a4ef
[jthread] Initial port (#12497)
* [jthread] Initial port

https://github.com/josuttis/jthread

* [jthread] Add header only comment

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

* [jthread] Fix version date

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

* [jthread] Move headers to include directory

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

* [jthread] Rename the port josuttis-jthread

* [jthread] Fix control port name

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2020-08-05 15:53:02 -07:00
Mikhail Paulyshka
98fb277226
[libffi] fix crash in debug (#12498)
* [libffi] fix crash in debug

(cherry picked from commit 78b3f05731556e23ad8f1ef8b168ad99cc1c4a9c)

* Update CONTROL

* [libffi] fix crash in debug (x86-windows)

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: Rolf Gebhardt <rolf.gebhardt@lbs-sw.de>
2020-08-05 15:51:36 -07:00
Jack·Boos·Yu
94c657dbb5
[pcre] Fix installation when only building release (#12629)
* [pcre] Fix installation when only building debug

* improve portfile.cmake

* Improve portfile.cmake

* Improve portfile.cmake

* Update ports/pcre/portfile.cmake
2020-08-05 14:16:37 -07:00