Commit Graph

1250 Commits

Author SHA1 Message Date
nicole mazzuca 12d75a13ac
[vcpkg] Fix build scripts on openSUSE and g++9 (#10867)
The existing code did not correctly pass `CXX` to cmake.
2020-04-17 10:56:27 -07:00
wangqr b7ef16861f
[avisynthplus] Add new port (#10496)
* [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
2020-04-16 13:44:18 -07:00
Robert Schumacher d216948042
[mosquitto] Add support for static build (#10636)
* [mosquitto] Add support for static build

* Update ci.baseline.txt

* [libwebsockets] Update options -DLWS_USE_BUNDLED_ZLIB as -DLWS_WITH_BUNDLED_ZLIB
2020-04-16 13:33:10 -07:00
Robert Schumacher 2070c3c0d8
[ninja] Merge pull request #10796 from Voskrese/ninja-update-1.10
[Ninja] Update to 1.10
2020-04-16 12:23:19 -07:00
Robert Schumacher 2327468362
Merge pull request #10816 from zi-m/blosc
[blosc] Update to 1.18.1
2020-04-16 12:21:54 -07:00
Stefano Sinigardi 614ac279da
[python3] fix build on macOS and linux (#10841)
* [python3] fix build on macOS and linux

* update ci baseline
2020-04-16 11:57:59 -07:00
Michael Spector 648396545c
[avro-c] Fix building avro-c in Linux (#10514)
* Fix building avro-c in Linux

* Increment version

* Declare Linux is supported

* Updated CI baseline

Co-authored-by: Michael Spector <spektom@gmail.com>
2020-04-16 11:51:43 -07:00
alcroito c5f01e1dee
Add initial iOS support (#6275)
* 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
2020-04-15 13:06:55 -07:00
nicole mazzuca 4db554b937
[vcpkg] Fix bootstrap from out of directory (#10846)
In my last PR, I broke building vcpkg from a directory that isn't the
vcpkg directory; this commit fixes that.
2020-04-15 10:15:12 -07:00
zi-m e2dc343cfa disable openvdb:x64-windows-static=fail in scripts/ci.baseline.txt 2020-04-15 09:05:46 +02:00
nicole mazzuca 22623e3501
[vcpkg] Clean up CMake build system (#10834)
There are quite a few changes to the CMake build system packaged up into
one set here:
* Added `toolsrc/cmake/utilities.cmake`, which contains the following:
  * `vcpkg_detect_compiler` -- get the name of the C++ compiler, as one
    of {gcc, clang, msvc}
  * `vcpkg_detect_standard_library` -- get the name of the standard
    library we're linking to, as one of {libstdc++, libc++, msvc-stl}
  * `vcpkg_detect_std_filesystem` -- figure out how to link and call
    into C++17's filesystem; whether one needs to link to `stdc++fs` or
    `c++fs`, and whether to use `<filesystem>` or
    `<experimental/filesystem>`.
* Added a `VCPKG_WARNINGS_AS_ERRORS`, split off from
  `VCPKG_DEVELOPMENT_WARNINGS`, which allows one to use the development
  warnings without passing -Werror
* Rename `DEFINE_DISABLE_METRICS` to `VCPKG_DISABLE_METRICS` -- the
  former will now print a deprecation message and set the latter.
* Now, print a deprecation message on `WERROR`; it doesn't do anything
  since the behavior it requested is now the default.
* Pass `-std=c++17` if the compiler allows it, instead of `-std=c++1z`
* Do some code movement
* Pass `USE_STD_FILESYSTEM` if possible, instead of only on minGW
  * Renamed to `VCPKG_USE_STD_FILESYSTEM`

Additionally, we now pass `/W4` in Debug mode on x86 in the Visual
Studio build system; this brings it in line with the CMake build system,
and the x64 Visual Studio build system.

And finally, we make some minor code changes to support compiling in
VCPKG_DEVELOPMENT_WARNINGS mode.
2020-04-14 22:08:50 -07:00
Alexej Harm 1e19af09e5
[boringssl] Add new port (#8455)
* [boringssl] Add new port

* removed usage of deprecated vcpkg functions

* let the ci treat boringssl like libressl

* applied requested changes

* [boringssl] Update to commit 590265773@2020-04-07 (#8455)

* [boringssl] Restore scripts/ci.baseline.txt
2020-04-14 17:20:24 -07:00
Voskrese 19ef8e3147
ninja update 1.10 2020-04-12 12:58:31 +08:00
Voskrese 33a53a8ad0
ninja update 1.10 2020-04-12 12:47:40 +08:00
Alexander Neumann 941d546454
[qt5-base, qt5-imageformat] fix issues on osx (#9705)
* [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 8b9b188839.

* 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 708d8250d6.

* 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

* bump control

* update baseline

* ws change to osg-qt

* 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.
2020-04-09 17:08:01 -07:00
Alexander Neumann 0edffcf125
[vcpkg] New policy: SKIP_ARCHITECTURE_CHECK. (#10398)
* New policy: SKIP_DLL_ARCHITECTURE_CHECK.
The check only works if MS link.exe is used
otherwise the second linker member is missing
(according to the observed errors)

* rename to VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK
since the dll check was ok but the lib check was failing.

* fix indentation

* move the if to a better position.
2020-04-09 17:04:20 -07:00
Alexander Neumann bf858077f2
fix vcpkg_find_acquire_program for script (#10621)
behavior before:
one script found meant another script could not be searched since the first one would simply be returned.
2020-04-09 17:01:48 -07:00
NancyLi1013 9cbb1bd46e Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/NancyLi/10611-fix-mosquitto
# Conflicts:
#	ports/libwebsockets/CONTROL
2020-04-06 19:22:19 -07:00
Lily 6c4e822611
[vcpkg] Fix vcpkgTools.xml, vcpkg_find_acquire_program.cmake version/filename inconsistent (#10655) 2020-04-06 15:24:17 -07:00
Alexander Neumann 6028fd5e1a
[angle] Improve port (#9965)
* update opengl and install all headers

* improve angle

* update egl-registry

* fix osx regression

* update baseline.

* fix uwp regressions

* fix osx and linux regression

* add encoding patch

* bump glad control

* rechdeck gl visibility from native build

* removed unnecessary commented code

* add GL_VISIBILITY to the exported targets

Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
2020-04-06 14:49:51 -07:00
Alexander Neumann bd0c7106f9
[vcpkg] Make configure meson sane and work for all targets. (#10395)
* fix configure meson for non windows builds.

* change to the two ports using meson

* fix passing of empty compiler arguments.

* dont transform / into - for all flags

* copy meson logs into the buildtree to better diagnose CI errors of meson ports

* another change to the two ports to actually force a CI rebuild

* add missing /pkgconfig dir to PKG_CONFIG_PATH

* fix pkgconfig setup

* add share/pkgconfig to PKG_CONFIG_PATH

* Add CMake path to PATH for meson

* add share folder to prefix for meson

* remove double message

* add libdir so that meson does not install into architecture folder in linux
and make prefix path target dependent. (Or should it be host dependent?)

* bump controls

* update toolchain selector to use VCPKG_TARGET_IS_<paltform>.

* change pkgconfig prefix and path.....
meson is not correctly handling native windows paths and eating "\"
PKG_CONFIG_PATH also nees : to correctly separate paths
Prefix still must be near to native path but with / instead of \ C:/somepath/
2020-04-06 14:43:16 -07:00
Jack·Boos·Yu 6283a51112
[libffi] Support arm/arm64 (#10485)
* [libffi] Support arm/arm64

* [libffi] Use VCPKG_TARGET_ARCHITECTURE to determine triplet

* [libffi] Use VCPKG_TARGET_ARCHITECTURE in CMakeLists.txt

* update baseline

* re-trigger ci test
2020-04-06 14:17:22 -07:00
nicole mazzuca 84ad06a2ae
[vcpkg baseline] Remove replxx:x86-windows=fail (#10703)
* [vcpkg baseline] add qt5-tools:x64-linux=fail

something is wrong, but I don't want to figure it out right now

* remove qt5-tools
2020-04-06 13:59:29 -07:00
Jack·Boos·Yu 9409abf422
[hunspell] Disable build tools in non-Windows (#10574)
* [hunspell] Disable build tools on OSX

* [hunspell] Disable build tools in non-Windows

* update baseline

* [hunspell] Change notice.
2020-04-03 10:28:02 -07:00
Maki b065d5fec0
[openvr] Added Linux support and updated to v1.10.30 (#10629)
* [openvr] Added Linux support

* [openvr] Updated to v1.10.30

* [openvr] Updated port file with modern variables and better platform checking

* [openvr] Updated ci.baseline.txt as Linux is supported now
2020-04-03 10:24:16 -07:00
Marc Boucek e1fc03c474
vcpkg_from_git: Add support for git over ssh (#9446)
* vcpkg_from_git: Add support for git over ssh

* vcpkg_from_git: append ssh bin directory to path

* vcpkg_from_git: fix function signature on non windows platforms

* Revert "vcpkg_from_git: fix function signature on non windows platforms"

This reverts commit 0d608ee591.

* Revert "vcpkg_from_git: append ssh bin directory to path"

This reverts commit 377ce3fae1.

* Partial Revert "vcpkg_from_git: Add support for git over ssh"

This partially reverts commit 9b81b16c4c.

Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de>
Co-authored-by: Marc Boucek <marc.boucek@posteo.net>
2020-04-01 07:35:38 -07:00
Phoebe e12c1acdb5
[vcpkg baseline] Ignore osg-qt (#10637) 2020-04-01 07:22:51 -07:00
NancyLi1013 7828fa848f Update ci.baseline.txt 2020-03-31 19:44:39 -07:00
kreuzerkrieg d2512ed8e3
[replxx] Add new port (#10052)
* replxx

* wip
2020-03-27 20:43:13 -07:00
Alexander Neumann aeffa625e5
[vcpkg] Add the possibility to load vcvars.bat with external toolchain. (#10399)
* Add VCPKG_LOAD_VCVARS_ENV
allow loading vcvars.bat if an external toolchain file is used.

* add documentation
2020-03-27 20:19:53 -07:00
Henrik Gaßmann 472b159dab
[lodepng] Update to commit e34ac0@2020-03-15 (#10427)
* [lodepng] Add cmake import configs

* [lodepng] Update to commit e34ac0@2020-03-15

* [lodepng] Modernize port

- Remove calls to deprecated vcpkg functions.
- Remove commented out pngdetail tool project definitions.

* [lodepng] Remove osx failure from ci.baseline
2020-03-27 20:04:02 -07:00
Jack·Boos·Yu 9b44e4768b
[vcpkg] Revert #9862 changes to fix crt check (#10562) 2020-03-26 02:19:01 -07:00
Jack·Boos·Yu d98696de85
[vcpkg baseline] Fix CI test (#10508)
* re-trigger ci test

* [kealib] Switch repo to github

* [mongo-c-driver] Set icu as a feature

* [monkeys-audio] Update version to 5.24

* [mongo-c-driver] Fix arm build

* [mongo-c-driver] Re-generate patch

* [mongo-c-driver] Remove key word PRIVATE in patch

* [llvm] Remove default feature tools

* [llvm] Add judgment to install tools

* [llvm] Add more condition

* [llvm] Fix clang cmake files when selecting feature tools

* [halide] Fix build depends info in CONTROL

* update baseline
2020-03-25 20:43:02 -07:00
Alexander Neumann 52273558f6
Map configuration also for single configuration generators (#10397) 2020-03-25 13:47:07 -07:00
Alexander Neumann da0a154852
use _INIT flags in windows toolchain just like in the other toolchains (#9862) 2020-03-25 13:46:37 -07:00
d-winsor e2c671d4bd
[boost-process] Patch for header bug in boost 1.72 (#10453)
* Added patch for boost-process header bug in 1.72

* Updated version number.

* Version change for generate-ports
2020-03-24 13:01:25 -07:00
Phoebe b3bdac11f0
[mimalloc] Update to 1.6.1 (#10062)
* [mimalloc] Update to 1.6.0

* Update patch

* Update ci baseline file

* Add message for the arch and platform that doesn't support

* Update the ci baseline file

* Update to latest revision 1.6.1
2020-03-19 00:39:00 -07:00
kreuzerkrieg 7029557ee7
Fix the naming mess (#10367) 2020-03-18 22:53:31 -07:00
Robert Schumacher f9e10d656f
[grpc][openssl][upb] Fix install on uwp (#10366)
* [grpc][openssl][upb] Fix install on uwp

* [upb] Remove unneeded changes

* [libodb-mysql] Disable parallel configure due to source writes

* [curl] Use openssl for UWP since SSPI is unsupported

* [ci.baseline] Update
2020-03-18 09:48:01 -07:00
Robert Schumacher 7131593a0e
[ci.baseline.txt] Mark tensorflow-cc as skip on OSX (build currently times out) (#10443) 2020-03-17 12:04:59 -07:00
Marc Boucek b2e928f19b
[vcpkg] set CMAKE_MSVC_RUNTIME_LIBRARY for cmake policy CMP0091 (#9452)
Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de>
2020-03-13 11:23:11 -07:00
kreuzerkrieg cd0ea13812
[unixODBC] Add new port (#10057)
* unixODBC

* wip
2020-03-12 17:52:16 -07:00
Wolfgang Stöggl 5951e0b425
[pcre] Update to v8.44 (#10335)
- Drop patches (fixed upstream):
  fix-option-2.patch
  fix-arm64-config-define.patch
  fix-arm-config-define.patch
- Add patch
  pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch
2020-03-11 09:28:19 -07:00
Ben Key 982713eca2
[mhook] fix build error on windows (#10302)
* Fix mhook build error.

* Removed the following entries from scripts/ci.baseline.txt: mhook:x64-windows=fail, mhook:x64-windows-static=fail, and mhook:x86-windows=fail.

* Removed unnecessary lines from fix-windows-packing-mismatch.patch.
2020-03-10 17:25:50 -07:00
Lily 7308c86e5b
[fltk] Fix build error on Linux (#10018)
* [fltk] Fix build error on Linux

* [fltk] Modify ci.baseline.txt

* [fltk] Fix build error

* [fltk] Fix build error

* [fltk] Fix build error

* [fltk] Fix build error on MACOS
2020-03-10 16:51:52 -07:00
Bowser65 b813a777e8
[tidy-html5] Fix for non-Windows users (#10308)
* Fix tidy-html5 for non-Windows users

* Update ci baseline and remove deprecated stuff
2020-03-10 15:59:38 -07:00
kreuzerkrieg fb87bc7d41
[MetroHash] Add new port (#10049)
* MetroHash

* wip

* wip

* wip
2020-03-10 15:40:15 -07:00
MaverickTse 51974b9a5d
[vcpkg-tools] Multiple mirror URLs to download MSYS2, update (#10346)
Resolves #10322

* Update MSYS2 download source. Resolve #10322

Proposal to resolve https://github.com/microsoft/vcpkg/issues/10322
* Use Sourceforge as MSYS2 download source (up to SF to choose mirror, fair to everyone and more reliable)
* Updated msys2 version to 2019-05-24 (Otherwise need to spend extra time on ```pacman -Syu```)
* Updated SHA512 accordingly
* Tested with building icu:x64-windows

* add official repo as backup
2020-03-10 13:08:43 -07:00
Samuel Marks d1b89575bd
[zkpp] Add new port (#7001)
* [zkpp] Add new port

* [zkpp] Change name of underlying library

* [zookeeper] Fix interface include directories

* [zkpp] Sanity

* Fix patch

* Correctly expose include directories

* Bump version

* Explicitly fail on Windows

Co-authored-by: Raed Romanov <raid_r@mail.ru>
2020-03-10 12:20:42 -07:00
Seba Gamboa 7ffa425e1d
[boost-vcpkg-helpers] Pass boost port creation output folder as a parameter (#8168)
* Allow option to pass desired ports directory to boost's generate ports script

* Restore the changes and resolve the conflicts

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: PhoebeHui <v-phma@microsoft.com>
2020-03-10 10:15:27 -07:00
Robert Schumacher f653a4a842 [ci.baseline] Update 2020-03-10 09:59:43 -07:00
Jack·Boos·Yu 7893f7c76c
[upb] Fix uwp build (#10005)
* [upb] Fix uwp build

* update baseline
2020-03-10 09:31:38 -07:00
kreuzerkrieg d0b1f2a9e8
murmurhash (#10164) 2020-03-09 08:33:45 -07:00
Maximilian Kruse c520e1f3e0
[tinyfiledialogs] download from archive, not temporary ref (#10111)
* Update tinyfiledialogs to download from archive

I have additionally messaged the original maintainer about a fixed-version download, so we will finally have some consistent building of this package.

* Update ci.baseline.txt

* Update CONTROL

* Update portfile.cmake

* Change download path to be version specific

* Download Path now plain

* Change position of Supports tag

* Update package version

* Update portfile.cmake

Update portfile to download to a specified archive version name.
2020-03-06 10:07:49 -08:00
nicole mazzuca f9e78dcc68
[abseil] Add uwp support (#10301)
* [abseil] Add uwp support

* [abseil] Drop support with arm/arm64

* [opencensus-cpp] Add keyword supports

* update baseline

* [abseil] Enable arm support
2020-03-05 16:01:57 -08:00
nicole mazzuca 3e90c7dad9
[vcpkg_find_acquire_program] Add git (#10311) 2020-03-05 14:23:05 -08:00
nicole mazzuca 4b1444e48d
[ryu] Add new port (#10167)
* ryu

* Add tool bazel in OSX

* wip

* wip

* wip

* wip

* wip

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-03-05 14:17:08 -08:00
nicole mazzuca 8cd675cc58
[libcpuid] Add new port (#9942)
* libcpuid

* wip
2020-03-05 12:34:27 -08:00
nicole mazzuca 5c415ff8a0
[superlu] Add new port (#9930) 2020-03-04 13:52:00 -08:00
nicole mazzuca 42dee421af
[turbobase64] Add new port (#9911)
* Turbo Base 64

* TurboBase64
2020-03-04 13:40:00 -08:00
nicole mazzuca d97841242a
[healpix] Add new port (#8810)
* [healpix]Add new port.

* update baseline

* update baseline

* [healpix] Disable build on OSX

* [healpix] Add suports keyword
2020-03-04 13:25:24 -08:00
nicole mazzuca e368f0f4ce
[skia] add new port (#10083)
* [skia] add new port

* [skia] add support for x64-windows

* [skia] use vswhere to locate MSVC

* [skia] update supports CONTROL field

* [skia] address review comments

* [skia] add compile definitions for metal

* [skia] use vcpkg to find programfiles

* [skia] add glob_single_file function
2020-03-04 13:06:24 -08:00
nicole mazzuca 215798a356
[darknet] update to latest release (#10280)
* [darknet] update to latest release

* [darknet] add corrections from review
2020-03-04 10:51:49 -08:00
Jack·Boos·Yu 3e57190a97
Disable libhdfs3 and osg-qt in linux temporarily (#10290) 2020-03-03 09:32:21 -08:00
yurybura 1c414f9192
[boost-python] Try to fix build issue on Linux (#9780)
* [boost-python] Try to fix build issue on Linux

* Update baseline: enable boost-python:x64-linux

* Fix number of processor detection on Linux: use CMake module

* Fix user-config.jam configuration on Linux

* Update baseline: enable boost-mpi:x64-linux

* Fix build boost-regex[icu] on Linux, issue #4962
2020-03-02 10:41:27 -08:00
Tobias Brückner 64f7f2590d
[libmysql] Fix for missing "ADD_COMPILE_FLAGS" command (#10162)
* [libmysql] Apply patch to prevent configuration error in extra/re2

Configuration of the embedded extra/re2 produces an error on Mac with Clang:

    CMake Error at extra/re2/CMakeLists.txt:74 (ADD_COMPILE_FLAGS):
      Unknown CMake command "ADD_COMPILE_FLAGS".

cmake/compile_flags.cmake was not included.

* [libmysql] Remove empty directory /lib/plugin/debug after installation

* [libmysql] Update version to 8.0.4-6

* [libmysql] Remove deprecated include(vcpkg_common_functions)

* [libmysql] x64-osx is now expected to pass CI

* [libmysql] Simplify copying of copyright file

* [libmysql] Handle unsupported triplets with vcpkg_fail_port_install
2020-02-28 21:56:22 -08:00
Wolfgang Stöggl 2121698e7b
[tool-meson] Update to 0.53.2 (#10234) 2020-02-28 21:29:51 -08:00
Leonid Pospelov 81965f6b3f
[vcpkg] Better vcpkg_apply_patches error message (#10127) 2020-02-27 14:22:16 -08:00
Billy O'Neal f4359f404a
[cpprestsdk] Update to v2.10.15. (#10191)
* [cpprestsdk] Update to v2.10.15.

* fix baseline

Fixes cpprestdsk on UWP.

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-02-26 13:57:43 -08:00
Jack·Boos·Yu c6b58e366a
[brotli] Fix build failure on arm64-uwp (#10116)
* [brotli] Fix build failure on arm64-uwp

* update baseline
2020-02-25 14:18:40 -08:00
Jack·Boos·Yu 9db90b397d
Fix baseline error (#10051)
* Fix osx baseline

* fix osg configure issue

* re-trigger ci test

* re-trigger ci test

* [osg] Revert changes with osg and temporarily skip osg detection

* trigger ci test

* update baseline

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-19 16:45:58 -08:00
Victor Romero 2523a19f70
Omit telemetry message when bootstrapping with `-disableMetrics` (#10061)
* Don't show telemetry message when passing --disableMetrics to bootstrap.sh

* Don't show telemetry message when passing -disableMetrics to bootstrap-vcpkg.bat
2020-02-13 18:12:12 -08:00
Jack·Boos·Yu ad69a7fc8e
[osg]Fix windows-dynamic/linux build. (#8060)
* [osg]Fix dynamic build.

* [sdl1]Fix linux command.

* [osg]Fix linux build: disable present3D and osgstaticview.

* [osg]fix windows build-only for windows.

* [osg]Fix file INSTALL error.

* [osg]Add dependency conditions.

* [osg]disable OSG_USE_UTF8_FILENAME in Linux and OSX.

* [osg]Fix find dependency curl. Replace version num by macro.

* [osg]Add option CMAKE_CXX_STANDARD

* [osg] Remove library prefix.

* [osg] Fix install pdbs

* [osg] Remove usless plugin libs.

* update baseline

* update baseline

* update baseline

* update baseline
2020-02-13 17:53:23 -08:00
Stephen Just 375ea0ec6b
[rxspencer] Add RxSpencer port (#9166)
* [rxspencer] Add RxSpencer port

* No need to force dynamic linkage

* Review comments

* update baseline

* Update to latest upstream

* Review comments

* Update CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-02-13 17:51:10 -08:00
Robert Schumacher 5deea3b975
[vcpkg-docs] Add documentation for `vcpkg_configure_meson()`, `vcpkg_install_meson()`, `vcpkg_fixup_cmake_targts()`, and `vcpkg_prettify_command()` (#7606)
* [vcpkg-docs] Add documentation for `vcpkg_configure_meson()`, `vcpkg_install_meson()`, `vcpkg_fixup_cmake_targts()`, and `vcpkg_prettify_command()`

* [docs] Address code review comments. Reformat docs for vcpkg_fail_port_install.
2020-02-12 15:58:43 -08:00
kreuzerkrieg 6abebce350
[farmhash] Add new port (#9929)
* FarmHash, a family of hash functions.

* WiP
2020-02-12 14:44:06 -08:00
nicole mazzuca 7365cd74ef
[duktape] x64-osx fail (#10030)
brew no longer contains python2, since it's EOL, and duktape requires that for now

see https://github.com/svaarala/duktape/issues/1794
2020-02-11 23:20:05 -08:00
Todor Prokopov f478be7479
[many ports] Support building with MinGW toolchain (#8940)
* Some package fixes necessary to build with MinGW toolchain

* [libraqm] Fix build error caused by trying to write to source directory

* [tmxparser] Fix build failure when tmx port is intalled before tmxparser port

System include path was added first on compiler command line. This leads to
build failure when there is a tmx.h header file in system include path.

* [qt5-base][angle] Trigger CI rebuild

* [kd-soap] Fix build error

* Update ci.baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-11 17:30:03 -08:00
Jack·Boos·Yu 10eeee5d55
[asmjit] Update to 2020-02-08, drop support with uwp (#10016) 2020-02-11 16:27:53 -08:00
kreuzerkrieg 2b9c87f4b9
[libhdfs3] Add new port (#10021)
* libhdfs3

* wip
2020-02-11 14:09:51 -08:00
Robert Schumacher 08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
Robert Schumacher 039098c954
[vcpkg] Add VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING and VCPKG_OVERRIDE_FIND_PACKAGE_NAME parameters to the vcpkg toolchain. (#9996)
VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING - Silences warning about lacking installed libraries for the current triplet
VCPKG_OVERRIDE_FIND_PACKAGE_NAME - Enables cooperation with other tooling that may want to hook find_package
2020-02-09 14:40:13 -08:00
NancyLi1013 1ea7914d3a
[blitz] Add new port (#8353)
* [blitz] Add new port

* Remove unused function and update vcpkg_fail_port_install

* Update

* Update ci.baseline.txt
2020-02-08 20:26:05 -08:00
Carlos O'Ryan 4529a5b8ee
[google-cloud-cpp*] Upgrade to latest release (#9946)
* [google-cloud-cpp*] Upgrade to latest release

* Update CI baseline.

* Address review comments.
2020-02-08 20:23:12 -08:00
driver1998 7d4227f02e
[libffi] Update to v3.3 release (#6119)
* libffi 3.3-rc0 custom port, with arm/arm64 windows support

* fix linux build

* enable EFI64 in linux x64, should fix build errors in some cases

* libffi: move to the arm64 support pr branch

* libffi: move to latest upstream master

* libffi: update to upstream master

* libffi: update to v3.3-rc2

* libffi: update to v3.3 release

* libffi: update version in fficonfig.h

* libffi: Remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [libffi] update portfile.cmake

* [libnice] fix Windows ARM64 build

* CI: set atk:arm64-windows to fail
atk compilation requires running glib(arm64) tools, which is not possible on a x86 system.

* CI: libffi:arm64-windows passing

* [gdk-pixbuf] fix Windows ARM64 build

* [pangomm] show unsupported architecture error on ARM

* [pangomm] update portfile.cmake

* [libffi] Avoid depending on VCPKG_TARGET_TRIPLET; use native cmake variables instead. Avoid double expansion inside if().

* [libffi] TARGET is a keyword for if() -- use quoted expansion instead.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-07 09:36:39 -08:00
Robert Schumacher 5affb590fd
Merge pull request #9901 from Neumann-A/skip_dumpbin
[vcpkg] Add policy VCPKG_POLICY_SKIP_DUMPBIN_CHECKS
2020-02-06 15:41:38 -08:00
Robert Schumacher b8cd54d4e6
Merge pull request #9914 from kreuzerkrieg/H3
[H3] Add new port
2020-02-06 14:54:39 -08:00
kreuzerkrieg e1f5b50296 WiP 2020-02-06 09:09:04 +02:00
Robert Schumacher 6f2fba24dc
Merge pull request #9733 from yurybura/master
[boost-iostreams] Remove custom build cmake
2020-02-05 18:33:07 -08:00
Robert Schumacher 0ba50612fb
Merge pull request #9635 from Neumann-A/improve_libwebp
[libwebp] Update to 1.1.0 and improve portfile
2020-02-05 17:52:51 -08:00
kreuzerkrieg 1e23800140 H3: A Hexagonal Hierarchical Geospatial Indexing System 2020-02-05 07:55:06 +02:00
Robert Schumacher 1fd6cc945d
Merge pull request #8842 from JackBoosY/dev/jack/upgrade_libi
[libideviceactivation libimobiledevice libusbmuxd] Upgrade version, modify build process
2020-02-04 15:42:23 -08:00
Lily d9200c4e94
[libgpod] Add new port (#7983)
* [libgpod] Add new port

* [libgpod] Fix build error

* [libgpod] Modify ci.baseline.txt

* [libgpod] Fix patch error

* [libgpod] Fix conflict

* [libgpod] Fix conflict
2020-02-04 15:35:26 -08:00
Jack·Boos·Yu d09f4faf52
[cppmicroservices] Fix find dependency gtest (#9886)
* [cppmicroservices] Fix find dependency gtest

* update baseline
2020-02-04 14:46:24 -08:00
Oliver John Hitchcock ed863b163c
[EAThread][EASTL] Added EAThread and modified EASTL (#8861)
* [EAThread][EASTL] Added EAThread and modified EASTL

EABase has now also been seperated from EASTL.
EASTL now copies CommonCppFlags.cmake as it is used by EAThread.

* Fix EABase

* Fix EABASE include for EASTL

* Improve EASTL

Still need to fix
The /debug/lib/cmake folder should be merged with /lib/cmake into /share/eastl
Found 3 error(s). Please correct the portfile:
    E:\vcpkg\ports\eastl\portfile.cmake
-- Performing post-build validation done
Error: Building package eastl:x64-windows-static failed with: POST_BUILD_CHECKS_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: eastl:x64-windows-static
  Vcpkg version: 2019.09.12-nohash

* Base pass one Thread

* Fix config errors and add `vcpkg_fixup_cmake_targets`

* Add required changes for fails

* x86-windows should also fail

* Revert adding `vcpkg_fail_port_install(ON_TARGET "Windows" ...)`

* Remove `eastl:arm64-windows=fail` from ci.baseline.txt

* Merge CONTROL descriptions into one line
2020-02-04 14:10:03 -08:00
Jack·Boos·Yu fa022fb0fb
[tools] Add python64 bit. (#7964)
* [tools]Add python64 bit.

* [pybind11/shiva]Add version number.

* [duktape]Fix build error using python64 bit.

* [duktape]Fix python2 path.

* [duktape]Fix duketape build: using python2 tools.

* Change subdirs and archive names for PYTHON2 and PYTHON3

* [duktape] Update version info

* [shiva] Add homepage

* update baseline

* update baseline

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-02-04 11:32:03 -08:00
Alexander Neumann bd8c07217a [vcpkg] Add skip dumpbin checks
and correct some cmake advices.
Paths should always be handled with "${PATH}" due to possible spaces
2020-02-04 10:58:38 +01:00
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
Jack·Boos·Yu cf3e688dda
[aws-*]Update version (#8832)
* [aws-c-common]Upgrade to 0.4.15

* [aws-c-common]Fix cmake target path.

* [aws-c-event-stream]Upgrade to 0.1.4

* [aws-checksums]Upgrade to 0.1.5
[aws-c-event-stream]Fix cmake target path.
[aws-lambda-cpp]Upgrade to 0.2.4
[aws-sdk-cpp]Upgrade to 1.7.214

* [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase.

* [aws-lambda-cpp] Drop support with OSX
2020-01-30 14:43:34 -08:00
Kotaro Inoue 9986c559b8
[seal] Add new port (#9698)
* Add Microsoft SEAL as a new port

* Fix to choose either static or shared binaries

* Fix to fail port install on Windows platforms

* Fix to enable a command line build on windows

* Fix to fail port install on UWP
2020-01-30 12:55:19 -08:00
Robert Schumacher 89751b450a [vcpkg_find_acquire_program] Include version in downloaded python MSI name to avoid conflicts when updating (#8774) 2020-01-27 15:52:23 -08:00
Colin Barré-Brisebois 23d7b88a39 Update the repo for jom 1.1.3 (#9265)
* Update the repo for jom 1.1.3

- The qt repo is unreliable, often down. Use the Berkeley mirror instead.

* Set two possible URLs for JOM v1.1.3

* Update indent to match coding style
2020-01-27 14:44:33 -08:00
Tatsuro Shibamura 268d7bb406 [sdl2-gfx] Fixed build error ARM64 Windows 10 (#9314)
* [sdl2-gfx] Fixed build error ARM64 Windows 10

* [sdl2-gfx] Update CI baseline

* [sdl2-gfx] Fixed function name

* Revert ci.baseline.txt

* Remove sdl2-gfx:arm64-windows from ci.baseline.txt

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-01-27 14:32:23 -08:00
Michael Mattsson 6ab471d09e [asiosdk] Add new port (#9456)
* [asiosdk] Add new port

* specified vcpkg_fail_port_install for non-windows platforms

* specified vcpkg_fail_port_install for arm & uwp platforms

* added entries for asiosdk into scripts/ci.baseline.txt
2020-01-27 14:14:26 -08:00
sma-github 28b70b41c4 [ftgl] Fix build failure #9520 (#9521)
* bugfix for [ftgl] build failure #9520. Applied same solution as cbezault did for #7697

* bugfix for [ftgl] build failure #9520. Added suggested changes from the review and clean-up EOL characters.

* [ftgl] remove ftgl:x64-linux=fail from ci.baseline.txt

* [ftgl] build failure #9520 - disable doxygen on Linux

* [ftgl] build failure #9520 - force the compiler to use the C++11 standard

* [ftgl] build failure #9520 - remove ftgl:x64-osx=fail

* [ftgl] build failure #9520 - add missing C++11 standard patch
2020-01-27 14:11:39 -08:00
myd7349 354733dbf8 [memorymodule] Add new port (#9541)
* [memorymodule] Add new port

* [memorymodule] Update ci baseline

* [memorymodule] Update CI baseline

* [memorymodule] Simplify vcpkg_fail_port_install call

* [memorymodule] Install lib files only if they exist
2020-01-27 14:07:04 -08:00
Alexander Neumann ed0df8ecc4 Make VS 2019 default to x64 (#9816)
Since CMake also does this
2020-01-24 12:26:35 -08:00
Cristian Adam 8c77506c4f MinGW: Fix vcpkg common definitions (#9807)
Since MinGW has both VCPKG_TARGET_IS_MINGW and VCPKG_TARGET_IS_WINDOWS,
make sure to test the first before.
2020-01-23 12:17:40 -08:00
Alexander Neumann c6fe55ce79 update baseline 2020-01-22 22:31:56 +01:00
DCore Team 3aa5979471 [pbc] Correct non Windows build (#9281)
Co-authored-by: rfric <43748255+rfric@users.noreply.github.com>
2020-01-22 13:11:40 -08:00
Tatsuro Shibamura 11b8872c97 [cryptopp] Fixed build error on ARM32/ARM64 Windows (#9633)
* [cryptopp] Fixed build error on ARM64 Windows

* [cryptopp] Update ci.baseline.txt

* Update version

* Use VCPKG_TARGET_IS_OSX variable
2020-01-22 12:44:54 -08:00
David Garcia 2204efd414 [jasper] freeglut is not a dependency in macOS (#9680)
* [jasper] freeglut is not a dependency in macOS

Also remove freeimage:x64-osx from baseline as now compiles

* ogre fails in macOS
2020-01-22 12:42:42 -08:00
Michael Hansen 7dc2a4ca9b [string_theory] Update to 3.0, which is now header-only. (#9690) 2020-01-22 12:37:27 -08:00
Wolfgang Stöggl f992ddbed3 [doxygen] Add alternative download URL (#9708)
Only the current and the previous version of doxygen can be downloaded
from: http://doxygen.nl
Sourceforge provides the current version and any previously released
versions for download: https://sourceforge.net/projects/doxygen/files/
Add sourceforge as alternative download URL. This avoids situations,
when the version of doxygen in vcpkg is n-2 and cannot be downloaded
any more, see e.g. commit: 526f937580
2020-01-22 12:27:45 -08:00
Julian Smolka 45cab63761 [asmjit] update to current version (#9770)
* [asmjit] update to current version

* [asmjit] remove x64-uwp from ci.baseline.text
2020-01-22 12:16:10 -08:00
Jack·Boos·Yu 70ee8b83e5 [monkeys-audio] Update to 5.14, add feature tools (#9760)
* [monkeys-audio] Update to 5.14, add feature tools

* [monkeys-audio] Use macro MA_VERSION
2020-01-21 12:29:39 -08:00
yurybura 127d497681 [open62541] Update to v1.0 (#9767)
* [open62541] Update to v1.0

* Remove dependency on python-six

* Fix CI

* Manually specify the version

* Fix install binaries directory

* Fix end line

* Add homepage and modernize cmake
2020-01-21 12:25:05 -08:00
SeekingMeaning 299e8b4ac6 [scintilla] Update to 4.2.3 (#9591)
* [scintilla] Update to 4.2.3

* Update ci.baseline.txt

* Update
2020-01-17 16:51:00 -08:00
winsoft666 08c8214d68 [teemo] new port. (#9684) 2020-01-17 16:12:40 -08:00
Cristian Adam 38b959022c Add support for building with MinGW (#9137)
* Add support for building with MinGW

Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1,
and StephanTLavavej/mingw-distro!

* Add MinGW toolchain

From your MinGW configured shell you could just use vcpkg to
configure packages.

An x64-mingw triplet would look like:
```
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_ENV_PASSTHROUGH PATH)

set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
```

* Add MinGW community tripplets

x64 tested with https://github.com/StephanTLavavej/mingw-distro
x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-17 15:36:08 -08:00
yurybura 6cfbf161f1 Remove custom build cmake 2020-01-17 15:15:49 +03:00
Fabio Pellacini bf3e071e53 [embree3] added cleanup command for static build (#9555)
* added cleanup command to embree3 port for static build

* updated CONTROL file with version tag

* check if file exists before cleanups

* fix baseline

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-01-16 22:56:33 -08:00
yurybura c50852aba0 [boost] Update to 1.72.0 (#9317)
* [boost-python] Support Python2 as feature, fix build with installed Python2

* [boost-python] Update generate script to support Python2 mod

* Re-generate boost ports

* [boost-modular-build-helper] Update to 1.71.
[boost-build] Update to 1.71.

* [boost-modular-build-helper] Remove manual library name changing
[boost-iostreams] Use boost-modular-headers.cmake script

* Delete temporary file.

* Revert changes in modular build script.

* Update ports versions.

* [boost-modular-build-helper] Fix build boost-iostreams with LZMA and ZSTD

* [boost] Update to 1.72.0

* [libtorrent] Fix build with Boost 1.72.0
Original PR: https://github.com/arvidn/libtorrent/pull/4091

* Update ci.baseline.txt:
- fail libgo:* due to use the removed class from Boost.Context 1.72.0 (reported issue https://github.com/yyzybb537/libgo/issues/214)
- pass boost-context:arm64-windows
- fix typo

* Folly only supports the x64 architecture

* fail boost-coroutine:arm64-windows=fail and boost-fiber:arm64-windows=fail because they use fcontext_t from Boost.Context which is not implemented for Windows on ARM64 (reported issue https://github.com/boostorg/context/issues/130)

* Fix globbing-expressions

* Add vcpkg_buildpath_length_warning(37) for boost-system.
Revert boost-iostreams port changes.

* Update ci.baseline.txt
2020-01-16 15:10:15 -08:00
tags 526f937580 [doxygen] Updated to 1.8.17 (#9574)
* Updated doxygen to 1.8.17 from 1.8.15
2020-01-15 16:48:26 -08:00
Matwey V. Kornilov d989ad416b [gperf] Initial implementation (#9505) 2020-01-15 12:37:04 -08:00
Sean Yen fc5134c3a2 [soem] Add new port (#9572)
* initial SOEM port.

* don't use the vendored winpcap.

* removed the unused flag.

* addressed feedback.

* addressed feedback.
2020-01-14 12:28:06 -08:00
winsoft666 a982079028 [akali] Update to v1.41 (#9617)
* Add: set(VCPKG_PLATFORM_TOOLSET v140)

* add ppxbase and ppxnet.

* nice, ppxbase and ppxnet can install successful.

* update to v1.7

* + add duilib2
- update ppxbase, ppxnet.

* set VCPKG_PLATFORM_TOOLSET to vc141.
duilib2/ppxbase/ppxnet port.

* library version.

* duilib2, ppxbase version.

* duilib2 version

* update duilib2/ppxbase version.

* update duilib2 code version.

* update ppxbase version.
update duilib2 version.

* update ppxbase/duilib2 cmake config.

* duilib2 version.

* ppxbase version.

* + add akali library.

* update ports script.

* ports update.

* add akali

* remove duilib2/ppxnet

* revert

* update akali version.

* update akali version.

* Update portfile.cmake

* Update portfile.cmake

* [akali] Update to v1.41

* Update portfile.cmake

* [akali] Update version.

* [akali] Remove the line akali:x64-osx=fail from /scripts/ci.baseline.txt
2020-01-14 12:25:32 -08:00
JackBoosY 58a904d068 update baseline 2020-01-13 23:56:50 -08:00
NancyLi1013 066c7b9879 [vcpkg] Fix build type in vcpkg_build_make.cmake (#9602)
* [vcpkg] Fix build type in vcpkg_build_make.cmake

* Update x264 and libosip to test vcpkg_build_make() function

* [x264] Update portfile.cmake
2020-01-13 16:34:54 -08:00
martin-s 299c7c730c Introduce new policy to skip post verification of dll exports (#9642)
* - Introduce new policy to skip post verification of dll exports (see issue #9641).

* - Fixed line endings.
2020-01-13 16:31:58 -08:00
Alexander Neumann bdae0904c4 [libpq, openssl, librtmp] libpq 12 and others with openssl 1.1.1d (#8566)
* [ports] Update openssl-unix to 1.1.1c

* [ports] Update openssl-unix to 1.1.1d

* [ports] openssl-unix platform 'AMD64' is called 'x86_64' on Linux

* [ports] fix openssl platform

* [ports] openssl-windows update openssl to 1.1.1d

* [ports] Fix openssl post build

* [ports] openssl add EnableUWPSupport.patch

Reference:
https://github.com/openssl/openssl/pull/8917
https://github.com/openssl/openssl/pull/9440

* [ports] openssl-uwp update openssl to 1.1.1d

* Updated support for OpenSSL v1.1

With OpenSSL v1.1 we need an additional flag for ACE

* update to 12.0 and change to vcpkg_configure_make

* remove msys line

* remove custom cmakelists

* use --without-readline on linux

* Update CONTROL

Fix version

* fix portfile

* add all possible libpq features

* create vcpkg_get_build_depends

* create vcpkg_read_dependent_port_info

* add vcpkg_write_port_info

* fix a few bugs

* libpq first succesful x86 build with core features.
(files still must be moved)

* always write the variable

* Fix separate make and install execution error issue.

* trigger CI system.

* add openssl and win_bison win_flex patch

* add configuration dependent patches

* add bonjour as a dependency on macosx

* apply patches and configure features

* more patches to fix the windows build

* more install fixes

* remove unnecessary code

* bit of code cleanup

* remove unrelated files

* remove unrelated function call. function was removed with last commit

* removed hardcoded platform

* fix patch

* build only the interface libraries and nothing more

* forgot to remove tool ecpg from install

* seperate minimal install patch from normal install patch and introduce client feature

* fix x86 Platform variable being x86 and not Win32 as required by the generated project

* make linux build work

* make more linux work

* openssl return version number directly without calling openssl
(should probably be done differently)

* fix some more path and platform identification

* comments to reduce install. currently libpq installs static and shared libraries and some tools on linux

* patch arm

* fix platform detection logic

* make libpq osx buildable

* Rename debug import library after build.
(So that we don't affect external CMake users.)

* revert debug naming and install a wrapper instead.

* fix gdal regression due to name change

* fix cutelyst regression due to qt5-base wrapper
(why was it not using the target in the first place?)

* correct wrapper install path

* correct the arm patch.

* trying to fix static gdal build

* gdal still needs more work

* update version of openssl in libpq openssl patch

* nmap fix openssl

* qt5 fix openssl

* gdal fix openssl

* librtmp migrate to openssl 1.1.1

* fail in patch since what is intended is not going to work in openssl 1.1.1

* fix static yara build

* freedtds deactivate openssl feature until freetds decides to upgrade to 1.1

* fix libwebsockets cmakelists

* fix the patch so that the generated targets also include crypt32

* xmlsec add threads dependency

* bump control since I am unable to reproduce the regression

* add pthread to openssl detection logic

* fix freetds linkage missing crypt32 and fix the cmake checks.

* fix the openssl wrapper to add the threads library

* fix libmysql regression

* add threads to openssl libraries.

* upgrade libssh to 0.9

* fix nmap regression

* fix mosquitto regression

* fix openssl wrapper to make libarchive work

* fix quickfix

* changed patch a bit

* improve freetds patch

* fix case in librtmp

* update control

* bump control

* fix case

* make jasper a dependency of qt5-imageformats to fix flaky CI build.

* add jasper libraries explicitly

* jasper depends on freeglut so add it as a dependency. turbo_jpeg is also a dependency but that should already be handled in qt5-base

* more glut names

* bump control for macosx ci retry

* fix slikenet regression

* fix linebreak in qt5-base

* update baseline

* Update ci.baseline.txt

those ports are not supported on UWP

* [libevent] add dependency on libevent[threads] to openssl feature

* [pdal,freerdp] Update CI baseline to fail

* fix static pdal build

* fix freerdp on linux

* trying to revert some changes

* revert changes in build make

* revert x264 version bump

Co-authored-by: Force Charlie <6904176+fcharlie@users.noreply.github.com>
Co-authored-by: Johnny Willemsen <jwillemsen@remedy.nl>
Co-authored-by: Lennart Trunk <lennart.trunk@outlook.de>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-01-13 15:43:36 -08:00
SeekingMeaning 5c0b7b5577 [tfhe] Fix Mac support (#9649)
* [tfhe] Fix Mac support

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-01-13 15:31:57 -08:00
Robert Schumacher e5f7e0b9ad [vcpkg] Update baseline for OSX (#9669)
* ignore llvm:x64-osx in the baseline

* fix baseline?

* fix baseline 2: electric boogaloo

* fix baseline 3: confirmed

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-01-13 14:48:43 -08:00
Victor Romero 0d54d33f18 continue attempting to fix baseline for macos 2020-01-13 13:01:32 -08:00
Victor Romero d9151d84af [bullet3,qhull,fruit,libaaplus] Remove failure on MacOS 2020-01-13 11:59:26 -08:00
Victor Romero 9a510168c7
Merge branch 'master' into dev/jack/update_osx_baseline 2020-01-13 11:49:15 -08:00
Victor Romero e46a029bf7 [libplist,libyuv,highfive,pbc,intelrdfpmathlib,fmi4cpp] Update baseline to pass 2020-01-13 11:47:13 -08:00
NancyLi1013 fc34b74ce2 [libevhtp] Add new port (#8678)
* [libevhtp] Add new port

* Add homepage

* Update ci.baseline.txt
2020-01-10 15:50:35 -08:00
NancyLi1013 1990d4b72c [libwandio] Add new port (#8683)
* [libwandio] Add new port

* Update ci.baseline.txt
2020-01-10 15:48:44 -08:00
Jack·Boos·Yu 0fb8168c7c [caf] Update to 0.17.2 (#8888)
* [caf]Upgrade to 0.17.2

* update baseline
2020-01-10 15:46:23 -08:00
Phoebe 3200392582 [libplist] Update to 1.2.137 (#8936)
* [libplist] Upgrade to 1.2.137

* Update CMakeLists.txt

* [libplist] Update build status

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-10 15:43:06 -08:00
Victor Romero 9fc8197d8c [yoga, freetype-gl] Update osx baseline 2020-01-10 12:26:34 -08:00
Jack·Boos·Yu 7dc8ecbc08 [azure-kinect-sensor-sdk] Remove feature test and fix static build in Windows (#9458)
* [azure-kinect-sensor] Remove feature test and fix static build in Windows

* [azure-kinect-sensor-sdk] Re-fix components install path using patch

* [azure-kinect-sensor-sdk] Remove bin debug/bin in static build

* update baseline
2020-01-10 10:47:09 -08:00
Alexander Neumann 504eeea514 Map MinSizeRel and RelWithDebInfo correctly (#6393)
* Map MinSizeRel and RelWithDebInfo to Release by default

* switch to CMAKE_CONFIGURATION_TYPES

* changed mapping slightly

* add empty list element to the mapping

* more comments and an option to turn verbose messages on.

* removed line info.
It would require the file name to make sense out of it.
2020-01-09 15:26:27 -08:00
Jack·Boos·Yu 8bec8b516b [sdl1]Change build method to vcpkg_*_make (#9207)
* [sdl1]Change build method to vcpkg_*_make

* [sdl1] Fix output message

* [sdl1]Fix build.

* [sdl1] Correct message

* update baseline
2020-01-09 14:39:10 -08:00
JackBoosY 6e2d1e626f [libguarded] Correct hash 2020-01-08 22:00:56 -08:00
JackBoosY 2f380c6153 Update baseline to fix osx failure 2020-01-08 21:51:07 -08:00
NancyLi1013 eab8812ac5 [libb2] Add new port (#8518)
* [libb2] Add new port

* Update

* Update ci.baseline.txt
2020-01-06 14:59:18 -08:00
NancyLi1013 ec2ceeba40 [tfhe] Add new port (#8386)
* [tfhe] Add new port

* Add the message for not support OSX

* Update message and ci.baseline.txt
2020-01-06 14:58:27 -08:00
NancyLi1013 e13ed9547a [libmagic] Add new port (#8650)
* [libmagic] Add new port

* Update

* Add debug build

* Rebuild

* Update source address

* Update ci.baseline.txt
2020-01-06 14:29:12 -08:00
dan-shaw 86c947bcbb update baseline 2020-01-06 14:21:41 -08:00
Tanner Gooding fb2006edf9 [nethost] Adding a port for nethost (#8701)
* Adding a port for nethost

* Fixing ref, removing unneeded include, and marking unsupported architectures for nethost

* Fixing the expected sha512 for nethost

* Setting nethost to fail on static and uwp

* Removing an unecessary file(REMOVE_RECURSE) from nethost

* update baseline

* [nethost] Update to latest from dotnet/runtime

* [vcpkg-baseline] Update baseline for nethost

* [vcpkg-baseline] Update baseline for nethost

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-06 13:14:20 -08:00
Jack·Boos·Yu 95d989c4a4 [pdal] fix static build (#9308)
* [pdal] fix static build

* update baseline

* [pdal] Re-fix find dependency geos

* [padl] Find library geos_c/libgeos_c instead of library geos/libgeos

* [pdal] Fix dependency boost

* update baseline
2020-01-06 12:44:46 -08:00
Alexander Neumann f8165f7270 [qt5-base] Fix Qt5 linux build and be a bit less flaky in CI (#9260)
* Fix static qt5 builds and ignore system qmake
closes #9234 and #9239

* fix angle conflict and icu dependency

* add egl-registry as a dependency

* remove space

* adding spaces resolved the problem

* move files only if they exist

* Update the Wrapper to use the Postgres target

fixes some observed linkage issues

* update baseline

* add fontconfig on linux so CI is less flaky in a full rebuild

* fix linkage dependent qt5-imageformats libs

* Fix Wrapper for Linux and add other platform libs to Qt5::Core

* fix plugin properties in cmake files

* fix cmake files.

* fix missing plugin qminimal deployment into tools dir

* change wrapper slightly

* UNIX also means APPLE so it needs to be excluded

* fix the static windows build

* mark the parts of fixcmake which require further work to work with single configuration builds

* Update ci.baseline.txt

make qt5-tools pass for CI testing

* fix last regression

* break auto fontconfig in configure script to fix qt5-tools

* update baseline

* enable verbose to debug ci

* try to help it instead of breaking it

* completly link icu

* try to fix fontconfig configure

* fix configure call. cannot be called with a list!

* remove invalid line from patch

* force icu and reduce the required icu libs according to the configure script

* fix icu linkage

* add more icu dependencies and names for windows

* add more icu libs. Seems like all are needed

* fix typo

* print icu libs in debug

* check releasenames

* try again

* change link order

* add icu to wrapper

* fix typo

* patch icu configure for static windows builds

* add other icu libraries to the icu patch

* fix icu in x64-windows-static

* update baseline. VTK builds in local WSL so it should work in CI

* update VTK control to force rebuild

* remove qt5-tools=pass from baseline

* remove qcustomplot:x64-linux=fail from baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-06 12:36:51 -08:00
Tatsuro Shibamura a17d8cbf95 [sdl1] Add build support for ARM64 Windows 10 (#9301)
* [sdl1] Add build support for ARM64 Windows 10

* update baseline

* [sdl1] update version info

* update baseline

* Revert 5f71592f54

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-01-06 12:32:55 -08:00
winsoft666 96bfe1b594 [akali] Add new port (#9499)
* Add: set(VCPKG_PLATFORM_TOOLSET v140)

* add ppxbase and ppxnet.

* nice, ppxbase and ppxnet can install successful.

* update to v1.7

* + add duilib2
- update ppxbase, ppxnet.

* set VCPKG_PLATFORM_TOOLSET to vc141.
duilib2/ppxbase/ppxnet port.

* library version.

* duilib2, ppxbase version.

* duilib2 version

* update duilib2/ppxbase version.

* update duilib2 code version.

* update ppxbase version.
update duilib2 version.

* update ppxbase/duilib2 cmake config.

* duilib2 version.

* ppxbase version.

* + add akali library.

* update ports script.

* ports update.

* add akali

* remove duilib2/ppxnet

* revert

* update akali version.

* update akali version.

* Update portfile.cmake

* Update portfile.cmake
2020-01-06 11:13:17 -08:00
Thad House 9bd91cbebe [wpilib] update to 2020.1.1 (#9513) 2020-01-06 11:08:52 -08:00
Phoebe 140ddf37cd [box2d] Update to 2019-12-31 (#9529)
* [box2d] Update to 2019-12-31

* Udpate ci baseline file

* Update ci baseline file
2020-01-06 11:00:01 -08:00
Alvin 97485dc036 [uvatlas] Upgrade to dec2019 (#9379)
* [uvatlas] Upgrade to dec2019

* [uvatlas] Delete and update deprecated functions

* [uvatlas] x64-uwp passing, remove from ci.baseline.txt

* [uvatlas] Don't test x86-windows-static by default, remove it
2020-01-02 13:56:14 -08:00
Victor Derks 8b07958e8b [charls] upgrade to 2.1.0 (#9494)
* [charls] upgrade to 2.1.0

Upgrade to the latest released version of CharLS. The patch file has become obsolete.

* Remove charls=fail triplets from ci.baseline.txt

Both arm-uwp and x64-uwp can be build.
2020-01-02 13:30:27 -08:00
NancyLi1013 8cab87ed93 Update baseline (#9435)
* Remove freerdp:x64-linux=fail from ci.baseline.txt

* Update

* Add azure-kinect-sensor-sdk:x64-windows-static=fail
2020-01-02 10:58:25 -08:00
Jack·Boos·Yu 1c4a1d1cef [protobuf-c]Add new port. (#8624)
* [protobuf-c]Add new port.

* [protobuf-c]Add homepage.

* [protobuf-c] Remove useless code.

* update baseline

* update baseline
2019-12-23 12:40:21 -08:00
Jack·Boos·Yu f3c11016ef [hiredis] Support building static (#9388)
* [hiredis] Support building static

* update baseline

* update baseline
2019-12-23 12:18:50 -08:00
Robert Schumacher c0d22c88ea
[vcpkg_install_qmake] Add vcpkg_install_qmake (#9412)
* [vcpkg_install_qmake] Add vcpkg_install_qmake and convert existing ports to use it.
[vcpkg_configure_qmake] Add 'staticlib' to CONFIG in static builds

* [vcpkg_configure_qmake] Don't specify DESTDIR

* [libqglviewer][vcpkg_configure_qmake] Add staticlib CONFIG only for libqglviewer

* [qt5-base] Increment version to track changes in vcpkg_configure_qmake()
2019-12-23 06:10:12 -08:00
Robert Schumacher 59b28867dc
[vcpkg-baseline] Fixes for vtk, libarchive, xalan-c, and openvpn3 on Linux (#9411)
* [libarchive] Fix cpu_set_t missing

* [xalan-c] Fix flakiness in presense of ICU

* [openvpn3] Add missing bits/endian.h include

* [vcpkg-baseline] Mark vtk as no longer failing
2019-12-21 11:34:24 -08:00
Tatsuro Shibamura a732ecda63 [directxtk] Update to dec2019 release (#9381)
* [directxtk] Update to dec2019 release

* [directxtk] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:21:10 -08:00
Tatsuro Shibamura b5657848d4 [directxmesh] Update to dec2019 release (#9384)
* [directxmesh] Update to dec2019 release

* [directxmesh] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:20:50 -08:00
Tatsuro Shibamura 1258ac0a10 [directxtex] Update to dec2019 release (#9383)
* [directxtex] Update to dec2019 release

* [directxtex] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:20:28 -08:00
Tatsuro Shibamura 024350d0e1 [directxtk12] Update to dec2019 release (#9382)
* [directxtk12] Update to dec2019 release

* [directxtk12] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:19:51 -08:00
Alexander Neumann f8cfe6c164 Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES (#8533)
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

to respect already set values
closes #8506

* ws change to trigger full rebuild
2019-12-20 12:20:31 -08:00
Lily 0d5fc4c6ef [rttr] Add dependency rapidjson (#9252)
* [rttr] Add dependency rapidjson

* [rttr] Modify ci.baseline.txt

* [rttr] Handle copyright
2019-12-20 12:15:14 -08:00
Adam Jorgensen 14b0cf90e8 [opendnp3] Add new port (#9313)
* Added port for OpenDNP3 library

* Added usage note

* Handle library linkage setting

* Removed deprecated vcpkg_common_functions include

* Indicated that OpenDNP3 will fail to build on UWP targets

* [opendnp3] Export cmake files and force to build static in Windows

* [opendnp3] Fix include export-cmake name

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2019-12-20 12:00:29 -08:00
Alvin 52d7109219 [simpleini] Fix build failure on travis CI (#9330)
* [simpleini] Fix build failure on travis CI

* [simpleini] x64-linux passing, remove from ci.baseline.txt

* [simpleini] x64-osx passing, remove from ci.baseline.txt
2019-12-20 11:57:49 -08:00
IronsDu df4db7117b [brynet] Update to 1.0.5 (#9277)
* Update portfile.cmake

update brynet to tag 1.0.5 .(after now, brynet changed to header only)

* Update portfile.cmake

* Update CONTROL

* Update ci.baseline.txt

remove brynet's setting
2019-12-20 11:55:20 -08:00
NancyLi1013 af5f57c248 Update baseline with 'leptonica:arm-uwp=fail' (#9349) 2019-12-19 11:48:28 -08:00
Jack·Boos·Yu e308474b85 Update baseline to skip ogre conflicts (#9331)
* update baseline

* Replace ogre with ogre-next in baseline results
2019-12-16 10:18:47 -08:00
Jack·Boos·Yu cf7f244bc8 Removed umock-c:64-windows-static result in baseline because it can now build successfully (#9279) 2019-12-11 11:56:53 -08:00
Robert Schumacher ffed695062
[libxslt] Fix writing to locations outside vcpkg in Windows builds (#9242)
* [libxslt] Fix writing to locations outside vcpkg in Windows builds

* [libxslt] Add passing arm64-windows to baseline
2019-12-07 05:50:24 -08:00
Laurent Rineau 767909ad14 [vcpkg_find_acquire_program] Give hints for yasm with brew and apt (#9191) 2019-12-06 16:01:12 -08:00
Robert Schumacher 92dc30ff52
[vcpkg] Check in baseline results for CI builds (#9203)
* [vcpkg] Check in initial baseline

* [vcpkg] Baseline update

* [vcpkg] Further baseline updates

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [xalan-c] Fix flaky build for non-Windows hosts
2019-12-06 02:18:47 -08:00
Tatsuro Shibamura 227d055359 [ffmpeg] Fixed build error ARM64 Windows 10 (#9160)
* [ffmpeg] Fixed build error ARM64 Windows 10

* [ffmpeg] Avoid gas-preprocessor caching
2019-12-03 11:17:08 -08:00
Robert Schumacher cda348b6a3
Merge pull request #9080 from dan-shaw/telemetry-update
[vcpkg] update telemetry
2019-11-22 16:08:34 -08:00
Robert Schumacher ae74e0bfd3
Merge pull request #5719 from donny-dont/github-url
[vcpkg_from_github] Allow targeting Github Enterprise instances
2019-11-22 15:13:08 -08:00
dan-shaw 0a0440c1a8 update telemetry 2019-11-22 15:07:00 -08:00
Robert Schumacher 45bc9e9848 [vcpkg_from_github] Rename GITHUB_URL -> GITHUB_HOST
Rename TOKEN -> AUTHORIZATION_TOKEN
2019-11-22 10:05:39 -08:00
Robert Schumacher 8831e8f25f
Merge pull request #7598 from Neumann-A/path_separator
[vcpkg] QoL: add host specific path separator to common definitions
2019-11-22 09:45:33 -08:00
Phoebe 9d1048e612 [libusb] upgrade and support arm64 (#8976) 2019-11-19 11:02:13 -08:00
dan-shaw 552296a741 [vcpkg] update telemetry 2019-11-14 13:12:36 -08:00
JackBoosY 934275b712 [libxslt]Using vcpkg_install_nmake in Windows, support unix. (#8589)
* [libxslt]Using vcpkg_install_nmake in Windows, support unix.

* support PRERUN_SHELL/PRERUN_SHELL_DEBUG/PRERUN_SHELL_RELEASE

* Re-trigger CI.
2019-10-29 23:23:36 -07:00
Wolfgang Stöggl af55822ea1 mesonbuild - Update to 0.52.0 (#8639)
* mesonbuild - Update to 0.52.0

* [tool-meson] Add package to represent dependency on Meson build-system
2019-10-28 15:47:40 -07:00
JackBoosY 1bdb6bfec1 Fix separate make and install execution error issue. (#8540)
* Fix separate make and install execution error issue.

* trigger CI system.

* Fix multiple copy files under debug, fix separator between make and install in linux.
2019-10-21 22:49:23 -07:00
JackBoosY 988b1c9897 support SKIP_CONFIGURE in vcpkg_configure_make. (#8647) 2019-10-21 16:23:52 -07:00
JackBoosY b99d073412 Add AUTOCONF support with vcpkg_configure_make. (#8610) 2019-10-21 16:23:23 -07:00
Wolfgang Stöggl 6e30ee1ae8 vcpkg_configure_meson - Remove compiler flag /Oi (#8667)
Removing the compiler flag /Oi (Generate Intrinsic Functions) allows
meson to detect functions like memmove, memset correctly. This is
relevant to meson configure for fribidi (see fribidi/meson.build).

This fixes the following "issues" (from fribidi meson-log.txt):
  testfile.c(17): error C2168: 'memmove': too few actual parameters for
  intrinsic function
  Checking for function "memmove" : NO
  testfile.c(17): error C2168: 'memset': too few actual parameters for
  intrinsic function
  Checking for function "memset" : NO

And enables detection of the functions:
  Checking for function "memmove" : YES
  Checking for function "memset" : YES
2019-10-21 15:25:58 -07:00
Ehsan 6f37346354 [vcpkg_download_distfile.cmake] Fix Examples (#8669) 2019-10-21 15:25:25 -07:00
Joel Pelaez Jorge db3e74fa9c Fix CMake checks for Apple Clang 11.0 on macOS 10.15 (#8580)
* Fix CMake checks for Apple Clang 11.0 on macOS 10.15

* Use clang++ instance clang if allowAppleClang is enabled
2019-10-14 16:04:05 -07:00
Victor Romero a595ff6322
Merge pull request #8488 from JackBoosY/dev/jack/update_template
update templates.
2019-10-09 11:27:21 -07:00
JackBoosY 37be706f56 Fix option -j (#8489)
* Remove unusable parameters -j

* trigger CI system.

* Add option -j to make.

* Re-trigger CI system.

* Fix -j in make, fix NO_DEBUG in nmake.

* Re-trigger CI system.
2019-10-09 05:54:19 -07:00
JackBoosY bc80d3c00e use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAME 2019-10-07 20:11:35 -07:00
JackBoosY c784f08ee0 update templates. 2019-10-07 20:07:43 -07:00
Stefano Sinigardi 726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Vinny e86ff2cc54 Update vcpkg create template (#8427)
* Began updating

* Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template

* Update portfile.in.cmake

Added documentation link for vcpkg_check_features
2019-10-07 10:31:38 -07:00
JackBoosY ad493fd860 Add function vcpkg_configure_make/vcpkg_build_make/vcpkg_install_make/vcpkg_build_nmake/vcpkg_install_nmake (#8267)
* Add function vcpkg_configure_make/vcpkg_build_make.

* Fix autoreconf command and add log.

* Add vcpkg_install_make.

* Fix call function name.

* support non-debug mode.

* Add nmake support.

* [tcl]Add new port for testing.

* [vcpkg_configure_make]Fix prefix in linux.

* restart CI systen.

* Separate vcpkg_build_nmake/vcpkg_install_nmake. Add arg PROJECT_NAME.

* fix copy source file. add samples.

* Remove uncommon options.
Add force install para to autoreconf.

* fix build error.

* fix options judgment.

* enable nmake in windows.

* fix some envs and macros. Disable NMAKE in vcpkg_configure_make currently.

* update docs.

* fix environments.

* Modify libosip2 to use vcpkg_configure_make/vcpkg_install_make.

* [tcl]Tcl separates PR.

* trigger PR-EAGER.

* [freexl]Fix options name and remove option NMAKE.

* use tool-chain instead of set environments manually.

* fix autoreconf para.

* use vcpkg_execute_build_process instead.
2019-10-05 07:51:07 -07:00
Alexej Harm da233c38ec Add go to vcpkg_find_acquire_program (#8440) 2019-10-04 11:14:35 -07:00
Vinny 5ebf65665d [Documentation] Added documentation page for vcpkg_fixup_cmake_targets.cmake (#8365)
* Added documentation page for vcpkg_fixup_cmake_targets.cmake, added example usage comment to .cmake file

* Update cmake_fixup_cmake_targets.md

* Update cmake_fixup_cmake_targets.md
2019-10-01 08:21:04 -07:00
Robert Schumacher 9433136b22 [boost] Update to 1.71.0 (#7959)
* [boost] Update to 1.71.0

* [openmvs] Fixes for boost 1.71

* [telnetpp] DISABLE_PARALLEL_CONFIGURE

* [execute_process] Fix output variables (like error_code) not getting populated

* [telnetpp] Add missing boost-exception dependency

* [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp.

* [boost-iostreams] Revert removal of zstd dependency

* [openmvs] Fix tools deployment
2019-09-27 10:41:02 -07:00
Tetsuya Hayashi 726b7a6618 [ports.cmake] Fixup capitalization inconsistencies of Windows drive letter. (#8304)
CMAKE_CURRENT_LIST_DIR reflect current directory. Thus It can be lowercase drive letter.
The lowercase drive letter cause #8237 issue.
Fixup drive letter to uppercase by using get_filename_component().
2019-09-24 15:58:10 -07:00
Leonid Pospelov 6c7f1c7673 [vcpkg] Avoid RENAME usage to prevent cross-device link problems (#4245) (#8032) 2019-09-23 14:03:59 -07:00
Don c7542de3f3 Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to propogate values (#5180)
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher
is encountered. For older versions the previous behavior emulating this
functionality is used.
2019-09-23 13:43:52 -07:00
Alexander Neumann 86a5b6fd7b [Qt] Fix static builds of qt5-imageformats (#8222)
* forward extra arguments to vcpkg_configure_qmake from submodules
* make image format dependent on tiff and libwebp
* make tools dependent on imageformat
* build options must be passed a bit different then normal qmake options
* add the required dependencies
* a new dependency discovered in qt5-declarative
* need webpdemux also
* qt5-declarative is dependent on imageformats so we can drop it here
* remove empty qt.conf if it exists. closes #8180
* add all recommended dependencies as dependencies in control.
2019-09-20 14:06:43 -07:00
Alexander Neumann e2be4512a0 fixed leaking variable in vcpkg_build_qmake 2019-09-20 12:57:29 +02:00
Alexander Neumann 119e9b5729 update vcpkg_configure_cmake 2019-09-20 12:52:33 +02:00
Alexander Neumann 0c7bf66527 removed escaped version. added correct usage description 2019-09-20 12:52:14 +02:00
Alexander Neumann 5b1e426929 Merge remote-tracking branch 'upstream/master' into path_separator
# Conflicts:
#	scripts/cmake/vcpkg_common_definitions.cmake
2019-09-20 12:24:23 +02:00
Alexander Neumann 279e25aecf revert changes to vcpkg_build_qmake file 2019-09-20 12:20:21 +02:00
Alexander Neumann 8a44d47f76 [vcpkg] add missing implib definitions, fix shared lib extension on mac (#8131)
* [vcpkg] add missing implib definitions, fix shared lib extension on mac

(cherry picked from commit 2cddef9541)

* Better find_library suffixes and prefixes.

* moved additional suffix into a comment and reverted back to what is expected on windows

* updated documentation for add variables.
2019-09-16 09:06:06 -07:00
martin-s 191c864927 Fix bug in `.vcpkg-root` detection that breaks `--overlay-triplets` (#7954)
* - Added scripts variable to ports file.
- Added check if triplet file is not available (NPE).

* - Fixed line endings.

* Provide location of .vcpkg-root to ports.cmake

* vcpkg sets VCPKG_ROOT_PATH in ports.cmake

* [vcpkg] Fail if VCPKG_ROOT_PATH is not passed from vcpkg.exe

* [vcpkg] Fix vcpkg rooth path

* [vcpkg] Make --x-scripts-root an experimental command
2019-09-12 23:52:52 -07:00
Alexander Neumann 96f4487c77 [Qt] Update to 5.12.4 (#7667)
* update to 5.12.4
* removed port qt5-modularscripts and split it functionality into more functions into qt5-base
* added qt_port_hashes.cmake for simpler upgrade.
* added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet
* qt_<config>.conf are now copied from the build dir instead from the port dir
* fixed freetype dependencies.
* cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore.
* introduced vcpkg_buildpath_length_warning
* changed directory layout of the qt5 installation executables and mkspecs a bit.
2019-09-12 10:07:21 -07:00
TheGoddessInari 0872eebe34 (#8013) [vcpkg] Compatibility with pwsh >= 6.2
In Powershell 6.2/7.0, `Get-ChildItem`'s paths are now printed as
absolute paths instead of relative paths; this breaks the code we have
that assumes that they're printed as relative paths.

Thus, change the code to request the `Name` property specifically, which
is what we actually wanted.
2019-09-06 16:16:15 -07:00
Victor Romero 9e68729bb6
Use macro instead of function to override execute_process() (#7980) 2019-08-29 19:40:43 -07:00
Victor Romero f5c732b40d
Download Mode (#7950)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers

* Fix calls to _execute_process() when not in Download Mode
2019-08-28 13:49:29 -07:00
Victor Romero 4b404e8cfb
Revert "[vcpkg install] Enable Download Mode (#7797)" (#7949)
This reverts commit 65d4bc146b.
2019-08-28 11:59:30 -07:00
Victor Romero 65d4bc146b
[vcpkg install] Enable Download Mode (#7797)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers
2019-08-28 11:47:17 -07:00
Alexander Neumann d93b940b18
Merge branch 'master' into path_separator 2019-08-23 08:54:20 +02:00
Alexander Neumann 78abf650e7 [vcpkg] QoL: add host/target dependent variables for executable suffixes (#7599)
* improve documentation

* add executable suffixes for host/target into common definitions
2019-08-22 15:57:24 -07:00
martin-s 95f9df7134 - Fixed ports script. (#7793) 2019-08-22 14:55:50 -07:00
Alexander Neumann 18d61a3fb1
Merge branch 'master' into path_separator 2019-08-21 12:00:35 +02:00
dan-shaw 0433989bad
[tensorflow] add new port for linux (#7568)
* [+] Add tensorflow-cc port (Linux only)

* [~] Refactor installation of tensorflow/external

  1. Install tensorflow/external to tensorflow-etc/external;
  2. Fix TensorflowCCConfig.cmake accordingly.

* [tensorflow] Work in progress

* fix tensorflow linux config

* [tensorflow] partial support for windows

* fix config paths

* use environmental variables instead

* remove files

* add python_path

* add verbose error messages

* review fixes

* [tensorflow] refactor config file

* minor changes

* set arch for CI
2019-08-20 12:13:26 -07:00
Curtis J Bezault 4da95d667c
[vcpkg]Port toolchains (#7687)
* checkpoint commit

* Only set VCPKG_ENV_OVERRIDES_FILE if it exists

* First pass at working port-toolchain

* Update VERSION.txt

* Return rvalue

* Fix compilation error

* Some fixes are requested by @ubsan

* Fix another compilation error
2019-08-20 08:47:26 -07:00
Alexander Neumann 743bec775a make find_library useable without errors to console. (#7773) 2019-08-20 08:34:18 -07:00
Alexander Neumann 70f4aabbe8
Merge branch 'master' into path_separator 2019-08-19 21:40:43 +02:00
Alexander Neumann 9c879883f6 add variables for target specific library suffix and prefix. (#7600)
also set the according cmakevariables in script mode
enabling find_library calls in portfiles
2019-08-19 11:13:30 -07:00
Nicole Mazzuca 300e21d59e [vcpkg] Major tool CMakeLists.txt updates
- Add the "VCPKG_DEVELOPMENT_WARNINGS" flag
	- setting "WERROR" will also set this flag
	- This flag is set by default
	- on GCC/clang, this will pass '-Wall -Wextra -Wpedantic -Werror'
	- on GCC, this will additionally pass '-Wmissing-declarations'
	- on clang, this will additionally pass '-Wmissing-prototypes'
	- on MSVC, this will pass '-W4 -WX'
- On Visual Studio 2017 and later, pass '-permissive-'
- Change the source for fallout of these changes
- add `format` subcommand
	- formats all C++ source and header files using clang-format
- move `include/vcpkg-test/catch.h` to `include/catch2/catch.hpp`
- pass CONFIGURE_DEPENDS to file(GLOB)
2019-08-16 19:40:53 -07:00
Curtis J Bezault b47ca1b012
Merge pull request #7305 from cbezault/external_file_abi
[vcpkg] Public ABI override option
2019-08-16 13:51:22 -07:00
Victor Romero a3a6530631
[vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly

* [vcpkg_check_features] Allow reverse logic for features

* [vcpkg_check_features] Document new parameters

* [vcpkg_check_features] Remove unnecessary logging

* Do not create variables for each feature only set OUT_FEATURE_OPTIONS

* Improve documentation

* Update ports that use vcpkg_check_features()

* Missing documentation updates

* [pcl] Fix tools feature

* [opencv,opencv4] Fix usage of vcpkg_check_features()

* [opencv4] Fix typo
2019-08-13 20:13:55 -07:00
dan-shaw 0f3b6fc163 vs 2019 integration bug (#7623) 2019-08-12 14:41:53 -07:00
Alexander Neumann 173642528e use vcpkg add to path in build scripts 2019-08-12 10:04:50 +02:00
Alexander Neumann 01e342d016 use VCPKG_HOST_PATH_SEPARATOR in scripts 2019-08-12 09:49:24 +02:00
Alexander Neumann c4231c51e4 Merge remote-tracking branch 'upstream/master' into path_separator 2019-08-12 09:28:24 +02:00
Alexander Neumann cabbe16525 [vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601)
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message

* added always option.

* fix linux regressions

* bump control for ci tu rerun
2019-08-11 23:24:20 -07:00
Curtis.Bezault f9561a08db remove unnecessary include, fix variable extraction 2019-08-09 14:47:58 -07:00
Curtis.Bezault ad82c38cc1 Actually only override the PUBLIC ABI, not the private one 2019-08-09 14:40:09 -07:00
Curtis J Bezault c4f1a91ef2
Merge branch 'master' into external_file_abi 2019-08-09 11:59:32 -04:00
Alexander Neumann 5899cd1d25 improve documentation 2019-08-08 14:40:47 +02:00
Alexander Neumann b72fa4561f use it in vcpkg_add_to_path. 2019-08-08 14:22:53 +02:00
Alexander Neumann 6eaf7f0f97 add definition for host specific path separators 2019-08-08 14:18:47 +02:00
nicole mazzuca 165907550c
Update tests, and add documentation! (#7506)
This PR does the following:

* fix tests -- now, they're always built in the CMake scripts, and they work on VS2015
  *add a new flag, BUILD_TESTING, which allows one to turn off testing builds
* Add documentation for running tests
2019-08-02 09:52:39 -07:00
Curtis J Bezault d60047280d
Merge branch 'master' into external_file_abi 2019-07-24 14:26:34 -07:00
Curtis.Bezault 62ec13ba36 Merge build.cpp 2019-07-23 15:29:49 -07:00
Curtis.Bezault 459908ae14 add external file hashes to the binary paragraph 2019-07-23 10:07:39 -07:00