Commit Graph

1882 Commits

Author SHA1 Message Date
ras0219
7c08030982
[vcpkg_apply_patches] Work around /etc/gitconfig: Permission denied (#14848)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-11-30 09:50:42 -08:00
Phoebe
480ec85d51
[vcpkg] Fix issue in vcpkg.targets that introduced in 13755 (#14797) 2020-11-30 09:39:23 -08:00
Victor Romero
6c9cda1635
[vcpkg] Implement VersionedPortfileProvider and BaselineProvider (#14123)
* WIP: Get versions from database files

* Fix formatting

* Provider inherits ResourceBase

* Correct versions JSON file location

* Fix formatting

* Fix formatting

* Fix include in versions.h

* Fetch port versions using git tree object

* Undo changes to x-history

* Remove unnecesary moves

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

* Extract Git manipulation code

* [WIP] Review comments

* [WIP] Review comments pt. 2

* [WIP] Review comments / fix formatting

* Generate baseline.json

* Extract deserializers from registries source file

* BaselineProvider initial implementation

* Modify gitignore

* Update .gitignore again

* Use JSON deserializer for versions db

* Lazy load baseline file

* Fetch baseline.json from baseline commit

* More git abstractions

* Clean up code

* Path helpers

* Formatting

* Move data into impl object

* Use implementation object for VersionedPortfileProvider

* Reuse cloned instance for checkouts

* Code cleanup and formatting

* Fix returning dangling reference

* Prepare to remove files in port_versions/

* Remove files in port_versions/

* Update .gitignore

* Some PR review comments

* Use StringView

* More StringView conversions

* More refactoring

* Make some implementation members private

* Functions for parsing baseline and version files

* Hide deserializers implementation

* Check for `versions` feature flag in registries.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-27 05:44:21 -08:00
nicole mazzuca
539a182d37
[vcpkg msbuild] Fix the issues introduced in 13755 (#14772)
* Fix the issues introduced in 13755

Fixes #14735

* add VcpkgRoot != ''
2020-11-25 12:45:36 -08:00
Alexander Neumann
e2ec3b25e3
[vcpkg_fixup_cmake_targets] Add NO_PREFIX_CORRECTION (#12215)
* [vcpkg/scripts/fixup_cmake] add option NO_PREFIX_CORRECTION to not apply the

* add a bit of explanation why the prefix correction might be incorrect.

* apply the if only around the import prefix changes

* Update scripts/cmake/vcpkg_fixup_cmake_targets.cmake

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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-25 12:06:25 -08:00
Long Nguyen
e2ff466f65
[boost-locale] Replace VCPKG_TARGET_IS_WINDOWS in b2-options (#14502)
* [boost-locale] Use CMAKE_SYSTEM_NAME as a fallback where VCPKG_TARGET_IS_WINDOWS is not available

* fix this issue in a different way

* Remove comments in b2-options.cmake.in

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

* fix generate-ports.ps1

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-25 11:26:33 -08:00
LRFLEW
38752e29c2
[vcpkg_find_acquire_program] Use OS-included Python 2.7 on macOS (#14662) 2020-11-23 16:18:51 -08:00
Jack·Boos·Yu
5cd25eee5d
Add option VCPKG_QMAKE_USE_NMAKE in vcpkg_build_qmake and install_qt (#8524)
* add option PREFER_NMAKE to vcpkg_build_qmake and install_qt.

* Add /MP to qt5-base/vcpkg_build_qmake.

* use VCPKG_QMAKE_USE_NMAKE instead of as function parameter.

* Update ports/qt5-base/cmake/install_qt.cmake

* Update scripts/cmake/vcpkg_build_qmake.cmake

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-23 15:26:01 -08:00
Joakim L. Gilje
d9633d939c
[vcpkg] initial openbsd (community) support (#14549)
* initial openbsd support in vcpkg

* after clang-format

* hardcoded in the preferred compiler for openbsd in bootstrap scipt (thanks @tormfinn)

* Fetch a patched pkg-config because openbsd pkg-config lacks {fcfiledir}

* fixes from review feedback

* corrected hash for pkg-config.openbsd

* re-added missing endif()

* regenerate docs

* Update scripts/cmake/vcpkg_configure_meson.cmake

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-23 09:43:23 -08:00
Sander Cox
42456b785a
[vcpkg] X_VCPKG_APPINSTALL_DEPS_INSTALL optionally install dependencies on install (#14243)
* Adding an install command override for dependencies

* Apply suggestions from code review

Use variables directly instead of prefixing with `${}` as is done in rest of the file. Thanks @shatur95

Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>

* Update scripts/buildsystems/vcpkg.cmake

Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>

Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2020-11-20 13:28:14 -08:00
Matioupi
878d7ea830
[curl] Fixes pkgconfig configuration file (#14350)
* Fix pkgconfig for windows debug build. Re-allow tool feature on non windows platforms

* Fix tool feature

* Modified debug/release prvate libs according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520444862
Added vcpkg_fixup_pkgconfig() according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520435718

* Delete portfile.cmake.orig

* Fix pkgconfig

* Revert "Fix pkgconfig"

This reverts commit cb4da8bcc5.

* Bump port version to 3

* add missing system libs for windows. made case type coherent for ws2_32

* Fix build on x64-linux triplet

* Reverted ws2_32 to Ws2_32 as discudssed in https://github.com/microsoft/vcpkg/pull/14350#discussion_r525893479

* More fixes for Linux build with features

* Fix for feature c-ares

* Formatting

Co-authored-by: Phoebe Ma <v-phma@microsoft.com>
2020-11-20 12:18:17 -08:00
Jack·Boos·Yu
fdfe770571
[gdal] Update to 3.1.3 (#13449)
* [vcpkg_*_nmake] Add option INSTALL_COMMAND

* [gdal] Update to 3.1.3 and switch to vcpkg_*_nmake on Windows

* [vcpkg_build_make] Add option MAKEFILE

* fix install on windows, fix linux build

* fix options position

* [gdal] Fix linux build

* [gdal] Fix expat library name

* [gdal] Fix geos library name

* [gdal] Fix cmake wrapper

* [pdal] Fix dependency geos

* [pdal] Fix PDALConfig.cmake

* [gdal] Fix dependency cfitsio on *inx

* disable cfitsio temporary

* [gdal] Correct cmake wrapper and usage

* [gdal] Fix tools on windows-static

* Revert a9ac823007

* Apply suggestions

* [vcpkg_build_nmake] Fix install command

* [vcpkg_build_nmake] Fix install command

* regenerate docs

* [gdal] Update dependency iconv and charset library names

* [gdal] add json-c as a dependency on non-windows

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-20 10:29:25 -08:00
Adam Johnson
46068e8a37
[python3] Upgrade to 3.9.0 (#14510)
* [python3] Bump to 3.8.6.

* [python3] Bump to 3.9.0.

* [itk] Correct python artifact names.

* [pybind11] Update python artifact names.

* [vcpkg_find_acquire_program] Bump PYTHON3 to 3.9.0.
2020-11-20 09:44:51 -08:00
Dr. Frank Heimes
e126e3eed7
[vcpkg] Two bug fixes and some improvements in buildsystems/msbuild (#13755)
* Use IncludePath and LibraryPath properties

These tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code.
This change includes my changes from #4454.

* Applied changes as described in #13753

* Fixed warning and error in vcpkg end-to-end tests

* Fixed incorrect warning "we found a manifest file in \."

* Fixed still failing integration test. See discussion in #13753.

* Code Review Correction

Removed stray double quote reported by @strega-nil

* change display name

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-19 12:33:20 -08:00
Christophe Calmejane
ef77f3c99f
[vcpkg android] Fix for issue #11927 (#14625)
Allow selection of Android SDK platform version from triplet file.
2020-11-18 15:45:05 -08:00
Michał Janiszewski
34e79cb043
[icu] Add MSVC ARM64 support (#14186) 2020-11-18 14:09:34 -08:00
Alexander Neumann
3217e25596
[meson|scripts] update scripts (#12945)
* Update meson to a recent commit to fix a bug with 0.56

* rename static libraries built by meson by default on windows

* apply cmake variables detection to meson.
use native/cross files
make arm builds work.

* update munit

* fix fribidi

* fix _FLAGS variables

* set env SDKROOT and MACOSX_DEPLOYMENT_TARGET in configure_meson

* need osx env while building and configuring

* - remove unused env backup functions
- rename internal functions to be prefixed with _vcpkg_
- fix VCPKG_CHAINLOAD_TOOLCHAIN_FILE for ios/freebsd

* replace _vcpkg with vcpkg since _ has special meaning in functions

* rename functions to vcpkg_internal_meson_generate

* update control tool-meson
2020-11-18 13:36:20 -08:00
ras0219
5c48bee451
[vcpkg] Add experimental x-azblob binary provider (#13626)
* [vcpkg] Add experimental x-azblob binary provider

* [vcpkg] Test azblob storage provider in CI

* [vcpkg] Address some CR comments from #13639

* [vcpkg] Fixup azure-pipelines

* [vcpkg] Fix regression where the downloaded package is purged before decompressing

* [vcpkg] Further refactor vcpkg::Downloads

* [vcpkg] Enable OSX for x-azblob testing

* [vcpkg] Reduce diff against master

* [vcpkg] Extract Downloads::details::split_uri_view

* [vcpkg] Address PR comments

* [vcpkg] Add testing and metrics for x-azblob

* [vcpkg] Add docs for x-azblob

This includes a note that it is currently experimental

* [vcpkg] Address CR comments

* [vcpkg] Revert pipeline changes except OSX to minimize disruption

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-18 12:21:23 -08:00
Jack·Boos·Yu
2018406edb
[vcpkg baseline] Clean up baseline, use Keyword Supports (#14246) 2020-11-18 10:49:25 -08:00
Alexander Neumann
79d9a154d9
fix single configuration make builds. (#14580) 2020-11-17 09:26:16 -08:00
Alexander Neumann
3a26eb3dc4
[intl/gettext/fontconfig] update to native build system (#11776)
* [fontconfig] update fontconfig

* [libiconv] update to make

* [gettext] update to make

* [vcpkg_configure_make] Changes considering pure configure ports without the requirement to run autoconfig

* [fontconfig] make it work on windows

* Remove install of unofficial cmake config

* add function get_cmake_vars

* fine tuning.

* apply to make based ports.

* add log suffix on not windows platforms

* fix c&p error

* add previous LINK env

* setup env on windows and extract cpp flags correctly.

* update glib and libxml2

* fix windows regressions

* Apply suggestions from code review

* add windres wrapper to invoke RC.

* remove wrong fi

* fix libintl.

* try fixing uwp

* other things to update

* exiv2 fix

* libtool does not like -RTC1

* pass the /RTC<x> flag directly to the compiler

* trust cmake instead of adding extra flags

* fix expat

* fix iconv wrapper install

* change fontconfig intl linkage.

* add appcontainer back in which is required for UWP. Why is this not in the cmake flags?

* fix pkg-config in vcpkg_configure_make

* fix json-c pkg-config installation

* remove remnoved config

* comment out debug messages + bit of tuning

* finally fontconfig

* comment debug messages

* expat apply extra patches.

* Switch back to -E instead of -EP in cpp

* commit changes from fontconfig PR

* [expat] fix expat details

* Apply suggestions from code review

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

* cleanup docs

* update osx pipeline so that fontconfig actually builds

* fix expat the lazy way by using a higher commit than release

* fix a barage of regressions due to the use of unofficial targets

* [expat] use a higher commit hash with a better stabilized cmake build

* forgot freexl regression

* more unofficial fixes

* fix downstream expat usage

* fix wxwidgets

* fix gcdm regression

* [vtk] fix the regression due to expat

* add uwp cl flags back in. Somehow those are not set by cmake

* add a few other configure options for full gettext build

* fix cmake regression

* fix a few regressions

* fix static gettext build

* fix gettext static

* fix libxml2 wrapper for cmake

* some more regressions fixes

* add conversion from somelib.lib to -lsomelib

* add a few option to libiconv.

* get logs from CI

* add missing ar-lib wrapper

* add missing ar-lib wrapper

* add fatal error to gettext

* remove uuid from the list of LIBS since it seems to not exist in CI?

* small but important regex correction

* fix regex and add debug message for libs

* remove error and only build libintl.

* add uuid dependency to fontconfig in qt5-base

* osx install gettext for autopoint

* fix io2d regression by saying the port is broken .....
(which it is; upstream needs to learn proper cmake)

* restore the old libxml2 wrapper with minor modifications

* fix xmlsec regression

* install wrapper correctly

* try actual fixing io2d

* improve iconv wrapper

* add latest changes from update_fontconfig PR

* Apply suggestions from code review

first set which don't need special attention

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

* Apply suggestions from code review

one more simple change

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

* [x264] set env AS

* fix bugs due to refactor

* use subpath everywhere

* apply changes from CR

* fix fontconfig build.

* only change libs in static builds

* remove unnecessary lines 41 & 44

* remove flag transformation

* reintroduce the flag / to - transformation for MSVC

* trying to figure out autopoint issue.
using wrong (windows) find.exe instead of msys

* add correct working_dir to subpath

* escape stupid env paths.

* fix typo

* add findutils
remove debug messages

* add error if libtool chokes

* add file to msys

* pass lt_cv_deplibs_check_method=pass_all on windows
(couldn't get file.exe to work so that libtool correctly ids the passed libs)

* add bzip2 to msys

* reenable libtool check. Lets see if CI agrees

* unbreak linux
try to figure out where uuid should be on windows.

* add -L flag and help libtool ?

* try to get ci to find uuid.

* try to use cygpath

* update controls

* cleanup merge mistakes

* correct merge issues

* determine cmake vars if not done before.

* move adding of -l earlier

* more merge cleanup

* fix uwp builds by not transforming libs

* fix patches in io2d

* fix xz download error

* apply code review changes manually

* fix the typos left behind in CR

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-11-17 09:18:59 -08:00
Joakim L. Gilje
9ee052937c
preprocess _ignore_flags with vcpkg_escape_regex_control_characters (#14018)
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-11-13 13:36:41 -08:00
Jack·Boos·Yu
1d8755cb40
[vcpkg baseline] Clean up baseline, use Keyword Supports Part 1 (#14245)
* [vcpkg baseline] Clean up baseline, use Keyword Supports

* Update ports/arrow/CONTROL
2020-11-13 10:54:48 -08:00
nicole mazzuca
d9b179fd46
[llvm] install tools in tools/llvm (#14399)
* [llvm] install tools in tools/llvm

* remove the giant commented out block of code

* update port-version

* hopefully fix the port?

There are still some issues, namely that the python scripts and DLLs that are copied into `tools/llvm`
are not considered to be "installed by llvm", and thus are not removed when llvm is removed

* format!

* apparently REGEX REPLACE fails if a thing doesn't match

* fix LLVM_REMOVE_EXTENSION_REGEX on windows

* actually read the cmake regex docs...

* fix the name of the variable

* turns out CMAKE_MATCH_1 is the one I want

* need to update VERSION for new policy

* stop removing debug/bin

* fix faulty merge
2020-11-12 17:31:34 -08:00
nicole mazzuca
05170a1f60
[3fd] Update to 2.6.3, fix port (#14528)
* [3fd] Update to 2.6.3, fix port

* update baseline

* JackBoosY CRs

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-11-12 17:31:03 -08:00
Jack·Boos·Yu
bf482a9b58
[ampl-mp] Update version, separate port ampl-asl and fix arm build (#14518)
* [ampl-asl] Separate port ampl-mp module asl to ampl-asl

* [ampl-mp] Update version, separate port ampl-asl and fix arm build

* update baseline

* [VMSS] Pre-install ampl-mp:x86-windows

* Update ports/ampl-asl/portfile.cmake
2020-11-12 12:55:11 -08:00
nicole mazzuca
2dc708898a
[vcpkg] Add x-ignore-lock-failures (#14397)
* [vcpkg] Add disable-lock options

This should fix #14281 at least as a stopgap.

Additionally, adds better errors.

* billy CRs

* change from "disable-lock" to "allow-spurious-lock-failures"

* billy cr
2020-11-12 10:16:24 -08:00
Joachim Gehweiler
11b4a16bca
[tensorflow-cc] More or less completely rewritten port, update to 2.3.1 (#13028)
* 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

* fix debug and static builds as well as library naming for non-linux
- add patch to fix debug builds
- add patch to fix exports for static linking
- really build debug (instead of cloning release)
- override bazel build options for debug (work around bazel bug)
- bazel doesn't support static libraries: work around by building dynamic library and constructing static linkage commands from build log
- Windows .pdb file can't be >4GB even on x64: work around using reduced debug information
- Windows doesn't support .lib files >4GB even on x64, so split into multiple libs
- vcpkg requires equal amount of libs for debug and release: work around using handcrafted empty dummy libs
- fix naming of libs (.dll on Windows and .dylib on macOS)

* upgrade tensorflow from v1.14 to v2.3
- adapt patch files to tensorflow code changes
- update bazel from v0.25.2 to v3.1
- on Windows use python installed on the host instead of embedded python obtained via vcpkg because embedded python lacks pip, which we need to obtain numpy
- on Windows add MSYS2 to the PATH so that bazel tools can access MSYS2 GIT
- add support for custom CA certificates when using HTTPS_PROXY

* fix execute process macro
The existing implementation totally screwed up commands if the command's arguments contained semicolons (this is the case, e.g., in the FindPython modules of the cmake distribution).

* extend overriden execute_process to more than one COMMAND as there actually are use cases for this

* added another patch required for tensorflow v2.3, fixed path and working directory

* Revert "incorporate changes from microsoft:master"

* Revert "Revert "incorporate changes from microsoft:master""

* final fixes for static build + improving out messages

* enabling linux and osx in CI to see if it works now

* simplified code, fixed version numbers, fixed generated include cmake file

* fix failing postbuild check on handcrafted empty dummy library by spreading the last real libraries contents over the required number of libraries

* remove dead code commit by mistake again

* improvements from code review

* cleaner fix for debug code

* find pip3 in PATH (PYTHON3_DIR apparently not valid for pip3)

* fix error in python helper script

* fix wrong libname in postbuild script

* fix python detection + switch to python on msys2 (instead of embedded python) for Windows as we need numpy

* fix order of arguments

* fix command (it may contain spaces such as C:\Program Files\...)

* revert last commit (root cause for CI failures is something different: there are line breaks in path)

* fix regex comparision
(value needs to be escaped as it may contains regex special characters such as brackets, eg C:/Program Files (x86)/...)

* fix linebreaks in generated file

* fix CRT linkage
(macOS doesn't support static CRT linkage; it's set to dynamic even static target triplets for macOS and linux)

* refactor implemenation to avoid as much code duplication as possible -- algorithmically identical

* fix version numbers in helper scripts

* enable work-around for Windows until bazel fix is available

* install missing python3-pip on linux

* fix linux build by patching

* apply timeout feature now available via merged master branch

* correct linux build patch

* improve debug build patches
(no functional difference because LOG(FATAL, ...) macro internally anyway calls abort(), which the compiler doesn't detect in debug mode...

* improve linux patch

* temporarily add debug to inspect what's going on on macOS CI

* remove temporary debug code and fix static linking scripts for linux and macOS

* fix regex escaping

* fix ambiguous match while grepping for the framework link command

* extend fix of ambiguous match while grepping for the framework link command

* fix what merge of master broke

* fix more what got broken by merging master
(all packages and their dependencies are now maintained manually instead of using pacman...)

* remove "unofficial" from filename

* added switch do distinct classic and manifest mode when generating config.cmake file

* create symlinks for libraries without version number

* fix linux postbuild script

* temporarily disable code making problems

* add note for linking on Linux and macOS

* forget to add README file in previous commit

* add file forgotton in macro fixing patch

* fix python library path

* fix macOS static link command

* update linkage instructions in README

* Update ports/tensorflow-cc/CONTROL

* Update ports/tensorflow-cc/portfile.cmake

* Update scripts/ci.baseline.txt

* use vcpkg_execute_required_process

* pass C_FLAGS and CXX_FLAGS to bazel

* fix INTERFACE_INCLUDE_DIRECTORIES

* fix optional c/cxx arguments

* also add linker opts

* update README

* merge static libs into one
to support force_load (cannot force_load both due to duplicate symbols)

* update README

* quote python path (it might contain spaces that don't get escaped inside outer quotes of bash command)

* fix python path also for static build

* add arm(64) as currently unsupported arch

* bazel 3.7 is available -> remove workaround

* update README, remove necessary c-ares from deps

* update msys package

* add uwp specific options, and minor general improvements

* fix string replace

* fix control file and windows path separator

* revert backslashes-fix -- the root cause was missing .exe extension

* upgrade to tf 2.3.1

* fix hard-coded version

* remove uwp work-in-progress code so that PR can be merged

* update README and print out usage info in portfile

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-windows

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

* Update ports/tensorflow-cc/portfile.cmake

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

* Update ports/tensorflow-cc/portfile.cmake

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

* Update ports/tensorflow-cc/portfile.cmake

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

* Update ports/tensorflow-cc/portfile.cmake

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

* Update ports/tensorflow-cc/portfile.cmake

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

* improve usage hints as discussed in review

* add comment

* apply changes from review

* make additional compiler / linker args space-proof

* Update ports/tensorflow-cc/README-macos

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

* Update ports/tensorflow-cc/tensorflow-cc-config-shared.cmake.in

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

* Update ports/tensorflow-cc/tensorflow-cc-config-shared.cmake.in

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

* Update ports/tensorflow-cc/README-linux

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

* Update ports/tensorflow-cc/README-macos

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

* apply changes from code review

* maybe fix the config files

* rob.maynard CRs

* fix windows static lib naming for first part

* Update ports/tensorflow-cc/generate_static_link_cmd_windows.py

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

* apply rob maynards 1st suggestion

* nicole CRs

* format/fix-compile

* fix missing string termination

* prefer IMPORTED_LOCATION over IMPORTED_LOCATION_RELEASE to have default fall-back

* hopefully fix the issue where no libraries are generated

* final stuff

Co-authored-by: Gehweiler <Joachim_Gehweiler@McAfee.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Joachim Gehweiler <joachim@Joachims-iMac.local>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-12 10:15:48 -08:00
Billy O'Neal
8a9335d90d
Baseline fixes for 2020-11-07 (#14493)
redist-plus-plus: Remove some "passing, remove from fail lists"

ignition-msgs*: Nicole is working on fixing these here: https://github.com/microsoft/vcpkg/pull/14399
2020-11-11 15:34:11 -08:00
Alexander Neumann
8de4ee858f
[vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936)
* add function get_cmake_vars

* fine tuning.

* apply to make based ports.

* add log suffix on not windows platforms

* fix c&p error

* add previous LINK env

* setup env on windows and extract cpp flags correctly.

* Apply suggestions from code review

* commit changes from fontconfig PR

* Apply suggestions from code review

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

* cleanup docs

* add conversion from somelib.lib to -lsomelib

* add missing ar-lib wrapper

* small but important regex correction

* add latest changes from update_fontconfig PR

* Apply suggestions from code review

first set which don't need special attention

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

* Apply suggestions from code review

one more simple change

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

* [x264] set env AS

* fix bugs due to refactor

* use subpath everywhere

* apply changes from CR

* remove unnecessary lines 41 & 44

* remove flag transformation

* reintroduce the flag / to - transformation for MSVC

* Apply suggestions from code review

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

* rename the function

* rename function/variables

* transform flags list

* Apply suggestions from code review

* fix vcpkg_build_make due to the variable name change

* fix another case of function renaming regressions

* only rename config.log if it exists

* actually add the script after vcpkg_common_functions was deleted.

* remove setting of ldflags if path contains spaces

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-11-10 09:52:02 -08:00
Christian Fersch
19fe942c13
Add support for llvm-objdump to applocal.ps1 (#11898)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-09 16:47:21 -08:00
Adam Johnson
9c56f59ed4
[physx] Add support for Linux, macOS, and UWP (#13849) 2020-11-07 21:43:59 -08:00
Lily
5a95fe218f
[libnice] Fix build error on Linux (#14248) 2020-11-06 13:31:54 -08:00
niclar
0e1252388d
[boost] Update to 1.74.0 (#14089) 2020-11-06 13:30:37 -08:00
Jack·Boos·Yu
eeeea96d9a
[osg-qt] Fix installation when building static on Windows (#14422) 2020-11-06 13:21:53 -08:00
Lily
9d2f4a59b3
[rhash] Update to the latest version (#13658) 2020-11-05 18:24:53 -08:00
Alexander Neumann
5eae413e9c
[vcpkg] copy tools pdb if they exist. (#14396) 2020-11-05 18:16:47 -08:00
Billy O'Neal
f7b9fc0b3c
[vcpkg, azure-macro-utils-c] Fix SHA and add FILE_DISAMBIGUATOR for vcpkg_from_github (#14343) 2020-11-05 17:25:46 -08:00
Wolfgang Stöggl
78ce9413a8
[tool-meson] Update to 0.56.0 (#14344) 2020-11-03 23:14:33 -08:00
Billy O'Neal
2484d58361
[vcpkg] Disable vcpkg_copy_tool_dependencies on non-Windows (#14366) 2020-11-03 12:04:27 -08:00
Jared Irwin
5407dcdb00
[vcpkg] Add tab completion for Fish (#14206) 2020-11-02 17:25:43 -08:00
Billy O'Neal
b7056e9f1f
[vcpkg] Fix incorrect determination of PowerShell not found (#14317)
* Fix incorrect determination of PowerShell not found because Bill doesn't know enough CMake :(

Resolves #14283
2020-11-01 17:12:49 -08:00
Long Nguyen
6edef9f1f6
Add compiler executable name into toolchain file (#14269) 2020-10-30 12:43:59 -07:00
xyb
5e4d2fab86
[vcpkg] Support cross compile arm64-linux, arm-linux triplets on linux (#13374)
x86_64 host.
2020-10-30 12:15:40 -07:00
JonLiu1993
322efbb617
[ocilib] Update to 4.7.0 (#13158) 2020-10-30 12:07:11 -07:00
Billy O'Neal
1b1c17de82
[vcpkg baseline] [vs-yasm] Build yasm instead of downloading it to work around memory corruption bugs in yasm itself. (#14003) 2020-10-28 14:26:41 -07:00
stoperro
318a8adbd0
[boost] Enable Boost building with wasm32-emscripten (#14102) 2020-10-28 14:22:51 -07:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Billy O'Neal
a6a1722cfa
[vcpkg, jsonnet, openssl-uwp] Enable use of the system powershell-core if it is present. (#13805) 2020-10-27 20:48:14 -07:00
Phoebe
c34c4189eb
[folly/fizz/wangle/proxygen/fbthrift] Update to latest revision (#13701) 2020-10-27 20:44:41 -07:00
Thomas Gwynne-Timothy
10771a845e
Serialize deployBinary on target directory (#11363) 2020-10-27 17:55:27 -07:00
Billy O'Neal
bf7dbde05e
[vcpkg] Always publish failure logs, even on success. (#14260)
This way we get failure logs for things excluded by ci.baseline.txt in the nightly builds.
2020-10-27 15:35:28 -07:00
Lily
134fe60dd2
[lcm] Fix build error on Linux (#14147) 2020-10-26 23:43:25 -07:00
Joachim Gehweiler
0ff75ac80b
[vcpkg] Fix more cases of semicolon mishandling in "scripts" - follow-up to PR #12926 (#13968) 2020-10-26 19:30:27 -07:00
Victor Romero
e9f8cc67a5
[vcpkg] Implement versions db generator (#13777)
* [vcpkg] Add script to generate ports versions history

* [vcpkg] Fix formatting

* Fetch port versions from commit ID

* Use global --x-json switch

* Use --no-checkout when cloning secondary instance

* Clone from local repository instead of from GitHub

* Use CmdLineBuilder to build git commands

* Use CmdLineBuilder and reduce repeated code

* Fetch version at baseline and code cleanup

* Guess version scheme from old CONTROL files

* Rename version db generator script

* Simplify x-history json output

* Use CONTROL/manifest parsers on x-history

* Use git-tree instaed of commit-id

* Remove 'ports' field from root object

* Clean up code

* More code cleanup

* Improve port version detection

* Improve generator logging

* Do not ignore parsing errors in CONTROL files

* PR review comments in Python script

* Fix subprocess.run() calls

* Make `canonicalize()` return error instead of terminating

* [vcpkg] Add tests for new test_parse_control_file paths

* Remove unnecessary std::move() calls

* Fix formatting

* Python formatting

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-26 10:24:30 -07:00
Ludwig Chieng
ba7fd714f2
[vcpkg] update msys-libiconv version (#14220)
link to previous version 1.16-1 does not exist anymore
2020-10-25 22:07:45 -07:00
Billy O'Neal
b97849d258
[Many Ports] Baseline Fixes for 2020-10-24 CI Build (#14208)
* [libp7client, libp7-baical] Combine identical ports and update to libp7client 5.6.

In a recent CI build, we started getting output like:

Installing package libp7-baical[core]:x86-windows...
The following files are already installed in C:/Dev/vcpkg/installed/x86-windows and are in conflict with libp7-baical:x86-windows

Installed by libp7client:x86-windows
    bin/P7x32.dll
    bin/P7x32.pdb
    debug/bin/P7x32d.dll
    debug/bin/P7x32d.pdb
    include/P7/GTypes.h
    include/P7/P7_Client.h
    include/P7/P7_Cproxy.h
    include/P7/P7_Extensions.h
    include/P7/P7_Telemetry.h
    include/P7/P7_Trace.h

It turns out that these ports are identical, they are just different versions of the same library. The libp7-baical version supported more platforms and was simpler, so took that one and updated it to a current version.

* [ignition-modularscripts, ignition-msgs1] Attempt to fix intermittent build failures by disabling parallel configure.

* Fix several "passing: remove from fail list."

* [akali] Disable parallel configure.

REGRESSION: akali:x64-windows. If expected, add akali:x64-windows=fail to .\scripts\ci.baseline.txt.

Attempts to fix:

CMake Error: Could not open file for write in copy operation C:/Dev/vcpkg/buildtrees/akali/src/fc94eb83a9-01654d3f7c.clean/include/akali_config.h.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:20 (configure_file):
  configure_file Problem configuring file

* [nvtt] Devendor libsquish

This was regressed by https://github.com/microsoft/vcpkg/pull/13674

REGRESSION: nvtt:x64-linux. If expected, add nvtt:x64-linux=fail to .\scripts\ci.baseline.txt.
REGRESSION: nvtt:x64-osx. If expected, add nvtt:x64-osx=fail to .\scripts\ci.baseline.txt.
REGRESSION: nvtt:x64-windows-static. If expected, add nvtt:x64-windows-static=fail to .\scripts\ci.baseline.txt.
REGRESSION: nvtt:x64-windows. If expected, add nvtt:x64-windows=fail to .\scripts\ci.baseline.txt.

Installing package nvtt[core]:x64-linux...
The following files are already installed in /mnt/vcpkg-ci/installed/x64-linux and are in conflict with nvtt:x64-linux

Installed by libsquish:x64-linux
    debug/lib/libsquishd.a
    include/squish.h
    lib/libsquish.a

* [knet] Disable parallel configure.

REGRESSION: knet:x64-windows. If expected, add knet:x64-windows=fail to .\scripts\ci.baseline.txt.

CMake Error at src/CMakeLists.txt:1 (configure_file):
  configure_file Problem configuring file

* [libnice] Diable parallel configure.

REGRESSION: libnice:x64-windows. If expected, add libnice:x64-windows=fail to .\scripts\ci.baseline.txt.

CMake Error at CMakeLists.txt:13 (configure_file):
  configure_file Problem configuring file
2020-10-24 22:36:53 -07:00
Eric Kilmer
527c0e0433
Print more verbose compiler detection info (#14188) 2020-10-23 20:54:36 -07:00
Adam Johnson
50a596c40a
[vcpkg_find_acquire_program] Fix SWIG on non-Windows platforms. (#13953)
Previously, the sourceforge downloader was attempting to download a
mixture of the Windows URL with an incorrect extension, causing a
cascade of HTTPS download failure messages.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-10-23 00:29:35 -07:00
Sander Cox
4a11bdd440
[vcpkg] Vcpkg appinstall deps fixes (#14129) 2020-10-21 17:43:11 -07:00
NancyLi1013
3df2c009df
[libp7-baical] Fix build error (#13540) 2020-10-21 16:32:07 -07:00
Jack·Boos·Yu
998f86a829
[ptex] Fix build on *inx (#14142) 2020-10-20 21:05:09 -07:00
Billy O'Neal
b14aa50824
[freetds] Update to v1.2.5 and update source to github. (#14120) 2020-10-20 16:13:43 -07:00
Trider12
f8c2d42d06
[libvorbis] MinGW build fix (#14050) 2020-10-20 11:28:49 -07:00
Sander Cox
e93810d2ef
[CMake] VCPKG_APPLOCAL_DEPS sometimes causes conflicts when processing multiple files in the same directory (#13025)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-19 19:52:36 -07:00
Stefano Sinigardi
eb183171d2
[cmake] upgrade to 3.18 (#12612)
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-19 17:18:39 -07:00
xyb
27a2418e91
[vcpkg] CMAKE_SYSTEM_PROCESSOR is missing if VCPKG_TARGET_ARCHITECTURE is arm or arm64. (#13465)
This change tries to fix issue #13395.

Root cause:
In script mode, cmake won't populate CMAKE_SYSTEM_PROCESSOR parameter automatically. That parameter is
required by libpng to configure build parameters. To fix this issue, we need explicitly set CMAKE_SYSTEM_PROCESSOR
value.

Verify:
On arm64-linux host, run `./vcpkg install tesseract:arm64-linux`.
2020-10-17 02:12:49 -07:00
Jack·Boos·Yu
b69056ba92
[vcpkg_common_definitions] Add macro VCPKG_HOST_IS_<target> (#13730)
* [vcpkg_common_definitions] Add macro VCPKG_HOST_IS_<target>

* Update scripts/cmake/vcpkg_common_definitions.cmake
2020-10-17 02:10:48 -07:00
Alexander Neumann
aa0ffba768
[qt5] Update to 5.15.1 (#13477)
* update everything. Let ci test if just updating is enough

* fix some minor version details.

* remove upstream patch

* add zstdd patch and do not remove zlib since it is required for bootstrapping

* add mqtt hash

* webengine hash

* add fixup pkgconfig to assimp

* add assimp to qt-3d (still requires zlib fix)

* setup pkg-config for qt

* fix psql detection in configure

* fix build details

* fix assimp library nameing

* -rpath option is not available for static builds

* move config log somewhere where CI can catch it.

* move logs only if they exists

* append bzip2 qt-3d

* break qt3d again to get logs

* retry qt3d

* remove qt-3d failure. everything ok now

* add assistent patch for qt5-tools not building qthelp

* remove unnecessary qt5-webengine patches

* Remove PSQL_TYPES

* [qt5-3d] remove irrxml as a assimp dep

* remove unnecessary patch

* fix qt-3d on windows

* fix qt5-3d linux

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-10-17 02:10:11 -07:00
Akihisa Yagi
9f2bb70914
[antlr4] update to 4.8 (#14036)
* [antlr4] update to 4.8

* [antlr4] Add supports

* [antlr4] Regenerate patch files

* [antlr4] Remove spaces from patch files

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-10-17 02:01:36 -07:00
Alexander Neumann
f919a1bf2b
[vcpkg/cmake] add LOGNAME option (#14002)
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2020-10-15 11:01:00 -07:00
Billy O'Neal
bfe983d721
[chakracore,gamma,libopenmpt,portaudio,usrsctp] Fix baseline for 2020-10-14 (#14054)
* [portaudio] Remove from baseline, fix CRT linkage and mark UWP as unsupported.

portaudio was fixed by 654adc64b3

* [chakracore] Remove passing case from baseline and add Supports.

PASSING, REMOVE FROM FAIL LIST: chakracore:arm64-windows (.\scripts\ci.baseline.txt)

* [gamma] Remove from baseline.

PASSING, REMOVE FROM FAIL LIST: gamma:x64-linux (.\scripts\ci.baseline.txt)

This was blocked by portaudio before.

* [usrsctp] Remove baseline

PASSING, REMOVE FROM FAIL LIST: usrsctp:arm-uwp (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: usrsctp:x64-uwp (.\scripts\ci.baseline.txt)

Probably fixed by 16b68c2f35

* [libopenmpt] Fix build on recent msvc by backporting deaf2e3837fb08b1a53fd21bb53adbafe0a84e7d

deaf2e3837

* [chakracore] Also needs dynamic universe.
2020-10-14 17:38:40 -07:00
Alexander Neumann
ecdd15e8e4
[vcpkg/configure_make] add option DETERMINE_BUILD_TRIPLET (#14001)
* [vcpkg/configure_make] add option DETERMINE_BUILD_TRIPLET

* add missing option to cmake_parse_arguments

* add missing USE_WRAPPERS option
2020-10-14 10:21:11 -07:00
Alex Reinking
7e3d3beac5
[halide] Update to version 10.0.0 (#13860)
* fix LLVM target-all feature

* [halide] bump Halide to version 10.0.0

* Use empty package policy to allow plugins to be located in lib.

This is following the recommendations in a conversation I had
with Robert Schumacher on the #vcpkg CppLang Slack channel.
This recommendation was derived from the fact that "cmake
defaults module DLLs into the lib folder, which makes vcpkg's
current policy very inconvenient for authors" and that I do not
plan to enable build systems other than CMake.

* [halide] skip x86-windows due to MSVC bug

* [halide] restore x64-windows-static fail status

* add usage file to Halide

* Update CONTROL version

* Remove '!emscripten` from ports/halide/CONTROL

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

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-10-13 17:54:46 -07:00
Sander Cox
0a41fb2dfa
[vcpkg] VCPKG_APPINSTALL_DEPS install dependencies on install #1653 (#13011)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-13 14:40:16 -07:00
winsoft666
ea3c975edb
[akali] Update to v1.42 (#14005)
* teemo

* 1. move header files to teemo folder.
2. add Cancel Event.
3. create directories automatically.

* update teemo to v2.1

* update teemo code ref

* remvoe cpprestsdk dependency

* Update to v1.42

* [akali] Add supports and update ci.baseline.txt

* Update portfile.cmake

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-10-13 13:18:33 -07:00
Alexander Neumann
e14917f04b
[vcpkg/configure_make] add USE_WRAPPERS option (#14000)
* [vcpkg/configure_make] add USE_WRAPPERS option

* Move env setting for wrapper to correct spot
2020-10-13 11:06:31 -07:00
Alexander Neumann
180ec7eb93
[vcpkg/manifest/toolchain] Add install/bootstrap options & fix CACHE variables usage (#13713)
* [vcpkg/toolchain] add bootstrap and install options

* fix usage of cache variables
2020-10-12 15:09:20 -07:00
Long Huan
9bf57ae5d6
[qca]support linux-osx-static build (#13964)
* support linux, osx, static build

* fix install bug

* set OSX_FRAMEWORK=OFF fix osx install failed bug

* Update ports/qca/portfile.cmake

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

* Update ports/qca/portfile.cmake

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

* Update ports/qca/portfile.cmake

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

* Update ports/qca/portfile.cmake

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

* Update ports/qca/portfile.cmake

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

* change install copyright

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-10-12 12:11:09 -07:00
Phoebe
7e495c0773
[fastcdr/jack2/fcl/ensmallen/hwloc] Update to latest release (#13559) 2020-10-08 23:31:35 -07:00
NancyLi1013
63cc8c0d8a
[log4cplus/muparser/nmslib] Update to the latest version (#13585)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-08 22:59:51 -07:00
NancyLi1013
7bb217d989
[7zip] Add supports field (#13821) 2020-10-08 12:30:58 -07:00
Billy O'Neal
ab86954093
Always accept = or space as delimiters when parsing common command line parameters. (#13857)
Resolves #11456.
2020-10-07 10:31:42 -07:00
NancyLi1013
690215da95
[libwebsockets] Update to the latest version (#13803) 2020-10-07 01:33:46 -07:00
Stephen Webb
41ec19fa8a
[log4cxx] Upgrade to 0.11.0 (#13767)
* [log4cxx] Upgrade to newly released 0.11.0

* [log4cxx] 0.11.0 should build everywhere except uwp

* Changes suggested by @ras0219

* Prevent WIN32 libraries being used on linux

* Prevent WIN32 libraries being used on linux

* Prevent WIN32 libraries being used on linux

* Update ports/log4cxx/portfile.cmake

Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-10-06 15:00:58 -07:00
ras0219
d8a4e63690
[vcpkg] Avoid computing triplet ABIs for editable packages (#13446)
* [vcpkg] Avoid computing triplet ABIs for editable packages

* [vcpkg] Address PR comments

* [vcpkg-end-to-end-tests] Add tests for --no-binarycaching, binarycaching by default, and --editable

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-06 14:34:59 -07:00
Alexander Neumann
587dc2ed88
[vcpkg] run both cxx and c compiler id. (#13903)
otherwise my custom llvm toolchain file fails.
2020-10-06 12:05:09 -07:00
nicole mazzuca
decc96c149
[vcpkg macos ci] modify README slightly (#13829)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-06 11:10:41 -07:00
Billy O'Neal
c80b778c5b
[tinyutf8] Reeenable in CI. (#13858)
This port is "passing, remove from fail list" in our most recent CI: https://dev.azure.com/vcpkg/public/_build/results?buildId=43574&view=results
2020-10-06 09:43:27 -07:00
Phoebe
b0e1458105
[mbedtls] Add supports (#13810) 2020-10-06 09:24:00 -07:00
Robert Schumacher
76a7e9248f
[vcpkg_acquire_msys] Use Mirrors (#13889) 2020-10-05 17:39:47 -07:00
Alexander Neumann
c902748897
[vcpkg/manifest] write manifest install logs into the build dir. (#13711) 2020-10-02 17:05:28 -07:00
ras0219
988538e06b
[libqcow] Skip in all triplets because the upstream GitHub purges old archives (#13830)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-02 16:46:44 -07:00
ankurverma85
acd2f59e93
[osgearth] update to latest to fix build issue with latest geos (#13385)
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-10-01 21:32:32 -07:00
nicole mazzuca
397d3d7188
[vcpkg osx ci] update 2020-09-28 (#13799)
* [vcpkg osx ci] update to newer bits

these ones should actually work!

* update vagrantfile

* correct scripts, reformat, add docs

* Finish Get-InternalBaseBox, move archives

In order to avoid people maliciously deleting the boxes,
the archives share and file share are in different users now.

* baseline libqcow to be fixed later

* actually check for the mount point

* fix Install-Prerequisites again

* add +x to Get-InternalBaseBox.ps1

additionally, fix some errors
2020-09-29 16:49:49 -07:00
Billy O'Neal
4dc9ecd32b
Add MSVC-internal testing scripts to public GitHub. (#13748) 2020-09-28 13:54:10 -07:00
NancyLi1013
f25ffef6bf
[vcpkg baseline] Skip libvmdk (#13775)
* [vcpkg baseline] Skip libvmdk

* Add comments to ci.baseline.txt
2020-09-28 11:15:07 -07:00
Francois Rivard
741c8cbecd
[vcpkg] Add compiler info to nuspec description (#13571)
* Add compiler info to nuspec description

* Run clang-format on some files

* Fix the unit tests

* [vcpkg] Clarify NuGet description to note 'CXX compiler'

* [vcpkg] Fix tests

Co-authored-by: frivard <frivard@coveo.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-09-27 18:18:27 -07:00
Cengizhan Pasaoglu
8fcd02ddc1
[vcpkg-bootstrap] Update the latest g++-10 version for build if exists (#13644) 2020-09-27 17:53:24 -07:00
Jack·Boos·Yu
870d2cd3b1
[libidn2] Support UNIX (#13708)
* [libidn2] Support UNIX

* update baseline

* Add supports
2020-09-27 17:49:45 -07:00
Jack·Boos·Yu
6d6c664236
[vcpkg_build_cmake] Set PARALLEL_ARG when using Ninja (#13732)
* [vcpkg_build_cmake] Set PARALLEL_ARG when using Ninja

* Update scripts/cmake/vcpkg_build_cmake.cmake
2020-09-26 05:17:05 -07:00
ras0219
501e44e02c
[qt5-location] Rename vendored libs to avoid conflicts (#13451)
* [qt5-location] Rename vendored libs to avoid conflicts

* [qt5-location] Use upstream patch

* [qt5-location] Replace / in patch url with %2F

* Update ports/qt5-location/CONTROL

* [assimp][irrxml] Remove outdated version of irrxml; redirect assimp at newer irrlicht

* [assimp] Apply skipped patch irrlicht.patch

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-09-26 05:10:38 -07:00
Robert Schumacher
57b37381c3
[vcpkg] Fix Windows pipeline's outdated Ninja reference (#13722) 2020-09-25 12:58:58 -07:00
nicole mazzuca
4cbbcbddfd
[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines (#13619)
* [vcpkg ci:osx] Remove brew install

* add instructions for creating a new vagrant box

* fix the vagrant scripts for the new box

* finish fixing the setup

* [mecab jxrlib] fix ports for CI

mecab needed to use an actual ref that wasn't master,
and jxrlib needed a patch for xcode 12 CLTs.

Additionally, this fixes the mecab version to be a date, the date of the last commit,
since `1.0` is not the correct version (mecab doesn't have released versions)

* [many ports] fix compile with Xcode 12 CLTs

This mostly means fixing errors on implicit-function-declaration,
and removing some Werrors
* alac-decoder
* apr
* argtable2
* arrow
* hyperscan
* mcpp
* minizip
* mosquitto
* stormlib

* [many ports] even more Xcode 12 CLT fixes

* [jxrlib darknet] fix the last ports! (hopefully)

* CRs, plus minor wip changes to osx scripts
2020-09-24 15:15:06 -07:00
Alexander Neumann
2b02b97a2e
[x264] Fix x64-windows-static (#13450)
* try fixing x264

* fix remaining issues

* Remove unnecessary COPY_SOURCE
2020-09-24 12:37:17 -07:00
Andrei Lebedev
8d4fd6df85
[vcpkg, libpq] separate static and shared library installations (#13491)
* [vcpkg] add missing Makefile flag for install step

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* [libpq] add custom Makefile to install only required targets

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-09-24 12:29:13 -07:00
Alek
9b1c8a776b
[scintilla] Update to 4.4.5 (#13665)
* Add static linking to Scintilla

* Add Port-Version to CONTROL

* Split library linkage from crt linkage

* Update CI baseline

* [scintilla] Update to 4.4.5

* Remove vcpkg_copy_pdbs()

* [scintilla] Add supports

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-09-24 12:24:44 -07:00
Farwaykorse
802c9c6aec
[Ninja] update to 1.10.1 (#13562)
* [Ninja] update to 1.10.1

* [Ninja] update to 1.10.1 (find_acquire_program)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-09-24 12:15:54 -07:00
JonLiu1993
1095c177a9
[mimalloc] Update to 1.6.4 (#13629)
* [mimalloc] Update to 1.6.4

* deletecibaseline
2020-09-22 16:38:03 -07:00
Alek
9a7b70b1a2
[scintilla] Add static linking to Scintilla (#13529)
* Add static linking to Scintilla

* Add Port-Version to CONTROL

* Split library linkage from crt linkage

* Update CI baseline

* Remove vcpkg_copy_pdbs()
2020-09-22 16:28:25 -07:00
NancyLi1013
7339aea6f5
[Many ports] Update to the latest version or commit (#13560)
* [Many ports] Update to the latest version or commit

* [libplist] Update version
[libsync] Update patch format

* Update as review suggestions

* [libplist] Revert changes
2020-09-22 15:36:04 -07:00
Billy O'Neal
0890b5a25f
[vcpkg] Add build scripts to produce signed vcpkg binaries. (#13508) 2020-09-21 17:27:35 -07:00
nicole mazzuca
4902a7be1d
[vcpkg manifest-mode] Fix parallel msbuild failures (#13589)
This changes the vcpkg msbuild targets file to wait for the lock, rather than failing immediately
2020-09-18 17:01:18 -07:00
Wolfgang Stöggl
193a512fe3
[tool-meson] Update to 0.55.3 (#13497) 2020-09-14 15:49:35 -07:00
nicole mazzuca
0fec1340eb
[vcpkg manifest] Add documentation! (#13488)
* [vcpkg docs] add docs for manifest files

These are just for the maintainer docs,
not user docs.

* [vcpkg] EBNF-ify platform expression parsing

this modifies nothing about what strings are accepted or rejected,
it just moves stuff around.

also adds tests.

* [vcpkg docs] add manifest mode example

* [wip] docs for augustin

also fix tabs

* [vcpkg manifest] switch to using maps for features

* Apply suggestions from code review

* un-experimentize format-manifest

* flesh out the user manifest mode docs

* CRs

* billy CRs

* final personal pass-thru
2020-09-14 15:07:02 -07:00
Billy O'Neal
6b97dbfce2
[vcpkg] Merge the vcpkg metadata uploader into the vcpkg binary (#13421) 2020-09-11 13:52:18 -07:00
Alexander Neumann
59115f6e3a
[vcpkg|toolchain] add VCPKG_OVERLAY_(PORTS|TRIPLETS) to the toolchain (#13240)
* add VCPKG_OVERLAY_(PORTS|TRIPLETS) to the toolchain

* move everything into additional manifest params

* fix me not thinking
2020-09-11 10:57:47 -07:00
Jack·Boos·Yu
7946a1d71e
[tmx] Fix build failure (#13401) 2020-09-09 12:33:57 -07:00
Andrei Lebedev
645f316824
[vcpkg] improve s390x support (#13386)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-09-09 12:28:38 -07:00
jgehw
8b7e946c55
[execute_process] Don't strip embedded semicolons (#12926) 2020-09-09 10:36:58 -07:00
Phoebe
bff4dd9c94
[boost] Remove invalid identifier !v120 (#13387) 2020-09-07 16:51:02 -07:00
Billy O'Neal
46a129decb
[xtensor-io] [taskflow] [tcl] [sophus] Fix CI 2020-09-06 (#13382)
* [xtensor-io] Disable undeclared HighFive detection which is currently broken.

HIGHFIVE 2.2.2: (Re)Detecting Highfive dependencies (HIGHFIVE_USE_INSTALL_DEPS=NO)
CMake Error: install(EXPORT "xtensor-io-targets" ...) includes target "xtensor-io" which requires target "libdeps" that is not in any export set.
CMake Error in CMakeLists.txt:
  export called with target "xtensor-io" which requires target "libdeps" that
  is not in any export set.

* [tcl] [taskflow] Mark passing in CI.
2020-09-07 14:14:47 -07:00
Martin Vejdarski
f7cd54fcd4
[chromium-base] Add new port (#12396)
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Huahua <ihuahua@live.com>
2020-09-05 19:50:30 -07:00
xyb
fdac1fc5aa
Add community triple arm64-linux and arm-linux. (#11880)
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3.

    ./bootstrap-vcpkg.sh
    ./vcpkg install boost
2020-09-05 10:45:48 -07:00
Jack·Boos·Yu
9ae0b0dc74
[powershell] Update to 7.0.3 (#13267) 2020-09-05 07:13:28 -07:00
Manuel Kugelmann
799e0d9cce
Fix [boost] MSVC 2013 v120 Build (#10645) 2020-09-04 23:35:38 -07:00
ras0219
bb61fc1662
[blaze][ceres][clapack][geogram][lapack][lapack-reference][opencv4][selene] Fix deps issues (#13229)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-09-04 18:59:21 -07:00
General Jack O'Neill
a3142da3ac
[vcpkg_acquire_msys.cmake] Add gettext tool (#13297)
1. Added dependencies to gettext-0.19.8.1-1-x86_64.pkg.tar.xz
    of libintl libgettextpo libasprintf
 2. Added dependency download for libgettextpo-0.19.8.1-1-x86_64.pkg.tar.xz
 3. Added dependency download for libasprintf-0.19.8.1-1-x86_64.pkg.tar.xz
 4. Put downloads in reverse dependcy order - seems it is called
    topological order now
2020-09-04 07:11:45 -07:00
Paul
6c7f2d95d8
11129: Add VCPKG_LINKER_FLAGS_<CONFIG>. (#11290)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-09-03 11:00:35 -07:00
Phoebe
e7dc93f202
[many ports] Add supports (#12857)
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-09-03 10:59:31 -07:00
nicole mazzuca
619b294700
[vcpkg.cmake] error out if the mode has changed (#13313) 2020-09-03 09:58:15 -07:00
Albert Ziegenhagel
ced9dfb8e2
[hypre] Update to 2.19.0 (#13252)
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-09-02 10:41:34 -07:00
Jack·Boos·Yu
f4a2dce829
[vcpkg baseline][rest-rpc] Skip check in baseline (#13295) 2020-09-02 09:12:41 -07:00
ras0219
46e25a10d7
[vcpkg] Replace uses of msys pacman.exe with direct package downloads (#13019)
* wip

Apply suggestions from code review

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

* [vcpkg_acquire_msys] Trim list of packages. Introduce defaults.

* [behaviortree-cpp] Fix dynamic dependency on ZMQ

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-31 22:36:25 -07:00
ras0219
cdd4a988fd
[vcpkg_configure_cmake] Pass CMAKE_DISABLE_SOURCE_CHANGES to all ports by default (#12846)
* [vcpkg] Pass CMAKE_DISABLE_SOURCE_CHANGES to all ports by default

* [docs] Regenerate

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-31 22:35:52 -07:00
Adam Johnson
adc1719f0e
[libhsplasma] Add new port (#13174)
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-31 17:56:42 -07:00
NancyLi1013
913c7f91ce
[clapack, lapack-reference] Add conflict messages (#13200)
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-31 17:12:01 -07:00
Rodrigo Hernandez Cordoba
5cb765aebe
[v8] Add v8 Javascript engine port (#372). (#12687) 2020-08-28 15:02:08 -07:00
NancyLi1013
1f1a680672
[cspice] Add 64bit packages (#12903) 2020-08-27 22:15:26 -07:00
Stefano Sinigardi
0a506f7c5e
[OpenMVG/OpenMVS] fix tools (#12229) 2020-08-27 22:13:05 -07:00
Jack·Boos·Yu
68003004c0
[vcpkg_from_sourceforge] Skip mirrors that are in 'disaster recovery' mode (#13176) 2020-08-27 22:00:24 -07:00
jgehw
c278ca585e
[vcpkg] Disable timeout (default 10s) in vcpkg_acquire_msys (#13086) 2020-08-27 19:28:20 -07:00
Billy O'Neal
8054263f15
[skia, ompl, capnproto] Update VMs for 2020-08-12 (including VS 16.7) (#12884)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-27 12:27:39 -07:00
Jack·Boos·Yu
99212d675f
[clapack] Ignore check of lapack:x64-osx in the baseline (#13148) 2020-08-26 19:29:38 -07:00
Billy O'Neal
4a08a10f04
Allow use of VS LLVM clang-format. (#13142) 2020-08-26 11:47:39 -07:00
ras0219
4abea84d56
[vcpkg_find_acquire_program] Cleanup and add CI testing (#12982) 2020-08-25 18:41:56 -07:00
Jack·Boos·Yu
582e30d142
[VMSS] Fix the printed error message (#13107)
* check error message

* Remove https://

* Revert test changes
2020-08-25 15:07:38 -07:00
Billy O'Neal
05635bdf78
Disable fluidlite in CI. (#13125)
* Disable fluidlite in CI.

Fluidlite, added 3 days ago in https://github.com/microsoft/vcpkg/pull/13006 , tries to install the same files as fluidsynth; it's similar to the 'boringssl' situation. Given that fluidlite doens't have any dependencies, this change disables that one rather than fluidsynth,

* Add warning message.
2020-08-25 14:41:41 -07:00
Daniel
42a90d3c14
Fix MSYS2 keyring not verifying on path with spaces (#13104) 2020-08-24 21:03:24 -07:00
jgehw
02bfa2961a
fix vcpkg_configure_cmake for case when having semicolons in OPTIONS (#12977) 2020-08-24 12:32:34 -07:00
JonLiu1993
9816985c3d
[Box2d] Update to 2.4.0 (#13058) 2020-08-24 11:19:26 -07:00
Michał Janiszewski
723a5c2199
[vcpkg] Use https sources for common tools (#12738) 2020-08-24 10:50:30 -07:00
Billy O'Neal
4e65ce52ab
Sort file lists and failure logs together. (#13067) 2020-08-22 22:23:59 -07:00
ras0219
e96e74f08b
[vcpkg] Hotfix regression in #12523 (#13092)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-08-22 22:12:51 -07:00
Hannes Steffenhagen
299f581dc3
[vcpkg] Do not use raw paths inside regexes (#12964)
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-08-22 02:23:56 -07:00
nicole mazzuca
b919cf7f7c
[vcpkg.cmake] check for vcpkg.json only in ${CMAKE_SOURCE_DIR} (#12523) 2020-08-22 02:04:16 -07:00
fquinner
fc7bab58e2
[openmama] Feature use cmake for openmama (#13034) 2020-08-21 15:42:42 -07:00
Stephen Kyne
0d2c77cdb7
[portmidi] Updated portmidi package to use alternative code source (#12046)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-21 09:44:38 -07:00
Jack·Boos·Yu
ec4e0c3934
[openmpi/vcpkg_build_make] Disable parallel build (#12975) 2020-08-19 21:15:24 -07:00
NancyLi1013
2f9d4a1785
[fluidsynth/redis-plus-plus] Update to the latest released version (#12974) 2020-08-19 19:45:55 -07:00
NancyLi1013
2b55727614
[vcpkg] Fix baseline (#13000)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-19 14:41:03 -07:00
Jack·Boos·Yu
4a3d9e22d1
[vcpkg_execute_build_process] Re-fix qt5 components build (#12864) 2020-08-18 16:49:14 -07:00
Matthew Oliver
272269583c
[ffmpeg] Add feature support for zlib, iconv, fdk-aac, mp3lame, opus, soxr, theora. (#11277)
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-08-18 12:58:14 -07:00
ras0219
bc88079632
[vcpkg_find_acquire_program] Enable find_acquire(PKGCONFIG) (#12626)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2020-08-18 12:16:39 -07:00
NancyLi1013
d6285bc24b
[expat] Update the version to 2.2.9 (add support for uwp) (#9146)
* [expat] Update the version to 2.2.9(support uwp)

* [readosm] Fix expat.lib cannot be found

* Remove expat:arm-uwp and expat:x64-uwp from fail list in ci.baseline.txt

* [apr-util,io2d,skia] Fix expat cannot be found and also update expat

* [many ports] Add supports and fix the regressions

* Fix new regressions

* Fix typo

* [io2d] Update expat patch

* [io2d,libkml,skia] Fix expat cannot find and also fix typo

* [expat] Remove usage

* [libkml,vtk] Update expat patch and fix static build

* [wxwidgets] Fix static build caused by expat cannot found

* Update as review suggestion

* Add Port-Version

* Remove evpp:x64-osx=fail from ci.baseline.txt

* [wxwidgest] Remove unnecessary spaces

* [itk] Fix expat cannot be found

* fix cmake test port

* [wxwidgets] Update Port-Version

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-17 08:33:44 -07:00
Alexander Neumann
f0dbdbaa65
[meson] Update meson to 0.55.1 (#12927)
* [vcpkg_find_acquire_program] add version check for ninja

* Change VERSION to NINJA_VERSION

* Missed VERSION change

* some more corrections

* add missing PACKAGES parameter

* add osx hash

Co-authored-by: Wolfgang Stöggl <c72578@yahoo.de>

* [meson] update to 0.55.1

* fix command

* Remove apt/brew package names

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

* move supported around and disable it for freebsd

* fix small command hickup which does not matter for ninja

Co-authored-by: Wolfgang Stöggl <c72578@yahoo.de>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-17 07:25:05 -07:00
Alexander Neumann
8800ba999a
[vcpkg_find_acquire_program] add version check for ninja (#12895)
* [vcpkg_find_acquire_program] add version check for ninja

* Change VERSION to NINJA_VERSION

* Missed VERSION change

* some more corrections

* add missing PACKAGES parameter

* add osx hash

Co-authored-by: Wolfgang Stöggl <c72578@yahoo.de>

* Remove apt/brew package names

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

* move supported around and disable it for freebsd

* fix small command hickup which does not matter for ninja

Co-authored-by: Wolfgang Stöggl <c72578@yahoo.de>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-16 12:07:17 -07:00
Phoebe
ae898b2c94
[msys] Improve vcpkg_acquire_msys (#12866) 2020-08-14 09:57:00 -07:00
Christopher Di Bella
e1a0367273
[constexpr-contracts] Adds new port (#12818)
* adds constexpr-contracts to vcpkg

* Update ports/constexpr-contracts/CONTROL

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

* Apply suggestions from code review

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

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

* [farmhash] add autoconf

* [freexl] add autoconf

* [healpix] add autoconf

* [libb2] add autoconf

* [libwandio] add autoconf and patch

* more autoconf

* [x264] fix windows build issues

* minimal cleanup

* [libwandio] some fixes

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

* remove unnecessary comments part 1

* cleanup part 2

* cleanup

* remove unnecessary code

* [pbc] fix osx regressions

* [lzokay] format manifest

* try to copy sources to fix build issues

* add autoconfig to force updated configure scripts

* bump port versions of openmpi and ocilib

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

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

* Apply suggestions from code review

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

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

* fix wrong variables.

* use the list macro instead of the single var macro

* also use it at the top

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-08-13 13:32:55 -07:00
Alexander Neumann
f3b96f339c
[lapack-reference|fortran] Add new port (#12805)
* [vcpkg/script] add vcpkg_find_fortran

* [openblas] add pkg-config fixes

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

* fix build issues

* dont touch any main files

* move toolchain var into parent scope

* fix a few more issues

* create link in the noblas case

* removed unnecessary check handled by vcpkg_find_fortran.

* move dumpbin check

* fix last issue

* depend on openblas

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

* more paths

* add missing PARENT_SCOPE

* ws change

* [mlpack] remove dep on clapack

* comment out patches

* remove openblas again

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

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

* depend on openblas also on osx

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

* add clapack to skip on linux

* add -fPIC as a fortran compiler flag

* do not add the flag on windows

* add gcc explicitly to the cmake args.

* ws change

* applyrequested changes from CR

* fix the failing patch
2020-08-12 10:28:41 -07:00
Jack·Boos·Yu
634c1043b0
[vcpkg_copy_tool_dependencies] Use vcpkg internal powershell (#12776)
* Use vcpkg internal powershell

* [protobuf] change vcpkg_copy_tool_dependencies to vcpkg_copy_tools
2020-08-10 15:40:21 -07:00
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
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
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
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
ζ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
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
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
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
Lily
5a9c8fb3b8
[log4cpp] Fix header file install path (#12792) 2020-08-07 11:08:31 -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
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
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
Marek Roszko
e3031264b9
[ngspice] Initial port (#12695)
* Add ngspice port

Add the msvc specific include folder to be copied as well

Fix 32-bit builds

Use install_msbuild
Remove fftw

Fix 32-bit build again

Update ci baseline and check linkage for dll only

Use spaces consistently

More clean

Update ports/ngspice/CONTROL

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

Update ports/ngspice/portfile.cmake

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

Update ports/ngspice/portfile.cmake

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

Update ports/ngspice/portfile.cmake

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

Update scripts/ci.baseline.txt

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

remove uwp support

Update ports/ngspice/CONTROL

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

* Update ports/ngspice/portfile.cmake

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

* Use the suggest supports

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-05 13:56:27 -07:00
Alexander Neumann
0330d10c8d
[vcpkg/ci] remove qt translations from skip list (#12699) 2020-08-05 13:54:15 -07:00
Alexander Neumann
8a1f3cc588
[vcpkg-ci-paraview] move into scripts/test_ports (#12701) 2020-08-05 13:53:47 -07:00
Deadpikle
7b054d8d34
[vcpkg scripts] Add VCPKG_TARGET_IS_IOS (#12715) 2020-08-05 13:04:35 -07:00
Deadpikle
2ade39048c
[vcpkg] Fix prettify output not working in some cases (#12717)
If you changed VCPKG_TARGET_ARCHITECTURE to use x86_64, the prettify command failed to parse things properly. This was found during the changes made for #12657 and was completed by @strega-nil (thanks!).
2020-08-05 13:03:34 -07:00
Phoebe
6659efca6a
[msbuild] Revert the importance to Normal (#12727) 2020-08-05 13:03:02 -07:00
Phoebe
a7cf0bc0e3
[wavpack] Fix failure on linux and osx (#12742) 2020-08-05 12:57:16 -07:00
Alexander Neumann
8e76503a76
[ITK] Update to 5.1 (#11208)
* [vtk-m] new port vtk-m

* [VTK] Update to 9.0

* include local buildtree changes

* [pcl] disable VTK due to API changes in VTK 9.0

* [vtk-m] add supports field to be only x64

* [vtk-dicom] add python executable.

* fix vtkm dependency

* [vtk-dicom] fix missing std:: namespace

* [vtk-m] add uwp to unsupported triplets

* [vtk] add pegtl include patch, reenable IOMotionFX

* remove hdf5 changes for testing

* use different pgetl patch which redirects to the installed config of pegtl

* [pegtl-2] version file needs renaming too

* [vtk] change dependency to pgetl-2 and fix the patch

* [vtk] put in hdf5 fix again and correct manually installed include files

* remove deprecated function to retrigger CI

* [lz4] correctly lowercase the lz4 config

* [vtk] remove unnecessary code

* [pegtl-2] add homepage

* [pegtl] modernize portfiles

* [vtk-dicom] add homepage

* [vtk-dicom] modernize portfile

* [vtk-m] remove empty build depends

* [vtk] try fixing the permission issue

* [vtk] minimal dependency correction

* [itk] update

* fix portfile errors

* WIP commit

* should make ITK green in VCPKG CI but there a still issues with features

* more dependencies and features....

* remove itk from baseline failure so the check can get green

* more dependency updating.

* minor build fixes

* [openjpeg] Fix dll location

* fix other issues

* add rtkcuda

* [openjpeg] remove default features to make arm and uwp platforms happy

* [itk] more dependency fixes

* [openjpeg] fix no tools case

* [itk] fix wip patch

* [itk] split up patches & cleanup & and move rtk tools if build

* [itk] fix patch and remove old and wip patch

* [nifticlib] Add new port required by minc

* [nifticlib] change repo and add features

* [nifticilib] add zlib dependency & cleanup

* [minc] add new port

* [vcpkg/scripts] add swig to find acquire programm

* [itk/minc] update for external minc

* add supports field for nifticlib

* [itk] make python a default feature for testing

* [itk] cleanup python vars a bit
[vcpkg/scripts] correct swig hash

* [vcpkg/scripts] fix swig

* [itk] fix python include path on unix system

* [itk] remove python as a default. A bit of feature cleanup

* [itk] update remote RTK

* [itk|rtk] remove RTK module before configure to allow patching

* [opencl] update opencl wrapper

* [itk] fix opencl static linkage

* [itk] add cufftw fix

* update baseline

* [itk] fix itk[tbb]

* [itk] update python paths to 3.8

* [itk] add failure messages for unsupported architectures for some features

* [vcpkg_find_acquire_program] update swig to 4.0.2

* Update portfile.cmake

* [itk] move the module removal out of the if for people reusing the old source tree

* [itk] add missing auto_clean to vcpkg_copy_tools

* Update ports/nifticlib/CONTROL

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

* Update ports/openjpeg/portfile.cmake

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

* Update scripts/cmake/vcpkg_find_acquire_program.cmake

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

* [openjpeg] pass OPTIONS to vcpkg_configure_cmake

* [itk] fix typo and leave a todo.

* use sourceforge args for swig

* Update ports/openjpeg/CONTROL

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

* Update ports/opencl/CONTROL

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

* [itk] remove debug msgs from patch

* pre-install yasm on OSX

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-02 15:49:20 -07:00
nicole mazzuca
1c2af99415
[vcpkg format-manifest] Add convert-control flag (#12471)
* [vcpkg format-manifest] initial convert-control attempt

TODO: manifest comments! we should keep $directives

* Finalize x-format-manifest

First, fix Json::parse -- "\c", for any c, was incorrectly parsed.
It would emit the escaped character, and then parse the character, so
that `\b` would give you { '\b', 'b' }.

Second, canonicalize source paragraphs as we're parsing them. This found
an error in qt5 -- The `declarative` feature was listed twice, and we
now catch it, so I removed the second paragraph.

Add PlatformExpression::complexity to allow ordering platform
expressions in a somewhat reasonable way.

Notes:
  - We allow `all_modules` as a feature name for back-compat with
    paraview
  - In order to actually convert CONTROL to vcpkg.json, we'd need to
    rename the qt5 `default` feature.
  - We need to add support for $directives in x-format-manifest

* fix qt5 port

* format

* fix compile

* fix tests for canonicalization

* Clean up code

* add error message for nothing to format

* add extra_info field

* add `const X&` overloads for `Object::insert[_or_replace]`

* fix compile

* simple CRs

* add tests

* format

* Fix mosquitto port file

also unmerge a line

* fail the tests on malformed manifest

* fix format_all

* fix coroutine port-version

* format manifests
2020-08-02 10:08:07 -07:00
nicole mazzuca
d6565e146c
[vcpkg manifest] add feature support (#12549) 2020-08-01 16:45:00 -07:00
Manuel Kugelmann
0e08105aa9
[vcpkg] Fix [boost] find_package for MSVC2013 / v120 (#10670)
* Fix [boost] find_package for MSVC2013 / v120

added conditional set(Boost_COMPILER "-vc120") to vcpkg.cmake

* fixed spacing

* fixed spaces
2020-08-01 15:02:50 -07:00
Kevin Lu
5512eafd80
[mpg123] Allow cross-compiling, fix previous builds tainting rebuilds (#11535)
* [mpg123] Allow cross-compiling, fix previous builds tainting rebuilds

* [mpg123] Rewrite to use vcpkg_configure_make

* Update ports/mpg123/portfile.cmake

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

* [mpg123] Use vcpkg_execute_required_process

* [mpg123] Bump CONTROL version

* [mpg123] Remove unneeded legacy lines and strip out trailing newline from dumpmachine

* pre-install yasm on OSX.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-01 13:56:56 -07:00
alexander-smyslov
021db935f6
[avro-cpp] new port (#11376)
* Add files via upload

* [new port] avro-cpp

* add boost-format

* remove comments

* remove comments

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* fix remarks

* fix remarks

* fix remarks

* Update ports/avro-cpp/portfile.cmake

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

* Update ports/avro-cpp/portfile.cmake

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

* add linux support

* back osx restriction

* Update ports/avro-cpp/portfile.cmake

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

* fix remarks

* Update ports/avro-cpp/CONTROL

* Update ports/avro-cpp/portfile.cmake

* add osx support

* Update portfile.cmake

* Update CONTROL

* Update scripts/ci.baseline.txt

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

* fix

* disable all static build

* fix remarks

* fix remarks

* Update ports/avro-cpp/portfile.cmake

Remove whitespace

Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 13:55:50 -07:00
Alexander Neumann
f7dcd675d0
[qt-webengine] Fix building with vs2017 (#12494)
* [qt5-webengine] fix vs2017 builds. closes #12477

* remove skip from ci baseline to test changes.

* add src/3rdparty/ subdir to patch

* put webengine back to skip. patch was succesfully applied
2020-08-01 13:48:12 -07:00
Silvio Traversaro
00e44369cb
[tomlplusplus] Add new port (#10786)
* vcpkg_fixup_cmake_targets: Add support for processing cmake config files generated by meson

In particular this adds a workaround for the differences between CMake and meson
described in https://github.com/mesonbuild/meson/issues/6955

* Add tomlplusplus

* Resolve conflicts

* Update scripts/ci.baseline.txt

* [tomplusplus] Update ci.basline.txt

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2020-07-31 16:49:53 -07:00
Alexander Neumann
5c66f720c0
[cmake] Add cmake port to test qt (#10770)
* [cmake] add port for qt testing

* only add cmcldeps on windows

* [cmake] cleanup and fix portfile for osx build

* [cmake] more cleanup

* move cmake to scripts/test_ports

* add the overlay scripts/test_ports to ci
2020-07-31 16:48:52 -07:00
nicole mazzuca
f0ae3efbb4
[vcpkg-ci] fix macos setup scripts (#12639)
* [vcpkg-ci] fix macos setup scripts

* the disk feature is still experimental

* fix Get-InstalledVirtualBoxExtensionPacks

* use new bash install script for brew

instead of old-style ruby
2020-07-31 11:52:24 -07:00
Todor Prokopov
e2cdd07866
[vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW (#12104)
* [vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW

* [akali] Bump version to test vcpkg_fixup_cmake_targets changes

* Update ports/akali/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-31 11:13:45 -07:00
curoky
62cbf26175
[rsocket] Add new port (#11021)
* [rsocket] Add new port

* [rsocket] don't build in some window environment

* [rsocket] add missing deps in CONTROL

* [rsocket] add missing deps in CONTROL

* [rsocket] remove some deprecated args

* [rsocket] romove vcpkg_fail_port_install(ON_ARCH x64)

* [rsocket] only support x64 architecture

* [rsocket] upgrade to 2020.05.04.00

* [rsocket] add vcpkg_fail_port_install to portfile

* [rsocket] Fix find dependencies

* Update ports/rsocket/portfile.cmake

* Update ports/rsocket/CONTROL

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-31 11:07:14 -07:00
Jamie Kydd
a17543d840
Fix android toolchain so it correctly adds -fPIC flag (#12097)
(cherry picked from commit 497fe8ab805bcafd2cb2abd538db8783f897f9ad)
2020-07-31 10:46:26 -07:00
Alexander Neumann
e299457351
[vcpkg_fixup_pkgconfig] Remove required in first find_program call for pkg-config (#12569)
* Remove required in first find_program call

* add usr/local/bin for mac

* lets try without cellar and see if osx ci agrees
2020-07-31 09:20:56 -07:00
Jack·Boos·Yu
2b8d5bad0a
[qt5 components] Disable parallel build (#12529)
* [qt5-imageformats] Disable parallel build

* [ompl] Disable parallel configure

* [qt5-connectivity] Disable parallel build

* [qwt] Update hash

* [qt5-location] Disable parallel build

* Update ports/qwt/portfile.cmake

* Update ports/qwt/portfile.cmake

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

* [qt5] change build method to vcpkg_execute_build_process

* Add condition when there are some file conflicts

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-31 09:12:17 -07:00
NancyLi1013
2cb28482bb
[mpir] Fix build error if VCPKG_BUILD_TYPE is set as release or debug (#12514)
* [mpir] Fix build error if VCPKG_BUILD_TYPE is set as release or debug

* Update ci.baseline.txt

* EOL LF for vcpkg.json

* Update to use vcpkg_configure_make and vcpkg_install_make in UNIX
2020-07-30 22:59:38 -07:00
NancyLi1013
ef037af3d7
[libmodbus] Fix static linkage error (#12530) 2020-07-30 22:57:28 -07:00
Clinton Ingram
3513e92bf9
[mozjpeg] fix build (#12118)
* fix mozjpeg build

* re-disable in CI baseline

* fix static install

* rename static libs, add pkgconfig fixup

* update version string

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-30 22:38:32 -07:00
ig-or
8d09f42a04
[marble] Add new port (#8628)
* KDE Marble library port

* fix in port KDE Marble library

* port KDE Marble library: switch to another version

* vcpkg_fail_port_install added (since only Windows currently supported)

* remove some comments

* Update portfile

* KDE Marble library port

* fix in port KDE Marble library

* port KDE Marble library: switch to another version

* vcpkg_fail_port_install added (since only Windows currently supported)

* remove some comments

* Update portfile

* small fix in KDE Marble library port

* removed ON_LIBRARY_LINKAGE static, and ANDROID FREEBSD

* [marble]Fix triplet judgment

* [kde] Add x64-windows-static state to baseline

* [marble] Re-add x64-windows-static state to baseline

* marble port changed

* marble profile.cmake small correction

* marble: another tiny changes in a port file

* marble: patch to move exe to tools

* [marble] patch for another QT version

* Update ports/marble/CONTROL

* move dll files to bin folder (out of tools folder)

Co-authored-by: Igor Sandler <isandler@topcon.com>
Co-authored-by: Phoebe <v-phma@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-30 22:25:43 -07:00
Alexander Neumann
3edf825296
[vcpkg] EOL LF for ci.baseline.txt (#12513)
* define line endings for ci.baseline.txt

* renormalize line endings to lf
2020-07-30 20:05:32 -07:00
Ramadan Ahmed Ramadan
b840d03c5b
fix issue #9228 : Add support to subgroups in gitlab (#9248)
* fix issue #9228 : Add support to subgroups in gitlab

* Update vcpkg_from_gitlab.cmake

* Update vcpkg_from_gitlab.cmake
2020-07-30 15:10:26 -07:00
Jack·Boos·Yu
d367c4c0b8
[vcpkg] Improve format check failure message (#12460)
* [docs] Add format document

* improve the error message

* Check the error message

* Finish test

* restore file list
2020-07-29 21:12:06 -07:00
Phoebe
a2d3782198
[libusb] Fix issue to support linux (#9561)
* [libusb] support linux

* Add Supports

* Using vcpkg_configure_make instead

* Revert to install headers in windows

* Fix failures in libftd1

* Update treehopper

* Add failed ports in ci baseline file

* Revert to remove azure-kinect-sensor-sdk:x64-windows-static=fail in baseline file

* Resolve conflicts

Co-authored-by: PhoebeHui <v-phma@microsoft.com>
2020-07-29 11:22:12 -07:00
emptyVoid
25412e1f46
[vcpkg-acquire-msys] Install new keyring (#12467) 2020-07-28 12:04:53 -07:00
Stefano Sinigardi
f1e7a3f167
[opencv4] update to v4.3 (#11130)
* [opencv4] draft update to v4.3

* restore uwp patch

* fix qt and ipp features

* fix libepoxy and meson on osx

* fix baseline, trigger a full rebuild due to meson tool changes

* remove jpeg feature on windows due to a bug with MSVC

* minor fixes for some features

* ffmpeg x11 lib not required anymore on apple for downstream projects

* small fixes for ogre and qt5

* remove a broken module

* fix installation path

* fix openexr which was broken and regressed opencv downstream projects

* first round of ci passes

* improve compatibility with android toolchain

* [openexr] upgrade to v2.5.0 to fix regressions, might require fixes in dependent projects and might deserve its own PR

* fix OpenEXR link for downstream projects

* do not install unrequested features

* fix compatibility with newer OpenEXR

* [OpenCV3] update to v3.4.10

* fix openexr on windows, was creating symlinks that broke vcpkg

* fix openexr wrapper

* [openexr] cmake config files are installed into a lowered-case folder

* remove mangled paths trying to fix android setup

* disable dnn on android, fix mangled cmake config paths again

* fix downstream CUDA dependency

* fix compatibility with vs16.6

* remove from baseline ports now passing tests

* [alembic] fixes for new openexr

* fix baseline

* [field3d] fixes for new openexr

* [field3d] improve fixes, windows still unsupported despite what is said upstream

* apply fixes required from review

* add missing field3d patch

* [field3d] disable mpi integration

* [opencv2] remove cublas integration

* [vtk] do not create libharu::libharu target if already existing

* Update ports/opencv4/portfile.cmake

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

* Update ports/opencv3/portfile.cmake

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

* improve compatibility with newer CUDNN

* [OpenCV3, OpenCV4] improve compatibility with CUDA 11

* [OpenCV2] improve compatibility with CUDA 11

* [field3d] regenerate patch ignoring space at eol

* [vcpkg] Use SSH keys instead of password authentication when minting Linux scale sets (#11999)

* [field3d] regenerate patch ignoring space at eol

* [field3d] regenerate patch, again

* [field3d] fixes for windows

* [libass] fix regression

* ci.baseline.txt update

* [CUDA11] use FindCUDA from CMake 3.18 to ease transition later

* re-bump vtk and ffmpeg, which were lost with merges from master

* [OpenCV4] Halide feature is not broken anymore

* [field3d] regenerate hdf5 patch

* [OpenCV4] remove GTK features: it can be built only on *nix but GTK on vcpkg cannot be built on *nix systems...

* merge ci.baseline.txt from master and fix field3d patch

* remove rebuilding

* restore vtk CONTROL file

* update CONTROL files

* Trigger rebuild

* Update ports/freeimage/CONTROL

* Update ports/freeimage/CONTROL

* [opencv3/4] avoid tesseract dependency on uwp builds

* [opencv] add missing module search

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-27 17:43:23 -07:00
Alexander Neumann
458c20e94b
[vcpkg/scripts/pkgconfig] rewrite pkg-config check for libraries (#11550)
* [vcpkg/scripts/pkgconfig] rewrite pkgconfig check for libraries.

* [vcpkg/scripts/pkgconfig] fix more details.

* [vcpkg/scripts/pkgconfig] smaller improvements

* ws change to check functionallity of script for testing.

* [vcpkg/scripts/pkgconfig] update to latest test version

* Revert "ws change to check functionallity of script for testing."

This reverts commit 26269e9e77.

* [nettle] bump control for vcpkg_fixup_pkgconfig test

* [gmp] rerun CI to create new *.pc files

* [gmp/nettle] enable port debug

* [vcpkg/script/pkgconfig] fix path conversion regex for CI

* [CI|OSX] install pkg-config on osx

* [gmp/nettle] disable port debug

* [vcpkg/scripts/pkgconfig] update to latest version of x windows pr

* [zlib] add pkgconfig file

* [zstd] add fixup pkgconfig

* [libpng] add pc file installation

* [bzip2] install pc file and leave a TODO for somebody else ;)

* [bzip2] bump control

* [vcpkg/scripts/pkgconfig] skip checks if pkgconfig cannot be found.
- small bugfix in ignore flags regex

* retry zstd and zlib

* [libpng] retry by adding dl and m to system libraries for osx

* [libpng] add missing vcpkg_fixup_pkgconfig()

* [vcpkg/scripts/pkgconfig] unset var if found. 

fixes checks for other configurations which will be always succesful otherwise

* [libpng] bump control

* [libpng] enable port debug to debug osx regression

* ws change to retrigger osx ci and hopeing that it works

* fix typo

* [libpng] remove -lm flag on apple platforms

* ws change to rerun some ports in ci for good measure after the merge with master

* Re-trigger CI test

* [zstd] add pkgconfig

* [zstd] correct debug link

* [vcpkg/script/pkgconfig] - add more search suffixes for static libs
- add additional debug messages for debuging
- fix unsetting of cache variables hiding issues with debug libraries
- fixed pkgconfig fix in the debug case

* [pcre] add pthread dependency to pcre

* [protobuf] fix pkgconfig

* include quotes around the prefix in the case the prefix path was quoted (fixes some regressions)
add option NOT_STATIC_PKGCONFIG to run pkg-config without the --static argument

* [ignition-msgs5] get rid of a dev warning

* [apr] fix apr regression

* [protobuf] fix protobuf regression

* [sdl1] fix regression due to variable expansion of pkg-config. Use similar regex to the library removal for ignored flags.

* [ignition] fix regression

* remove changes of zlib portfile.

* reset changes in osx ci pipeline

* add DISABLE_PARALLEL_CONFIGURE

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-07-24 11:39:21 -07:00
Andrei Lebedev
077c0746be
[vcpkg] Add initial s390x support (#12534)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-07-23 14:16:01 -07:00
Cristian Adam
f4bd64233a
Build fix with MinGW GCC 9.2.0 (#12084)
* Build fix with MinGW GCC 9.2.0

* Fix MinGW tripplets

Fixes #12065

* clang-format

* Fix unused read_symlink_implementation warning marked as error

read_symlink_implementation was used only in copy_symlink_implementation
when #if defined(_WIN32) && !VCPKG_USE_STD_FILESYSTEM  was true.

Removed the warning otherwise.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-07-18 08:48:01 -07:00
Kevin Lu
85a5acfd3c
[vcpkg_configure_make] typo fix '_vcpkg_append_to_configure_environment' (#12432) 2020-07-15 15:23:40 -07:00
Phoebe
9891a8f213
[libb2] Add supports and install pkg-conifg on macOS VM (#12398)
* [libb2] Add supports and install pkg-conifg on macOS VM

* Add blank line to the end of the json file

* vcpkg x-format-manifest --all

* Remove failed ports in ci baseline file
2020-07-14 08:37:14 -07:00
alcroito
f1fbee87db
[vcpkg] Fix iOS toolchain detection when using the iOS community triplets (#12361)
* [vcpkg ios] Fix detection of iOS toolchain (#6003)

Added mapping of CMAKE_SYSTEM_NAME == iOS to the bundled iOS toolchain
file.

This fixes the "Unable to determine toolchain to use for
triplet arm64-ios with CMAKE_SYSTEM_NAME iOS" error.

* [vcpkg ios] Set the CMake system processor for the simulator arches (#6003)

So it's consistent for all architectures.
2020-07-13 14:13:44 -07:00
ras0219
385fb52332
[vcpkg] Track hashes of cmake script helpers in consuming portfiles (#12254)
* [vcpkg] Track hashes of cmake script helpers in consuming portfiles

* [vcpkg] Format

* [vcpkg_find_acquire_program] Use cpkg_from_sourceforge for FLEX and BISON

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 13:43:39 -07:00
ras0219
bc07f4b052
[vcpkg-ci] Always publish file lists (#12384)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 12:14:51 -07:00
ras0219
18c7750270
[vcpkg] Improve informational message for --editable while cleaning sources (#12366)
* [vcpkg] Improve informational message for --editable while cleaning sources

* [vcpkg] Update scripts/cmake/vcpkg_extract_source_archive_ex.cmake

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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-13 12:12:48 -07:00
ras0219
52a9d9a9e4
[vcpkg] Enable binary caching by default (#12370)
* [vcpkg] Enable binary caching by default. Support `x-` migration.

Fix passing multiple copies of single parameter arguments.

* [vcpkg] Handle x- prefixes for general arguments

* [vcpkg] Fix #12285 and improve documentation of default binary cache path

* [vcpkg] Revert x- prefix homogenization for per-command arguments

* [vcpkg] Only use accelerated compiler detection for Windows Desktop + Ninja. Improve breadcrumbs for users encountering issues.

* [vcpkg] Fix compiler tracking not pre-downloading Ninja. Fix compiler tracking not looking in -err.log.

* [vcpkg] Update toolsrc/src/vcpkg/binarycaching.cpp

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* [vcpkg] Format

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2020-07-13 12:03:53 -07:00
Edhebi
f4b66c5e2b
[vcpkg] Add a schema file for vcpkg.json (#12178)
* Add a schema file for vcpkg.json

* [vcpkg.schema.json] fix $ref fields

Per json schema, having any other field in a `{ "$ref": ""}` object is invalid.

* [vcpkg.schema.json] change case to reflect usage

* [vcpkg.schema.json] check reserved names for identifiers

* [vcpkg.schema.json] add an $id field

* [vcpkg.schema.json] Apply suggestions from code review

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

* [vcpkg.schema.json] Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-13 11:34:15 -07:00
ras0219
a571c8ecc0
[vcpkg] Move default binary cache from $root/archives to user-wide directory (#12256)
* [vcpkg] Move default binary cache from `$root/archives` to user-wide directory

Teach nuget/nugetconfig binary sources to use read/write.

* [vcpkg] Reformat

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-09 15:14:05 -07:00
myd7349
dbba608d3d
[kfr] Add new port (#8322)
* [kfr] Add new port

* [kfr] Modernize and update to lastest

* [kfr] Add features

* [kfr] Fail fast on arm-uwp, arm64-windows

* [kfr] Fail fast on linux
2020-07-09 13:59:37 -07:00
nicole mazzuca
3871d73349
[vcpkg manifests] fix some issues (#12227)
Fixes #12190
Fixes #12208
Fixes #12234
Fixes #12286
Fixes #12315
Fixes #12186
Fixes #12331
Fixes googleapis/google-cloud-cpp#4487
2020-07-09 12:32:31 -07:00
Alexander Neumann
3bffe1c049
[qt5] update qt to 5.15 and make ports depend on qt5-base[core]. (#11596)
* [qt5] update qt to 5.15 and make ports depend on qt5-base[core].

* [qt5] update and remove patches

* [baseline] skip qt5-canvas3d due to deprecation

* [qwt] update to 6.1.4 and fix build issues

* [qt5-webengine] remove old patches

* [qwt] fix static patch

* [qt5-location] add a message that the port has a sprious failure

* [qt5-webengine] fix filename of patch

* [qt5-webengine] add build.patch (ci is probably fast than me in checking for more errors)

* [qt5-winextras] depend on qt5-base[core]

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

* [qt5-base] update latest feature (latest=core)

* [baseline] remove qt5-webengine for nonstatic windows since CI can handle it now

* [qt5-base] make qt5-base fail to get logs.

* [angle] include missing egl sources.

* [qt5-base] patch egl detection logic.

* [baseline] remove qt-x11extras:x64-linux=fail

* [qt5-base] need to be explicit about xcb to build qt5-x11extras

* [CI] add necessary system libraries to linux CI

* [qt5-base] remove comment to retry on linux

* [qt5-base] add static_init patch for MSVC

* [qt5-base] refined workaround to not regress linux and osx due to

* [paraview] remove unnecessary patches with newer qt versions

* [vcpkg/baseline] add webengine back to skip

* [vtk] fix missing include regression using patch from upstream

* [vtk] fix patch

* [qt5-base] replace with patch from upstream

* [paraview] use hdf5 1.10 api.

* [paraview] bump control

* Add more packages to Linux machines.

* [qt5-base] forgot to add the patch

* Delete 6943.diff

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-07-08 15:34:35 -07:00
Alexandro Sanchez
33e3e20c5c
[freerdp] Fix x64-osx triplet (#12037)
* [freerdp] Fix x64-osx triplet

Signed-off-by: Alexandro Sanchez Bach <alexandro@phi.nz>

* Update ports/freerdp/CONTROL

* Update scripts/ci.baseline.txt

* Update scripts/ci.baseline.txt

* Update scripts/ci.baseline.txt

* Update ports/freerdp/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-08 15:24:36 -07:00
ras0219
fd4a08806f
[vcpkg] Fix MSBuild regressions #12062 and #12086. (#12257)
This PR also renames the VcpkgUserTriplet MSBuild variable to VcpkgTriplet to minimize user confusion compared to previous practice and documentation.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-08 15:08:17 -07:00
Robert Schumacher
eedecc033d
[vcpkg.targets] Fix #12292 regression with MSBuild targets (#12319) 2020-07-08 13:51:03 -07:00
Silvio Traversaro
c916abaa0d
[vcpkg.cmake] Support toolchains that set CMAKE_FIND_ROOT_PATH_MODE_* variables to ONLY (#11753) 2020-07-07 15:01:01 -07:00
Wolfgang Stöggl
3e615cdb1d
[pcre2] Update to 10.35 (#11754)
- New upstream version 10.35
- Update patches:
  pcre2-10.35_fix-space.patch
  pcre2-10.35_fix-uwp.patch
- Add patch:
  pcre2-10.35_fix_postfix_for_debug_Windows_builds.patch
- Drop patch (fixed upstream):
  fix-arm64-config.patch
- Since 10.35, pkgconfig files are created using CMake
  * fix debug suffix of pkgconfig files under Windows
  * add vcpkg_fixup_pkgconfig()
- Remove bin and debug/bin in case of static build
- Update ci.baseline.txt
  Remove "pcre2:arm-uwp=fail", because arm-uwp passes now
  Add "unicorn-lib:arm-uwp=fail"
2020-07-07 14:54:39 -07:00
nicole mazzuca
9606917c81
[vcpkg ci] Update formatting CI (#12314)
* stage checking formatting

this means that the port CI won't run if the formatting failed

* fix invalid names

* add formatting of manifests

* fix dependsOn name

* fix a thing

* CRs

* oops, typo
2020-07-07 14:09:33 -07:00
Jack·Boos·Yu
f8e975d44a
[evpp] Fix build error on OSX (#11967)
* [evpp] Fix build error on OSX

* update baseline
2020-07-07 14:03:12 -07:00
myd7349
e96a3bd41b
[simdjson] Update to 0.4.6 (#12140)
* [simdjson] Update to 0.4.1

* [simdjson] Update to v0.4.2

* [simdjson] arm-uwp is supported now

* Update scripts/ci.baseline.txt

* [simdjson] x86 is also supported now(though not recommended)

* [simdjson] Update to 0.4.3 (it will fail)

* [simdjson] Disable Ninja temporarily

* [simdjson] Update to 0.4.4

* [simdjson] Update to 0.4.5

* [simdjson] Add manifest file

* [simdjson] Update to 0.4.6

* Update ports/simdjson/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-07 13:54:46 -07:00
ras0219
f9bdf13953
[vcpkg] Implement --editable (#12200)
--editable suppresses binary caching and source re-extraction for packages listed on the command line (similar to --head).

This fundamentally changes the port maintenance loop, so several example documents were updated. To avoid users having substantial changes suddenly destroyed by forgetting to pass --editable, "clean" sources have different extract locations.

The undocumented command `build` implies `--editable`.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-07 13:53:19 -07:00
Billy O'Neal
8f886661b6
[libbson, vcpkg baseline] Remove passing and fix spurious failure. (#12300)
* [libbson] DISABLE_PARALLEL_CONFIGURE

* [vcpkg baseline] Fix 'passing, remove from baseline' in CI from 20200705.1

See https://dev.azure.com/vcpkg/public/_build/results?buildId=39820
2020-07-07 13:41:28 -07:00
nicole mazzuca
6a41626eaf
[vcpkg] Format the C++ in CI (#11655)
* [vcpkg] Format the C++ in the CI

* format the C++

* CR
2020-07-06 16:45:34 -07:00
Long Nguyen
89dec24cc2
[vcpkg] Add mingw dynamic libs triplet (#12101)
* Update .gitignore

* Add mingw dynamic lib triplets

* Only copy pdbs if not using *-mingw triplets

* Using VCPKG_POLICY_DLLS_WITHOUT_LIBS as a workaround

* Rename *-mingw to *-mingw-dynamic

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-07-06 14:20:06 -07:00
Leo Yao
aa2b9ef32e
[vcpkg] Added python script to generate all packages file list, added to azur… (#12177)
* Added python script to generate all packages file list, added to azure pipeline to build at the end of the run

* fixed an issue that causes some leading slashes were being removed

* Header Database now includes hpp files for C++ header files

* Changed Header Database to include all files under \include\ folder

* Apply suggestions from code review, changing condition from eq to ne

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Update last condition from eq to ne

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2020-07-06 13:38:22 -07:00
Rémy Tassoux
7c5e2356f1
[openvr] Update to 1.12.5 (#12219)
* [openvr] Update to 1.12.5

https://github.com/ValveSoftware/openvr/releases/tag/v1.12.5

* [openvr] Fix static build faillure

* [openvr] revert aa222ad9f8

* [openvr] update ci.baseline.txt
2020-07-06 12:51:58 -07:00
Billy O'Neal
8eda81cc4d
[opengl wincrypt winsock2] Use $ENV{WindowsSdkDir} instead of hard coding Windows SDK paths. (#12232)
Also delete vcpkg_get_program_files_32_bit because it was used in only one place.

Resolves #8288
Obsoletes #11421, #11261, #8329
2020-07-06 12:42:35 -07:00
Dr. Frank Heimes
c21893b4dc
[vcpkg integrate] Clean up vcpkg.target file (#4608)
Use IncludePath and LibraryPath propertiesThese tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code.
This change includes my changes from #4454.

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-07-05 12:39:14 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018) 2020-07-03 09:36:40 -07:00
Billy O'Neal
a28bfe7674
[vcpkg] Remove the tombstones and 'ignore' baseline concepts. (#12197)
This changes our PR builds to treat 'fail' in the ci.baseline.txt as 'skip' instead of using tombstones.

We currently have large numbers of spurious failures that get enshrined in PRs through no fault of a PR author, removing the tombstones concept will fix those by allowing the user to retry. This does mean we accept some risk of not detecting when a port is 'fixed', but that failure is reasonable for us to handle after we see it in CI, but that seems worth it given that it lets us get rid of the tombstone concept.

This also helps out the binary caching feature, because we don't have to figure out how to productize tombstones.
2020-07-02 20:20:07 -07:00
Phoebe
f24543e831
[msbuild] Revert the importance to Normal (#12212) 2020-07-02 20:19:23 -07:00
ras0219
9ddf284ece
[vcpkg] Improve performance of compiler tracking by suppressing aspects of CMake's compiler detection. (#12203)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-02 00:12:54 -07:00
Phoebe
bd2dbb2ce5
[vcpkg] Update message in bootstrap.ps1 (#12145)
* [vcpkg] Update message in bootstrap.ps1

* Update docs/users/integration.md
2020-07-01 16:58:04 -07:00
ras0219
5a9d8011f5
[vcpkg] Enable NuGet-based binary caching via mono (#12170)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-01 12:18:37 -07:00
Stephane Lajoie
428df4c7d6
Don't change manifest root when manifest isn't enabled. (#12191)
* Don't change manifest root when manifest isn't enabled.

* Update scripts/buildsystems/msbuild/vcpkg.targets

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-01 12:18:13 -07:00
ras0219
135f91de1e
[vcpkg] Implement --x-write-nuget-packages-config= setting for install and x-set-installed (#12138)
* [vcpkg] Implement --x-write-nuget-packages-config= setting for `install` and `x-set-installed`.

* [vcpkg] Add end-to-end testing suite for install, remove, and binary caching

* [vcpkg] Define `$TestingRoot in end-to-end-tests.ps1

* [vcpkg] Address CR comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-01 11:36:09 -07:00
Billy O'Neal
532db1d8f7
[vcpkg] VM Update (#12176)
* [qt5] Add more dependent Linux packages for https://github.com/microsoft/vcpkg/pull/11596/

* [vcpkg] Add LLVM 10 to Windows CI machines for https://github.com/microsoft/vcpkg/pull/11655/

* [vcpkg] Add missing Param block to InstallLLVM function.

* [vcpkg] Add throw after all Write-Error calls for consistency with https://github.com/microsoft/vcpkg/pull/12172
2020-07-01 10:53:10 -07:00
nicole mazzuca
0084acc75d
[vcpkg ci] add macos scripts to vcpkg repo (#12172)
* [vcpkg ci] add macos scripts to vcpkg repo

* CR changes

* docs stuff
2020-07-01 10:08:06 -07:00
ras0219
3f6342db6d
[vcpkg] Fix vcpkg export --nuget regressions (#12174)
* [vcpkg] Upgrade find_acquire_program(NUGET) to 5.5.1. Add partial SHA to temporary download paths to avoid collisions.

* [vcpkg] Fix regression in `vcpkg export --nuget` due to file locking on .vcpkg-root

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-30 14:02:26 -07:00
nicole mazzuca
1d8f0acc9c
[vcpkg manifest] Manifest Implementation (#11757)
==== Changes Related to manifests ====

* Add the `manifests` feature flag
  * This only says whether we look for a `vcpkg.json` in the cwd, not
    whether we support parsing manifests (for ports, for example)
* Changes to the manifests RFC
  * `"authors"` -> `"maintainers"`
  * `--x-classic-mode` -> `-manifests` \in `vcpkg_feature_flags`
  * reserve `"core"` in addition to `"default"`, since that's already
    reserved for features
  * Add a small helper note about what identifiers must look like
  * `<license-string>`: SPDX v3.8 -> v3.9
  * `"feature"."description"` is allowed to be an array of strings as well
  * `"version"` -> `"version-string"` for forward-compat with versions
    RFC
* Add the `--feature-flags` option
* Add the ability to turn off feature flags via passing
  `-<feature-flag>` to `VCPKG_FEATURE_FLAGS` or `--feature-flags`
* Add CMake toolchain support for manifests
  * Requires either:
    * a feature flag of `manifests` in either `Env{VCPKG_FEATURE_FLAGS}`
      or `VCPKG_FEATURE_FLAGS`
    * Passing the `VCPKG_ENABLE_MANIFESTS` option
  * The toolchain will install your packages to
    `${VCPKG_MANIFEST_DIR}/vcpkg_installed`.
* Add MSBuild `vcpkg integrate install` support for manifests
  * Requires `VcpkgEnableManifest` to be true
* `vcpkg create` creates a port that has a `vcpkg.json` instead of a
  `CONTROL`
* argparse, abseil, 3fd, and avisynthplus ports switched to manifest
  from CONTROL
* Add support for `--x-manifest-root`, as well as code for finding it if
  not passed
* Add support for parsing manifests!
* Add a filesystem lock!

==== Important Changes which are somewhat unrelated to manifests ====

* Rename `logicexpression.{h,cpp}` to `platform-expression.{h,cpp}`
* Add `PlatformExpression` type which takes the place of the old logic
  expression
  * Split the parsing of platform expressions from checking whether
    they're true or not
  * Eagerly parse PlatformExpressions as opposed to leaving them as
    strings
* Add checking for feature flag consistency
  * i.e., if `-binarycaching` is passed, you shouldn't be passing
    `--binarysource`
* Add the `Json::Reader` type which, with the help of user-defined
  visitors, converts JSON to your internal type
* VcpkgArgParser: place the switch names into a constant as opposed to
  using magic constants
  * In general update the parsing code so that this ^ works
* Add `Port-Version` fields to CONTROL files
  * This replaces the existing practice of
    `Version: <my-version>-<port-version>`

==== Smaller changes ====
* small drive-by cleanups to some CMake
  * `${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}` ->
    `${CURRENT_INSTALLED_DIR}`
  * Remove `-analyze` when compiling with clang-cl, since that's not a
    supported flag (vcpkg's build system)
  * Add a message about which compiler is detected by vcpkg's build
    system machinery
* Fix `Expected::then`
* Convert `""` to `{}` for `std::string` and `fs::path`, to avoid a
  `strlen` (additionally, `.empty()` instead of `== ""`, and `.clear()`)
* Add `Strings::strto` which converts strings to numeric types
* Support built-in arrays and `StringView` for `Strings::join`
* Add `operator<` and friends to `StringView`
* Add `substr` to `StringView`
* SourceParagraphParser gets some new errors
2020-06-30 10:40:18 -07:00
Jack·Boos·Yu
67ab6130b6
[vcpkg baseline][paraview] Fix linux build (#12144) 2020-06-29 23:31:08 -07:00
freddy77
a0bd59c6a2
Fix typo in comment (#12069)
Enabel -> Enable

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
2020-06-26 19:22:12 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
Billy O'Neal
81ae2ed94b
[vcpkg] Add write-only binary caching for CI. (#12130)
Changes to the binary caching spec made as comments over at https://github.com/microsoft/vcpkg/pull/11204#pullrequestreview-438518901
2020-06-26 12:37:53 -07:00
ras0219
91e798afd8
[vcpkg] Implementation of --x-binarysource=nuget (and friends) (#12058)
* [vcpkg] Initial implementation of --x-binarysource=nuget

* [vcpkg] Remove double-double quoting of CMake arguments

* [vcpkg] Update nuget.exe to 5.5.1 to support Azure DevOps Artifacts

* [vcpkg] Enable batching of NuGet server calls with prefetch(). Add `interactive` binarysource.

* [vcpkg] Add `nugetconfig` binary source

* [vcpkg] Short circuit querying remote NuGet servers once all refs are found

* [vcpkg] Add experimental help for binary caching

* [vcpkg] Improved NuGet cache package descriptions and version formatting

* [vcpkg] Rename `CmdLineBuilder::build()` to extract()

* [vcpkg-help] Ascii-betize help topics

* [vcpkg] Add tests for cmdlinebuilder. Improve handling of quotes and slashes.

* [vcpkg] Addressing code review comments

* [vcpkg] Add tests for vcpkg::reformat_version()

* [vcpkg] Added test for vcpkg::generate_nuspec()

* [vcpkg] Add tests for vcpkg::XmlSerializer

* [vcpkg] Addressed code review comment

* [vcpkg] Add test for vcpkg::Strings::find_first_of

* [vcpkg] Fix machine-specific paths in test for vcpkg::generate_nuspec()

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-26 12:16:02 -07:00
Billy O'Neal
9f8cc9ee88
[vcpkg] Delete unnecessary tombstone deletion step now that CI rebuilds everything (#12120) 2020-06-25 22:19:17 -07:00
Billy O'Neal
f10c49281a
[vcpkg] Add disk space report to Windows PR/CI (#12113)
* [vcpkg] Add disk space report to PR/CI

Example output:
```
Disk Label           Size     Free Space
---- -----           ----     ----------
C:   Sabrent         1907 GiB 1239 GiB
D:   Dev             447 GiB  383 GiB
E:   Samsung 960 Pro 1908 GiB 1084 GiB
H:   Rocket          3815 GiB 863 GiB
R:                   0 B      0 B
S:                   0 B      0 B
```
2020-06-25 16:38:13 -07:00
Billy O'Neal
0d37525d75
[vcpkg] Commonize pipelines build powershell and don't use binary caching in CI (rather than PR) builds (#12082) 2020-06-25 16:36:28 -07:00
Jack·Boos·Yu
1f0db1f06a
[vcpkg baseline] Fix baseline errors (#12067)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-06-25 11:11:17 -07:00
Silvio Traversaro
70ab27fcad
[ignition-plugin1] Add new port 🤖 (#11275)
* [ignition-plugin1] Add new port

* vcpkg_fixup_cmake_targets: Add DO_NOT_DELETE_PARENT_CONFIG_PATH

By default the vcpkg_fixup_cmake_targets script remove the parent
path of CONFIG_PATH if it named "cmake", this behaviour is not convenient
for ports that install more than one CMake package config file, and
for which vcpkg_fixup_cmake_targets is invoked multiple times.
To optionally disable this behaviour, this commit adds the option
DO_NOT_DELETE_PARENT_CONFIG_PATH to vcpkg_fixup_cmake_targets.

* [ignition-modularscripts] Add support for ignition libraries that install multiple CMake package config files

Some ignition libraries install several CMake  package config files,
to represent the different components of the library. This  commit modifies
the ignition_modular_library function to fixup correctly all the cmake package config files.

* vcpkg_fixup_pkgconfig: Move definition of SYSTEM_LIBRARIES to vcpkg_common_definitions

To correctly validate installed pkg-config files, vcpkg_fixup_pkgconfig needs to know
for each platform which libraries are not managed by vcpkg. This commits improve this
definitions for all the triplet supported by vcpkg, and move this definition to vcpkg_common_definitions
in a way that permit custom triplets to overload its value.
2020-06-24 14:59:32 -07:00
Billy O'Neal
7ced7d721e
[vcpkg] Do not fail just because cleaning tombstones failed in CI. (#12074) 2020-06-24 11:39:47 -07:00
Vicki Pfau
eede79eb27
Fix bootstrapping MSYS2 pacman (#11499) (#12080) 2020-06-24 11:29:28 -07:00
Jack·Boos·Yu
67a031a4d5
[libmicrohttpd] Support build on UNIX and use msbuild on Windows (#11983)
* [libmicrohttpd] Support build on UNIX and use msbuild on Windows

* update baseline
2020-06-23 13:38:30 -07:00
Jack·Boos·Yu
7e18ac0d8b
[activemq-cpp] Fix static build (#12005)
* [activemq-cpp] Fix static build

* update baseline
2020-06-23 13:18:04 -07:00
Alexander Neumann
23eadeaedc
[hdf5] Update HDF5 to 1.12 (#11747)
* [hdf5] Update HDF5 to 1.12 and use github live-clones instead of binary download

* [hdf5] bump control

* [hdf5] fix szip and typo about linkage

* [hdf5] add missing package namespace.... they somehow missed to set it?

* [hdf5] retry without "

* [field3d] fix regression and update. Remove windows as unsupported since the cmakelists tries to support windows

* fix typo

* remove ws

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

* linebreak first patch

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

* ws change

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

* [field3d] update copying installation

* [hdf5] use official github repo

* clean baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 12:58:50 -07:00
Alexander Neumann
03766d0834
[CGNS/ParaView] Add new ports (#9960)
* [cgns] add port cgns

* [paraview] add new port

* [paraview] correct dependencies; disable catalyst

* [VTK/ParaView] Make ParaView build

* [paraview] add missing patch

* [paraview] add cgns patch

* [paraview] add qt plugin patches back in. Remove in the future

* [vtk] slightly improved patches

* [vtk] don't disable findPython

* [paraview] add more features

* [paraview] remove X11Extras from OSX

* [vtk] make vtk workcorrectly with python and prepare for paraview with python

* [paraview] Python fixes

* [paraview] small bin -> lib replacement fix for static builds

* [vtk] fix patch path

* update baseline to exclude paraview for the time being on osx and linux.
requires a fix in qt5-base linkage of libpq.

* [paraview]try setting LD_LIBRARY_PATH for unix systems

* [paraview] a bit of cleanup

* update baseline

* fix typo in baseline

* [paraview] remove unnecessary patch

* [vtk] replace custom patch with upstream patch

* [paraview] cleanup in the portfile.

* Update ports/paraview/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 10:20:18 -07:00
ras0219
aef838536e
[vcpkg] Track compiler information in ABI (#11654)
* [vcpkg] Refactor out abi_tags_from_pre_build_info()

* [vcpkg] Track Windows toolchain file in triplet hash

* [vcpkg] Improve error messages when constructing PreBuildInfo

* [vcpkg] Extract InstallPlanAction::BuildAbiInfo

* [vcpkg] Extract Build::EnvCache and private-impl VcpkgPaths

* [vcpkg] Enable compiler hash detection when binarycaching is enabled

* [vcpkg] Downgrade warning about missing ABI keys

When binarycaching is not enabled, this warning is spurious and provides no user value.

* [vcpkg] Cleanup

* [vcpkg] Refactor compiler tracking into triplet abi computation

Move several static global caches into VcpkgPaths/EnvCache.
Add feature flag 'compilertracking' to enable the new feature.

* [vcpkg] Refactor out PreBuildInfo::using_vcvars()

Move VcpkgTripletVar into build.cpp because it is not used outside that file.

* [vcpkg] Address some code analysis warnings

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-22 14:14:36 -07:00
Billy O'Neal
2bf1f30deb
[vcpkg] Use SSH keys instead of password authentication when minting Linux scale sets (#11999) 2020-06-21 19:13:13 -07:00
Vitalii Koshura
61c2158d33
[cmake] Add mirror to download Strawberry Perl (#11938)
Last several days Strawberry Perl official download server has issues that lead to extremely slow download rates
(sometimes it takes more than 1 hour to download ~150MB).
This commit adds non-official mirror of Strawberry Perl to the list of available URLs.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-06-18 15:42:20 -07:00
Phoebe
ba98abdd0d
[vcpkg baseline] Retrigger failed ports in baseline (#11965)
* [vcpkg baseline] Retrigger flaky ports

* update the url for geographiclib

* Rebase the changes

* Remove libpq:arm64-windows=fail in baseline file
2020-06-17 23:53:18 -07:00
Billy O'Neal
00e0dbdcb1
[vcpkg] Clean tombstones in every build except PR validations (#12000) 2020-06-17 21:31:30 -07:00
Jack·Boos·Yu
121f3d502a
[libvpx] Support arm64-windows (#11963) 2020-06-17 13:43:44 -07:00
Jack·Boos·Yu
f18e0b4387
[thrift] Update to 0.13.0 and fix OSX build (#11981) 2020-06-17 13:42:40 -07:00
Jack·Boos·Yu
a4d42aac24
[breakpad] Fix build failure on OSX (#11984)
* [breakpad] Fix build failure on OSX

* update baseline

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-17 11:19:55 -07:00
Billy O'Neal
6a8d2cb4a1
Attempt to mitigate Windows Defender detections by making provision-image.ps1 not a powershell script (#11978)
* Remove C:\ exclusion since we do all the interesting work on D: now.

* Rename provision-image.ps1 to remove executable extension.
2020-06-17 10:08:30 -07:00
Billy O'Neal
04e214eb0e
[vcpkg] Fix create by extracting common paths settings (#11842)
Resolves #11784
2020-06-16 11:58:11 -07:00
Alexander Neumann
14514508d8
[vcpkg] Add vcpkg item to project settings in Visual Studio (#4361)
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-15 14:24:14 -07:00
Jack·Boos·Yu
83627767af
[vcpkg baseline] Fix baseline error (#11896)
* [tinyfiledialogs] Re-trigger CI test

* [msix] Fix source hash

* [geographiclib] Re-trigger CI test

* [soundtouch] Re-trigger CI test

* update baseline

* [plplot] Re-trigger CI test

* [dmlc] Fix issues with parallel configuration

* [tclap] Re-trigger CI test

* [itpp] Re-trigger CI test

* [mpg123] Re-trigger CI test

* [qwt] Re-trigger CI test

* [soundtouch] Re-trigger CI test

* [pthreads] Re-trigger CI test
2020-06-12 13:09:46 -07:00
Silvio Traversaro
310f4df34f
[libpcap] Enable compilation of libpcap port on x86-windows and x64-windows (#10731)
* Enable compilation of libpcap port on x86-windows and x64-windows

As winpcap and libpcap install the same headers, this two
port have been marked as not not compatible, and cannot be
installed together.

* Update ci.baseline.txt

* Add libcrafter failing ports to ci.baseline.txt
2020-06-11 23:13:23 -07:00
Pavel Kisliak
269aeb7f4a
[bitserializer] Update to new version 0.10 (#11683)
* [BitSerializer] Update to version 0.9

* [bitserializer] Update to version 0.10

* [bitserializer] Enable all features by default

* [bitserializer] Update hash of tagged commit and remove "rapidyaml-archive" from default list of features

* [bitserializer] Add alias packages for deprecated BitSerializer's libraries

* Skip bitserializer-rapidyaml for arm and osx

* Update scripts/ci.baseline.txt

Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2020-06-11 22:34:31 -07:00
Adam Johnson
e1783c68c4
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3.

[vtk] Update to Python 3.8 and fix improper Python3 artifact
specification.

* [python3] Fix static linking, broken in 121faf2.

* [hyperscan] Add missing build dependency (fixes CI on macOS).
2020-06-11 22:23:26 -07:00
Billy O'Neal
be298744f7
[vcpkg] Merge unit test pass into x86-windows. (#11858) 2020-06-11 17:49:22 -07:00
Alexander Neumann
c704058346
[vcpkg] Add nologo to windows toolchain (#11146)
* add nologo to windows toolchain

* bump control of one cmake port for ci testing

* [scripts] add nologo to _DEBUG flags

* revert version bump
2020-06-11 13:43:24 -07:00
Billy O'Neal
55d6bd1b7d
[vcpkg] [cudnn] [msmpi] [openmpi] Update VMSS (#11365)
Co-authored-by: @JackBoosY 
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: Voskrese <10104740+Voskrese@users.noreply.github.com>
2020-06-11 11:13:09 -07:00
Jack·Boos·Yu
1caebee7bf
[cairo] Install the xlib header file when selecting feature x11 (#11868)
* [cairo] Install the xlib header file when selecting feature x11

* update baseline

* Update CMakeLists.txt
2020-06-11 02:27:30 -07:00
emptyVoid
a5e28c4b35
[vcpkg-acquire-msys] Improvement (#11810)
* [vcpkg-acquire-msys] Remove obsolete workaround.

* [vcpkg-acquire-msys] Don't refresh package database on package install.

* [vcpkg-acquire-msys] Drop no longer needed taskkill.

* Trigger CI rebuild to test vcpkg_acquire_msys.
2020-06-11 02:09:19 -07:00
Lily
efe434b688
[ms-angle] Set ms-angle to empty package (#11458)
* [ms-angle] Remove invalid port

* [ms-angle] Remove invalid port

* [ms-angle] Add build depends angle
2020-06-11 01:36:10 -07:00
myd7349
cb537a2aee
[licensepp] Add new port (#11711)
* [licensepp] Add new port

* [cryptopp-pem] Update to a newer version that will make lincensepp happy

* Revert "[cryptopp-pem] Update to a newer version that will make lincensepp happy"

This reverts commit 726e3ce3d2.

This version can not compile with cryptopp.

* [licensepp] Finish it

* [licensepp] Fix interface include directory

* [licensepp] Fixup cmake targets

* [licensepp] -O3 is not recognised by msvc

* [licensepp] Fix _iterator_debug_level value mismatch

* [licensepp] Update patch file

* [licensepp] Fail fast on UWP

* [licensepp] Simplify patch file

* [licensepp] Tabs -> Spaces
2020-06-11 01:00:07 -07:00
Ryan
1901067fc6
[xbyak] Add new port (#11689)
* [xbyak] Add new port

* [xbyak] add homepage, removed deprecated functions, handle copyright correctly
2020-06-11 00:57:38 -07:00
Sean Yen
67eb48da0f
[log4cxx] Add new port (#11659)
* Adding log4cxx 0.10.0

* adding the ci baseline.

* updated ci.baseline.txt

* Update portfile.cmake

* Update CONTROL
2020-06-11 00:56:42 -07:00
NancyLi1013
e9e744175b
[usd] Fix build error on Linux (#11440)
* [usd] Fix build error on Linux

* Add supports field and update baseline
2020-06-11 00:29:20 -07:00
Phoebe
a051803607
[plibsys] Fix failures on linux and osx (#11633)
* [plibsys] Fix failures on linux and osx

* Update patch for fix build failure with x64-windows-static

* Add vcpkg_cmake_wrapper and usage
2020-06-10 18:08:48 -07:00
wangqr
1509b14bb3
[avisynthplus] Upgrade to 3.6.0 (#11736)
* [avisynthplus] Upgrade to 3.6.0

AviSynth+ also supports linux and macOS now

* [avisynthplus] Allow x64-linux build fail on CI

AviSynth+ requires C++17 to build correctly. C++17 std::filesystem is not available in gcc 7.5 used in CI.
2020-06-10 18:04:32 -07:00
Tanguy Fautre
8f34b4bccf
[Arrow] Update to 0.17.1 (#11472)
* [Arrow] Update to 0.17.1

* Remove arrow:x64-linux=fail from ci.baseline.txt.
Add explicit tool dependencies on Flex and Bison for Linux and OSX.

* Revert arrow dependency on Flex/Bison, it's Thrift that needs them and its portfile is already fine.

* Use vcpkg_fail_port_install(ON_ARCH x86 arm arm64) instead of custom check.
Remove thrift:x64-osx=fail from ci.baseline.txt (we know arrow depends on it, and arrow:x64-osx has been shown to work in 3rd party project).

* Disable using pkg-config files to locate dependencies in arrow

This is incompatible with vcpkg as these files refer to paths in the
packages directory rather than the installed directory, so this only
works if the packages haven't been cleaned.

* Mark thrift:x64-osx as still failing until a proper solution for Bison can be found.

* Update ports/arrow/portfile.cmake

Co-authored-by: Adam Reeve <adreeve@gmail.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-09 15:41:24 -07:00
ras0219
09abe700ac
[mlpack] Explicitly depend on stb (#11785)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-09 11:39:17 -07:00
Billy O'Neal
1d3e985e4f
[vcpkg] Fix OSX CI by ensuring the downloads directory exists (#11839)
* [vcpkg] Remove do-nothing Set-Content from Windows azure-pipelines.yml.
* [vcpkg] Fix OSX CI by ensuring the downloads directory exists in advance, and extract common command line parameters with powershell splatting.
* [tensorflow-cc] Prevent hang building tensorflow-cc asking to configure iOS.
* Skip ignition-msgs5:x64-osx
2020-06-08 22:46:18 -07:00
Alexander Neumann
b4f3e5854a
[CI|gfortran] Install gfortran for OSX and Linux CI (#11693)
* [CI|gfortran] Install gfortran for OSX and Linux CI

* [osx] use cask
2020-06-05 12:13:32 -07:00
Billy O'Neal
6ac6267f51
[vcpkg] Provide $(VcpkgRoot) and $(VcpkgCurrentInstalledDir) for customers. (#11779) 2020-06-04 13:33:47 -07:00
Jack·Boos·Yu
a59ddd901a
[vcpkg-baseline][manyport] Fix baseline error (#11742)
* [fastrtps] Fix source hash

* [cpp-taskflow] Update source hash

* [eabase] Re-trigger CI test

* Change repo

* [sdformat9] Re-trigger CI test

* update baseline

* update baseline

* [sdformat9] Fix find dependency urdfdom
2020-06-04 12:20:25 -07:00
Billy O'Neal
3eeeb1b0d3
[vcpkg] Add directories to x-ci-clean lost in merge conflict resolution. (#11764) 2020-06-03 22:50:07 -07:00
Billy O'Neal
4fb2256085
[vcpkg] Allow CI to pass in all relevant directories and remove use of symbolic links (#11483) 2020-06-03 19:31:28 -07:00
Billy O'Neal
20e6626d87
[mpir] Baseline-skip on all platforms due to conflict with gmp. (#11759)
See https://github.com/microsoft/vcpkg/issues/11756
2020-06-03 19:29:56 -07:00
JonLiu1993
7027d93e77
[amqpcpp] Update to 4.1.7 (#11608)
* update [amqpcpp] to 4.1.7

* [amqpcpp] update to 4.1.7

* [amqpcpp] Update to 4.1.7

* [amqpcpp] Update to 4.1.7
2020-06-02 22:49:40 -07:00
Majid Hojati
e39cbe69f5
[Protozero] Add new port (#11652)
* protozero ci.baseline edit

* protozero ci.baseline edit

* protozero port added

* minor updates

* minor updates
2020-06-02 22:48:22 -07:00
Carlos O'Ryan
0dbc334ef5
[google-cloud-cpp] Consolidate all google-cloud* packages (#11698)
* [google-cloud-cpp] Consolidate all google-cloud* packages

Starting with the v1.14.0 release all google-cloud* packages and the
googleapis package are kept in a single repository and released
simultaneously.

* Update CI baseline.

google-cloud-cpp used to inherit failures from googleapis, which
indicates these are (probably) problems in the generated protobuf/grpc
code.
2020-06-02 22:46:06 -07:00
Jack·Boos·Yu
5be04143eb
[libfabric] Only support dynamic build (#11647) 2020-06-02 22:41:49 -07:00
Ankush Singh
f5676127ee
[sockpp] Add new port (#11562)
* [sockpp] Add new port

* [sockpp] Address review comments

* [sockpp] Update ci.baseline

* [sockpp] Fix typo

* [sockpp] Fix sockppConfig.cmake
2020-06-01 19:10:23 -07:00
Jack·Boos·Yu
2f28b35d77
[abseil] Fix arm build (#11630)
* [abseil] Fix arm build

* update baseline
2020-06-01 16:15:54 -07:00
Jack·Boos·Yu
47a883b395
[unixodbc/nanodbc] Fix unixodbc build failure and set it as a dependency on nanodbc (#11613) 2020-06-01 15:56:10 -07:00
Alexander Neumann
2c3ffa3b19
[CI|python3] add setuptools (#11668) 2020-06-01 11:15:11 -07:00
nicole mazzuca
afc18d7100
[vcpkg baseline] fix libb2:x64-osx (#11697) 2020-06-01 09:25:49 -07:00
Billy O'Neal
6d36e2a86b
[vcpkg] Use a crypto RNG to generate admin passwords (#11629)
* [vcpkg] Use a crypto RNG to generate admin passwords

* Apply code review comments from Stephan and Casey.

* Extract functions into create-vmss-helpers.psm1.

* Put Wait-Shutdown back.
2020-05-29 22:46:05 -07:00
Billy O'Neal
cc4f93f434
[vcpkg] Rename the msbuild property VcpkgRoot to VcpkgCurrentInstalledDir, and set VcpkgRoot to the expected root instead. (#11653) 2020-05-29 16:38:03 -07:00
nicole mazzuca
09319cd79e
[vcpkg metrics] Allow someone to opt out after build (#11542)
* [vcpkg metrics] start using json library

Additionally, add floats to the JSON library since they're required.

* [vcpkg metrics] allow users to disable metrics after the build

Additionally, as a drive by, fix UUID generation

* fix metrics data

* code review
2020-05-29 14:09:03 -07:00
Phoebe
4312808883
[vcpkg baseline] Fix baseline failures (#11612)
* [vcpkg baseline] Fix baseline failures

* Update the target check
2020-05-28 13:07:36 -07:00
Billy O'Neal
d9b4acf02d
[vcpkg] Move CI cleaning back out of the 'ci' command into a separate command to restore cross-compilation preinstalls. (#11545) 2020-05-27 18:40:23 -07:00
Johnny Willemsen
7b0789fceb
[ace] Add support for uwp (#11441)
* [ace] Update to 6.5.8

* Address review comments

    * ports/ace/portfile.cmake:

* Put back copy step

    * ports/ace/portfile.cmake:

* Fixed error

    * ports/ace/portfile.cmake:

* ARM should work, let us try it

    * ports/ace/portfile.cmake:

* ARM doesn't work yet, so disable it again
    * ports/ace/portfile.cmake:

* Add support for vcpkg of ace on MacOSX

    * ports/ace/portfile.cmake:

* [ace] Add patch to fix Visual Studio 2019 internal compiler error

    * ports/ace/process_manager.patch:
      Added.

    * ports/ace/CONTROL:
    * ports/ace/portfile.cmake:

* Attempt to fix apply patches

    * ports/ace/portfile.cmake:

* [ace] Updated baseline for ace, 4 configurations work again with the applied patch

    * scripts/ci.baseline.txt:

* Address review comments

    * ports/ace/portfile.cmake:

* Revised patch for ACE

    * ports/ace/process_manager.patch:

* [ace] Add support for uwp

    * ports/ace/portfile.cmake:

* ace now works in all configurations

    * scripts/ci.baseline.txt:

* Removed !uwp and update version

    * ports/ace/CONTROL:

* Simplified install of copyright file and on windows we always have a QoS library

    * ports/ace/portfile.cmake:
2020-05-27 06:11:51 -07:00
myd7349
ea07b5d3cd
[simdjson] Update to 0.3.1 (#10709)
* [simdjson] Update to 0.3.1

* [simdjson] Update CI baseline

* [simdjson] Include arm build

* [simdjson] Make UWP happy

* [simdjson] Turn off SIMDJSON_COMPETITION for linux

* [simdjson] Update to 2020-05-06

[simdjson] Turn off SIMDJSON_SANITIZE under DEBUG mode (#10145)

* [simdjson] Update to lastest

* wip

* [simdjson] Update to 2020-05-20

* [simdjson] Update to 2020-05-21

* [simdjson] Fix ninja build

* [simdjson] arm-uwp still not supported

* [simdjson] Update to 2020-05-22 and disable UWP patch

* [itk] You shall pass

* [simdjson] Fix x64-uwp

* Revert "[itk] You shall pass"

This reverts commit 885e8a8af4.

* [simdjson] Update

* [simdjson] Update to 2020-05-26
2020-05-26 23:00:24 -07:00
Johnny Willemsen
9c04c2ec59
[ace] Add patch to fix Visual Studio 2019 16.5 internal compiler error (#11369)
* [ace] Update to 6.5.8

* Address review comments

    * ports/ace/portfile.cmake:

* Put back copy step

    * ports/ace/portfile.cmake:

* Fixed error

    * ports/ace/portfile.cmake:

* ARM should work, let us try it

    * ports/ace/portfile.cmake:

* ARM doesn't work yet, so disable it again
    * ports/ace/portfile.cmake:

* Add support for vcpkg of ace on MacOSX

    * ports/ace/portfile.cmake:

* [ace] Add patch to fix Visual Studio 2019 internal compiler error

    * ports/ace/process_manager.patch:
      Added.

    * ports/ace/CONTROL:
    * ports/ace/portfile.cmake:

* Attempt to fix apply patches

    * ports/ace/portfile.cmake:

* [ace] Updated baseline for ace, 4 configurations work again with the applied patch

    * scripts/ci.baseline.txt:

* Address review comments

    * ports/ace/portfile.cmake:

* Revised patch for ACE

    * ports/ace/process_manager.patch:

* Update ports/ace/portfile.cmake

add comment about why the patch is needed

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-26 22:26:41 -07:00
victorburckel
dbd822571e
[ocilib] Add new port (#11549)
* ocilib port

* Update ci.baseline

* Code review

* Code review
2020-05-26 21:38:37 -07:00
Stephen E. Baker
46d0f05e2d
[luafilesystem][lpeg] Bump versions (#11554)
* Bump luafilesytem to 1.8.0 and lpeg to 1.0.2

* Code review changes for lpeg / luafilesystem

* [lpeg][luafilesystem] Remove windows only gates

* Remove failures from baseline
2020-05-26 21:32:47 -07:00
Jack·Boos·Yu
b271aeffa2
[VCPKG baseline] Fix many ports (#11559) 2020-05-25 11:52:48 -07:00
Phoebe
2ac2b5f3da
[Baseline] Fix boost-*:arm-uwp failure and resolve conflicts in CI (#11496)
* [baseline] Fix boost-*:arm-uwp failure and resolve conflicts in CI

* Remove itk:x64-osx=fail in CI

* Resolve conflicts

* Rebase the changes
2020-05-23 12:39:26 -07:00
emptyVoid
e792d1c171
[vcpkg-acquire-msys] Update pacman before any other package. (#11443)
* [vcpkg-acquire-msys] Update pacman manually to work around update issues.
2020-05-22 00:58:05 -07:00
Billy O'Neal
bc2c02fe47
[itk] Mark as passing on osx. (#11513) 2020-05-21 20:53:59 -07:00
Billy O'Neal
f2c46e717d
[vcpkg] Remove powershell from the 'run vcpkg ci' path to reduce hangs from msys components. (#11512)
* [vcpkg] Remove powershell from the 'run vcpkg ci' path to reduce hangs from msys components.

* The BatchScript task uses filename rather than filePath

* cmd hates BOMs

* cmd hates forward slashes
2020-05-21 20:48:05 -07:00
NancyLi1013
4c1db6840f
[python3] Fix dynamic build error on Linux (#11489)
* [python3] Fix dynamic build error on Linux

* Update baseline to resolve the regression
2020-05-21 11:39:48 -07:00
Christian Fersch
cbe795f788
[vcpkg] Fix cmake architecture detection on windows with ninja generator (#11466) 2020-05-21 11:39:03 -07:00
Sheen Tian
3dd53aae33
[mmloader ]Add new port (#11381)
* Add new port mmloader

* update the SHA512

* update the version

* Address PR comments
2020-05-21 11:25:25 -07:00
Alexander Neumann
27c6c94202
[vcpkg] Improve make builds (#10402)
* update all 16 configure_make ports

* add make wrappers for msvc

* improve make builds

* fix relativ path errors on linux (and osx?)

* revisit all 16 portfiles again

* remove trace from install

* fix relative build path issues.

* bump control of the 16 configure ports

* never forget .... real linux is case sensitive ....

* Revert "bump control of the 16 configure ports"

This reverts commit 40d6d81c01.

* Revert "Revert "bump control of the 16 configure ports""

This reverts commit 9c9851ddfc.

* bump control again for real ci rebuild

* add copy_source

* remove message

* pass parameters to vcpkg_build_make

* fix healpix build.

* fix libmagic regression

* fix libwandio regression

* pfring changes regression fix? (cannot test in wsl)

* ws change to retrigger CI

* fix libpq regression

* fix libudns regression

* add share/pkgconfig to PKG_CONFIG_PATH

* cleanup of deprecated options

* cleanup docs

* Revert "bump control again for real ci rebuild"

This reverts commit b4bc18edc2.

* shared binaries on linux should stay in lib. Only dlls are mvoed to bin

* move pkgconfig check and add message about missing system packages

* added autopoint as a build requirement

* fix prerun shell working dir.

* a few fixes from the x windows pr
- add libpath setting
- fixed pkgconfig search on windows platforms
- fixed autopoint msys package on windows

* fix release prefix

* minimal cleanup and ws changes to trigger true CI rebuild

* fix tcl by upgrading

* remove unnecessary rename

* fix pfring? can't test in WSL. Linux kernel headers required.

* fix lowercase in patch

* fix libwandio

* remove x264 from fail list

* replace wrappers with wrappers from automake

* update make ports

* remove unnecessary message

* refactor vcpkg_configure_make

* [tcl] remove stray ?

* [farmhash] fix build

* [freexl] ws change to retrigger ci build

* [x264] add pthread as a dependency

* [vcpkg/scripts] add ignore flag correctly

* [sdl] fix vcpkg_fixup_pkgconfig call

* [farmhash/freexl] delete configure and recreate it.

* [libudns] remove trailing ?

* [freexl] use empty build target

* [freexl] add system library; remove previous change

* Update ports/x264/portfile.cmake

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

* [libwandio] remove unncessary comment

Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-05-21 10:46:07 -07:00
Kevin Hartman
f6dd5aee5b
[vcpkg] Fix macOS applocal.py dependency bundling. (#11057)
This is the same issue and fix applied here https://github.com/OpenZWave/ozw-admin/issues/4.
2020-05-20 17:45:25 -07:00
Lily
0569520fc1
[protobuf] Fix protobuf build failed on CI (#11459)
* [protobuf] Fix protobuf build failed on CI

* [protobuf] Modify ci.baseline.txt
2020-05-20 10:12:55 -07:00
Wolfgang Stöggl
a29e5b6d5d
[tool-meson] Update to 0.54.2 (#11380)
* [tool-meson] Update to 0.54.2

- Release notes: https://mesonbuild.com/Release-notes-for-0-54-0.html
- Homepage added to CONTROL file

* Re-trigger CI test

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-05-20 10:10:59 -07:00
Billy O'Neal
9b4535e7ee
Fix CMake PATH that fails Windows tests. (#11453) 2020-05-19 17:02:19 -07:00
nicole mazzuca
00434687eb
[vcpkg] pass -disableMetrics to bootstrap on git bash (#11299)
in git bash, we call back into bootstrap-vcpkg.bat,
but we don't pass -disableMetrics through.
This commit corrects this
2020-05-19 15:22:44 -07:00
Martin Vejdarski
ec2b59b93e
[harfbuzz,skia] Update and replace Skia dependencies with vcpkg (#11416) 2020-05-19 15:20:18 -07:00
Jack·Boos·Yu
f23ebed76f
[cmake] Update to 3.17.2 (#10767)
* [cmake] Update to 3.17.1

* update cmake directory name

* [cpuid] Fix install headers.

* [stormlib] Fix install headers

* [murmurhash] Fix install headers

* [metrohash] Fix install headers

* update baseline

* update baseline

* [otl] update hash

* update baseline

* [gts] Do not use ninja to avoid empty implib issue

* update baseline

* [dmlc] Re-trigger ci test

* [replxx] Re-trigger ci test

* update baseline

* [osg] Re-trigger ci test

* [replxx] Fix build failure

* Set cmake min version to 3.17.1

* update baseline

* [libnice] Re-trigger ci test

* [mlpack] Re-trigger ci test

* update to 3.17.2

* update cmake hash

* update baseline

* update baseline

* update baseline

* update baseline

* Update scripts/ci.baseline.txt

Co-authored-by: Billy O'Neal <billy.oneal@gmail.com>

* update baseline

* update baseline

* [magnum] Set magnum:arm64-windows to skip in baseline

* [nanogui] Set nanogui:arm64-windows to fail in baseline

* [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR

* re-trigger CI test

* update baseline

* Install unixODBC in Linux

* [nanodbc] Re-trigger CI test

* update baseline

* Remove space

* update baseline
2020-05-19 14:47:19 -07:00
myd7349
3864f7b0c3
[munit] Add new port (#6780)
* [munit] Add new port

* [munit] Modernize

* [muint] Update to 2020-04-06

* [munit] Update CI baseline

* [munit] Update CI baseline

* [munit] Fail fast

* [munit] Download meson on linux and osx

* [vcpkg_find_acquire_program] Always download meson if not found

* Revert "[munit] Download meson on linux and osx"

This reverts commit e7e17730d4.

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-05-19 14:34:08 -07:00
Billy O'Neal
3b0080e3b0
[vcpkg] Harden file removals and clean directory contents in "CI" inside vcpkg itself. (#11432)
`files.h/files.cpp`:
* Add end and else comments to all macros.
* Add "remove_all_inside" function which empties a directory without actually deleting the directory. This is necessary to handle the case where the directory is actually a directory symlink.
* Change remove_all to use std::remove when VCPKG_USE_STD_FILESYSTEM is set; this will engage POSIX delete support available on current Win10.

`commands.ci.cpp`: empty "installed".

`*/initialize_environment.*`: No longer clean the directories outside the tool.

`ci-step.ps1`: Remove unused console output tee-ing.
2020-05-19 13:43:30 -07:00
nicole mazzuca
e806b2ed38
[vcpkg CI] Clean git directory before clone (#11450) 2020-05-19 12:23:39 -07:00
NancyLi1013
3f7bee619a
[libgo] Update to 3.1 (#11263)
* [libgo] Update to 3.1

* Add headers in debug sub folder

* Update ci.baseline and remove headers in debug/include directory

* Update the way to install headers and targets on Windows

* Remove the headers in netio/disable_hook on all platforms

* Add unsupported for arm and uwp

* Add only support static build and update ci.baseline

* code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-18 14:09:10 -07:00
Markus Rickert
87b2ae5500
[nlopt] Enable UWP support (#11398) 2020-05-18 11:20:37 -07:00
Markus Rickert
47e9a1d1c1
[vcpkg] msbuild: do not build vcpkgmetricsuploader when -disableMetrics (#11368) 2020-05-18 11:05:23 -07:00
Sönke Schau
9f516b9347
[gSoap] Update to 2.8.102 and re-enable x64 Builds (#11355)
* Update to 2.8.102 and reenable x64 Build

* Remove surplus empty directory during install

* Corrected the "Supports" entry in CONTROL

Should have read the documentation for "Supports" to see that this is a boolean expression
2020-05-18 10:45:46 -07:00
Vincent Gao
fb441358ab
[ctp] New port CTP library 6.3.15 (#10717)
* [ctp] New port CTP library 6.3.15

* [ctp] Minor changes
 - Update portfile to support custom triplets
 - disable CI due to downloading server availability

* Update ports/ctp/portfile.cmake

* Update ports/ctp/portfile.cmake

* Remove ${...} from if

Co-authored-by: Vincent Gao <xgao1023@outlook.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-18 10:43:53 -07:00
Alexander Neumann
9f051a093f
[libxml2] Add iconv and charset linkage in vcpkg-cmake-wrapper on osx (#11072)
* [libxml2] Add iconv and charset linkage in vcpkg-cmake-wrapper on osx

* update baseline

* update baseline
2020-05-18 10:40:18 -07:00
Nick Renieris
9f0f0bdedc
[libvmdk] Initial port (#11010)
* [libvmdk] Initial port

Signed-off-by: Nick Renieris <velocityra@gmail.com>

* Update scripts/ci.baseline.txt

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-05-18 10:38:59 -07:00
myd7349
9b79636305
[gperftools] Add new port (#8750)
* [gperftools] Add new port

* [gperftools] Fix linux build

* [gperftools] Update

* [vcpkg-baseline] Update

[gperftools] Install tools optionally

* [gperftools] Fail port on unsupported targets

* [gperftools] Add `Supports` field into CONTROL file

* [gperftools] Call vcpkg_copy_tools

* [gperftools] Fix *nix build error

[gperftools] Use static CRT in override mode

* [gperftools] Format

* [gperftools] Install deprecated headers
2020-05-15 13:59:18 -07:00
Billy O'Neal
5504dfa7da
[vcpkg] Turn on tests and PREfast in CI, and fix tests to pass. (#11239)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-14 12:49:31 -07:00
yurybura
24e8be5fcf
[boost] update to 1.73.0 (#11221)
* [boost] update to 1.73

* [ompl] remove dependency to boost-disjoint-sets

* [libtorrent] include fixes from RC_1_2 branch

* [liblas] fix boost headers

* [freeopcua] fix std headers

* [pcl] fix build with Boost 1.73.0

* [hpx] fix build with Boost 1.73.0

* [libmysql] fix conflict with C++20 header <version>

* [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake`
[boost-python] support Python2 (fixes #3495)

* [boost-python] remove Python executable from user-config

* [libtorrent] update version after merge

* [libtorrent] add boost-variant dependency
2020-05-13 10:26:05 -07:00
Sönke Schau
fa42722d56
[jaeger-client-cpp] New port (#9126)
* Initial commit

* Add missing files

* Add patchfile

* UWP Builds not supported

* Fix Linux version

* Removed 'include(vcpkg_common_functions)' as it is no longer needed

* Implemented proposed changes to portfile.cmake

* Further changes to portfile.cmake

* Added indicator that a failure is expected for arm64

* Added the expected failure on arm64 to ci.baseline.txt

* Combined two separate vcpkg_fail_port_install() calls

* Use upstream version compatible with opentracing 1.6

* Added 'Supports:' entry in CONTROL to signal missing arm64 support and removed vcpkg_fail_port_install() for UWP in portfile.cmake

Co-authored-by: xgcssch <soenke.schau@alte-leipziger.de>
2020-05-12 16:22:58 -07:00
NancyLi1013
ba7450abdd
[idevicerestore] Fix libgen.h cannot be found (#11074)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-12 16:10:16 -07:00
Silvio Traversaro
e4ce637066
[sdformat9] Add new port 🤖 (#11265)
* [sdformat9] Add new port

* Update ports/sdformat9/portfile.cmake

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

* Update ports/sdformat9/portfile.cmake

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

* Update ports/sdformat9/portfile.cmake

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

* [sdformat9] Fix indent

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-05-11 15:44:34 -07:00
Silvio Traversaro
d725b00ba9
[ignition-msgs5][ignition-transport8] Add new ports 🤖 (#11272)
* [ignition-msgs5][ignition-transport8] Add new ports

* fixup
2020-05-11 15:43:32 -07:00
driver1998
dfb1dc08b4
[mpg123] Enable UWP support (#11287)
* [mpg123] Enable UWP support

* cleanup

* [mpg123] Enable UWP CI
2020-05-11 15:42:41 -07:00
Pavel Kisliak
dac027e42e
[bitserializer-rapidyaml] Add new port (#11242)
Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
2020-05-11 15:31:28 -07:00
Martin Vejdarski
6d5a1a897e
[gn, crashpad] Add GN build support and crashpad port (#10505)
* [vcpkg_find_acquire_program] Add gn

* [GN] Add build system support

* [crashpad] Add new port
2020-05-11 14:58:12 -07:00
Maxime Gervais
7fdfe9eaf7
[libzen] Update to 0.4.38 (#11237)
* remove patch (merged upstream)
* update baseline (UWP support added)
2020-05-11 14:44:02 -07:00
huangqinjin
e886d48561
[android] Link C++ runtime according to VCPKG_CRT_LINKAGE (#11266)
https://developer.android.com/ndk/guides/cpp-support
2020-05-11 13:42:08 -07:00
Billy O'Neal
6920b49047
[vcpkg] [llvm] [mpir] Bump Linux VM memory size and do all operations on the temporary disk. (#11174)
* [vcpkg] Bump Linux VM memory size and do all operations on the temporary disk.

* [llvm] disable optional dependencies to libxml2 and zlib

* [vcpkg] Reduce quotas on the share to something reasonable.

* [mpir] Skip on Linux because it conflicts with libgmp.

Co-authored-by: yurybura <yurybura@gmail.com>
2020-05-10 15:17:27 -07:00
Tsukasa Sugiura
687a2b9b89
[azure-kinect-sensor-sdk] Fix Deploy Azure Kinect Sensor SDK on Windows (#11139)
* Fix Deploy Azure Kinect Sensor SDK on Windows

Fix deploy Azure Kinect Sensor SDK on Windows by copy Depth Engine.

* Fix Download URL by Version Number

* Fix Check SHA512 Hash of NuGet package

* Add Check Library Linkage

* Change Install Directory for Deploy Files

* Update ports/azure-kinect-sensor-sdk/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-08 14:35:59 -07:00
William Woodruff
a1c887936f
[uthenticode] Add new port (#11199)
* [uthenticode] Add new port

* ports/uthenticode: Add openssl as a dependency

* ports/uthenticode: 1.0.1

* ports/uthenticode: 1.0.2

* ports/uthenticode: Drop quotes

* treewide: Mark uthenticode as failing on UWP

* ports/uthenticode: Use ${PORT}
2020-05-08 14:35:16 -07:00
NancyLi1013
1ad4220e5b
[asmjit] Update to the latest commit (#11245) 2020-05-08 14:34:22 -07:00
Alexander Neumann
18ab20050c
[gmp,nettle,hogweed] Add new ports (#10613)
* add new function vcpkg_fixup_pkgconfig

* make message with changed files a debug_message

* add two more cases to the debug *.pc files

* comment out prefix.
use --define-variable=prefix=INSTALL_PATH

* changed the comment header.

* add missing word

* finish vcpkg_fixup_pkgconfig.cmake

* Update vcpkg_fixup_pkgconfig.cmake

Note: since CMake is run in script mode the description of VCPKG_FIXUP_PKGCONFIG_CALLED cannot be viewed

* transfer changes from x windows pr

* fix typo in regex

* add port for vs yasm integration within VCPKG

* add gmp

* add nettle

* add missing windows flag in control

* CI workaround
CI seems to not pass env YASMPATH correctly to cl.
Since YASM is on PATH -> remove $(VCInstallDir) as the default for YasmPath

* overwrite correct import.

* If CI does not give logs just display some extra info

* target replacement was mising

* apply same replacements for nettle

* remove unnecessary status message

* remove unnecessary platform code

* update supports field for vs-yasm

* apply replacement also to libhogweed

* fix static builds

* remove not working code

* remove debug/release options

* add additional replacement for the case the SOURCE dir has already been patched within VCPKG

* add triplet selection to vcpkg_install_msbuild

* fix missing ; in patches

* remove gmp dependency in static builds since they are not required

* cleanup portfiles

* add missing vcpkg_fixup_pkgconfig() call
2020-05-08 13:55:11 -07:00
Markus Rickert
2fc37d513a
[Coin3D] Add new ports for simage, Coin, and SoQt (#9880)
* [simage] Add new port

* [coin] Add new port

* [soqt] Add new port
2020-05-08 10:35:22 -07:00
L
6d3a3bc4aa
[gainput] imporve cmake search gainput library (#11000)
* imporve cmake search gainput library.

* Update ports/gainput/install_as_cmake_package.patch

* Update ports/gainput/install_as_cmake_package.patch

* fix error

* add prefix "unofficial"

* [gainput] fix dynamic build generate static lib

* remove unimportant changes

* [gainput] update ci.baseline.txt

* [gainput] fix build error on osx

* [gainput] update portfile

* Reset osx related code

* [gainput] update build option

* [gainput] update build option.
2020-05-07 23:45:18 -07:00
Lily
6d2619be5a
[gsoap] Add supports for gsoap (#11048)
* [gsoap] Add supports for gsoap

* [gsoap] Update the version

* [gsoap] Update ci.baseline.txt

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-07 23:24:28 -07:00
Billy O'Neal
d7d410b50b
[vcpkg] Restrict telemetry uploads to TLS 1.2 (#11213)
* [vcpkg] Restrict telemetry uploads to TLS 1.2, as required by Azure security policy.

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-07 14:20:14 -07:00
zhbanito
b07e46b368
[vcpkg] Add Linux toolchain x86 support (#8588)
Add compile option for x86 triplet target architecture

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-05-07 14:11:32 -07:00
Mayank Kataruka
0bee296e72
[gasol] Add new port (#9550)
* Added new port GASol

* added patch file

* Code Refactoring

* Code Refactoring to change port name

* Updated baseline to resolve file conflicts with nanovg and stb

* Added changes to ci-baseline and added port not supported on arm/uwp

* [gasol] Use cmake to build

* update baseline

Co-authored-by: SanaJahan <sanadgrt@gmail.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-05-07 12:36:44 -07:00
Jack·Boos·Yu
164284d86b
[cuda] Fix find cuda in UNIX (#10838)
* [cuda] Fix find cuda in UNIX

* update baseline

* [cuda] Add homepage

* add newline to end of CONTROL

* Update ports/cuda/portfile.cmake

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

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-07 12:35:22 -07:00
Egor Chesakov
2459c7c4ba
[rtlsdr] Add new port (#10901)
* Add rtlsdr port

* Update ci.baseline.txt

* Update to use github mirror in portfile.cmake

Co-authored-by: Egor Chesakov <echesakov@users.noreply.github.com>
2020-05-07 11:56:16 -07:00
Stefano Sinigardi
7a0c97b6b3
[OpenCV2] add new "old" port (#7849)
* [OpenCV2] add library for older C projects

* [OpenCV2] fixes for non-Windows systems

* [OpenCV2] add warnings for Ubuntu

* add fixes for cuda

* [OpenCV2] disable parallel building, otherwise cuda fails

* [OpenCV2] refresh port with latest fixes

* [OpenCV2] fix CONTROL

* [OpenCV2] fixes for windows

* [OpenCV2] fixes to avoid unnecessary install of pre-built ffmpeg, since it already uses externally provided one

* [OpenCV2] openexr still has some problems, explicitly removed UWP support

* [OpenCV2] use targets wherever possible. Jasper and OpenEXR features would require improvements in those ports, in order for them to provide targets too

* [OpenCV2] re-enable parallel build also with CUDA

* [OpenCV2] improve compatibility with CUDA 10+

* [OpenCV2] fix broken CUDA targets

* [darknet] enable opencv2 feature

* skip from building, like opencv3, to avoid problems in CI
2020-05-06 15:26:16 -07:00
Michał Janiszewski
305785ba9b
[libmpeg2] Add new port (#8871)
* [libmpeg2] Add new port

Libmpeg2 seems to be a somewhat old project, last release was done in
2008, but it is still in use by some projects e.g. ResidualVM

I have verified the mpeg2dec built for x86-64 with MSVC produces similar
results as the one pre-packaged on my Arch.

* [libmpeg2] Apply review comments

* [libmpeg2] Add ci.baseline.txt exemptions
2020-05-06 13:53:41 -07:00
Alexander Neumann
0bbf4400e9
[vcpkg/scripts] Fix ninja search path on windows and find binaries within vcpkg first (#11105)
* [vcpkg/scripts] fix wrong paths variable on windows

* [vcpkg/scripts] search within vcpkg first and then ask the rest of the world

* [vcpkg/scripts] add second search path for ninja.
First is for vcpkg fetch ninja
Second is for vcpkg_find_acquire_program
2020-05-06 13:52:51 -07:00
Stephen Webb
9614c6a962
[apr apr-util] Apr and apr-util for non windows systems (#8579)
* Allow the apr port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* [log4cxx] add new port

* Add aarch64 cross compilation support

* Allow apr and apr-util ports to used with a cross compiling tool chain

* @PhoebeHui requested changes

* Remove files that leaked from 'add-log4cxx-port' branch

* @PhoebeHui requested changes

* Move apr-util-unix and apr-util-windows portfile.cmake content back into apr-util/portfile.cmake

* Use the same released archive for unix and windows

* Use the same released archive for unix and windows (1.6.1)

* Update APR version to the latest

* Prevent unrelated CI failures

* Prevent CI failure for arm64 on x86 CI machine

* Prevent CI failure for arm64 on x86 CI machine

* Use vcpkg_configure_make and vcpkg_install_make instead of vcpkg_execute_required_process

* Remove shared libraries if a static build

* Revert "Remove shared libraries if a static build"

This reverts commit 540e158e1fbfe53b889bef8b928bc8feb62775c2.

* Prevent CI failures due to static build installing apr-1-config into bin

* @PhoebeHui requested changes

Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au>
2020-05-06 13:20:49 -07:00
Charles Milette
411929e664
[discord-game-sdk] new port (#10763)
* [discord-game-sdk] new port

* [discord-game-sdk] Invert Supports field

* [discord-game-sdk] Fix Supports field

* [discord-game-sdk] Fix Supports field again

* [discord-game-sdk] Update find_library

* [discord-game-sdk] Rename LICENSE.md, remove include(vcpkg_common_functions)

* [discord-game-sdk] Fix Linux build, add usage file

* [discord-game-sdk] Add missing file(INSTALL)

* [discord-game-sdk] Update baseline and fix macOS build

* [discord-game-sdk] Specify C++ standard version

* [discord-game-sdk] Remove vcpkg_copy_pdbs

* [discord-game-sdk] Replace ToS text by link to online version
2020-05-06 11:01:30 -07:00
Vitaly Petrov
07f7b67186
[libvpx] Added support for build on MacOS and Linux (#11022)
* [libvpx] Added support for build on MacOS and Linux

* [libvpx] Fix ci-baseline
2020-05-06 10:45:40 -07:00
Billy O'Neal
66d4f9d411
[vcpkg] Add tombstone deletion scripts. (#11189) 2020-05-06 10:31:14 -07:00
Billy O'Neal
4fc008c7f7
Baseline LLVM on Linux to restore the ability to merge PRs. (#11190) 2020-05-05 22:53:42 -07:00
Billy O'Neal
7db401cb1e
[qt5] Add -j to make to parallelize on Linux and MacOS (#11111) 2020-05-04 15:37:57 -07:00
Billy O'Neal
63e1d87432
[vcpkg] Add disk space report on Linux and MacOS. (#11166) 2020-05-04 12:12:07 -07:00
yurybura
cfc05991f5
[llvm] Update to version 10.0.0 and add new features (#10295)
* [llvm] Update to version 10.0.0 and new features

* switch to llvmorg-10.0.0-rc3, allow to use bin directory for tools

* Fix CMake targets after vcpkg_fixup_cmake_targets call.

* [halide] Update to master version to support LLVM 10

* [halide] fix x64-osx build

* [llvm] add enable-assertions feature

* [llvm] fix comment

* [llvm] enable ci for x64-linux and x64-osx

* [llvm] update to v10.0.0-rc5
[llvm] disable assertions and ABI breaking checks by default
[llvm] limit the maximum number of concurrent link jobs to 1
[llvm] add postfix `d` and debug shared libraries in the `/bin` directory

* [llvm] revert debug postfix `d`
[llvm] don't remove debug version of tools and shared libs

* [llvm] fix debug tools path

* [llvm] update to release tag llvmorg-10.0.0
[llvm] build with CMAKE_DEBUG_POSTFIX=d
[llvm] remove debug binaries

* remove new CMake argument FOLLOW_SYMLINK_CHAIN

* [llvm] force TableGen to be built with optimization

* [llvm] add future disable-clang-static-analyzer

* [llvm] add futures for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests

* [llvm] add features for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests

* [llvm] update features description

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-05-03 20:30:17 -07:00
myd7349
0ab1a9e1c6
[vcpkg] Add new function vcpkg_copy_tools (#8749)
* [vcpkg] Add new function vcpkg_copy_tools

* [cpuinfo][czmq][nanomsg][uriparser] Use vcpkg_copy_tools

* [czmq] Clean even tools are not copied

[libsvm][zyre] Use vcpkg_copy_tools

* [vcpkg-copy-tools] Clean debug/bin

This should fix czmq build error

* [czmq] czmq does not have BUILD_TOOLS option

* [vcpkg] Split clean logic into another function

* [cpuinfo][czmq][nanomsg][uriparser] Fix calling of vcpkg_copy_tools

* [zyre] Fix regression error

* [vcpkg] Update try_remove_empty_directory

* [libsvm] Fix vcpkg_copy_tools call
2020-05-01 15:28:55 -07:00
Billy Robert O'Neal III
6aab6e0d3d [OpenBLAS] Upgrade to 0.3.9 + a patch to fix AVX512 (which is now present on the VMs) 2020-04-30 21:51:31 -07:00
Billy Robert O'Neal III
b8755728ab [vcpkg] Onboard Linux to VMSS, open 'git' port, and switch back to Azure Spot
* Adds scripts to generate scale sets for testing Linux.
    * Note workaround for https://github.com/microsoft/azure-pipelines-agent/pull/2929
* Switches Windows validation to 'Spot' VMs.
* Opens the git port 9418.
* Removes provisioning of the no longer used 'logs' file share.
* Changes Azure region to 'westus2', which is cheaper.
* Adds +x to all the scripts in scripts/azure-pipelines.
* Use 'xml-results' for all platforms instead of 'raw xml results' on Windows.
2020-04-30 21:51:31 -07:00
Gregor Jasny
43d664ab53
[civetweb] Update to version 1.12 (#10591) 2020-04-30 17:56:33 -07:00
Fabien Castan
4f1ce2eea6
[alembic] linux fixes (#10912)
* [alembic] make the portfile linux-compatible

* [alembic] fix build error in debug on linux

* [alembic] simplify renaming of copyright file

* [alembic] code simplification and formatting

* [alembic] update version to 1.7.12-1

* [alembic] linux build does not fail anymore
2020-04-30 17:45:43 -07:00
Nick Renieris
c1dd394d1c
[libqcow] Initial port (#11036)
* [libqcow] Add new port

Signed-off-by: Alexandro Sanchez Bach <alexandro@phi.nz>

* [libqcow] fix build

Co-authored-by: Alexandro Sanchez Bach <asanchez@kryptoslogic.com>
2020-04-30 17:21:19 -07:00
Voskrese
b8c5ede662
[msbuild] Hotfix /p:UseEnv=True to be a port-local setting (#11058)
* Update vcpkg_build_msbuild.cmake

* Update vcpkg_install_msbuild.cmake

* Update CONTROL

* Update CONTROL

* Update portfile.cmake

* Update portfile.cmake

* Update ci.baseline.txt
2020-04-30 10:11:20 -07:00
Jack·Boos·Yu
695d2a8a4d
[armadillo] Add dependent port superlu on osx (#11063)
* [armadillo] Add dependent port superlu on osx

* [armadillo] Suppress automatic dependency enablement

* [mlpack] Re-enable in CI

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-30 10:05:06 -07:00
Alexander Neumann
2e33b93e27
[qt5] reactivate qt5-activeqt in CI by adding a fake dependency to qt5-declarative (#11045)
This is required so that qt5-tools is not skipped in CI which affects CI coverage.
In general Qt5 ports should not be build apart from each other but as complete package!
Or VCPKG should accept installing duplicated *.dll in every folder excebt for /bin or debug/bin
2020-04-30 10:02:20 -07:00
Alexander Neumann
d054476e04
[vcpkg_acquire_msys] Fix undefined working dir. (#11102) 2020-04-30 09:50:29 -07:00
nicole mazzuca
b4f8f14529
[vcpkg baseline] Ignore mlpack on macOS (#11091)
There's some conflict with something else.
2020-04-29 18:29:53 -07:00
Billy O'Neal
d9d283bd2b
Bump macos build timeouts. (#11090) 2020-04-29 17:26:12 -07:00
myd7349
b9c3a26392
[opencc] Add new port (#8474)
* [opencc] Add new port

* [opencc] Update to 2019-10-09

* [opencc] Minor update

* [opencc] Modernize

* [opencc] Update to 2020-04-26

* [opencc] Bypass arm64-windows

* [opencc] Modernize

* [opencc] Rebuild on osx
2020-04-28 13:14:11 -07:00
Billy O'Neal
7341c295b6
[vcpkg] Copy macos pipelines into azure-pipelines.yml 2020-04-28 13:02:39 -07:00
Alexander Neumann
c444db5f5a
[scripts] add new function vcpkg_fixup_pkgconfig (#9861)
* add new function vcpkg_fixup_pkgconfig

* make message with changed files a debug_message

* add two more cases to the debug *.pc files

* comment out prefix.
use --define-variable=prefix=INSTALL_PATH

* changed the comment header.

* add missing word

* finish vcpkg_fixup_pkgconfig.cmake

* Update vcpkg_fixup_pkgconfig.cmake

Note: since CMake is run in script mode the description of VCPKG_FIXUP_PKGCONFIG_CALLED cannot be viewed

* transfer changes from x windows pr

* fix typo in regex

* make the regex comment aware
make pc files relocatable by using ${pcfiledir} in prefix
tested with x window pr
2020-04-27 17:37:55 -07:00
Jack·Boos·Yu
981daa4e98
[gts] Support for build with cmake in unix (#10055)
* [gts] Support for build with cmake in unix

* update baseline

* [gts] Apply patch

* [gts] Fix undefined M_PI in windows

* update baseline
2020-04-27 08:01:31 -07:00
Chris Moore
ff32240ab4
[Libtomcrypt, libtommath] new ports (#10960)
* Add initial version of libttommath port

* Add initial version of libtomcrypt port

* Remove unnecessary EXTRALIB flag.

* Remove deprecated include(vcpkg_common_functions)

* Add homepage to CONTROL file

* Update license copying in portfile

* [libtommath] make build for non-windows

* [libtomcrypt] make build for non-windows

* [libtomcrypt] update ci baseline

* [libtomcrypt] set HEAD_REF to upstream dev branch

* [libtommath] set HEAD_REF to upstream dev branch

* [libtomcrypt] Correct CFLAGS and include path

* [libtommath][libtomcrypt] Lowercase 'debug' folder. Tweak CRT flags. Use VCPKG_CONCURRENCY.

* [libtomcrypt] Remove x64-windows-static=fail from the ci baseline

Co-authored-by: Frederik Juul <frederik.juul@3shape.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-27 06:53:55 -07:00
Jack·Boos·Yu
a048cffdf3
[hwloc] Support UNIX (#10615)
* [hwloc] Support UNIX

* update baseline

* update baseline

* update baseline
2020-04-24 14:10:39 -07:00
NancyLi1013
56738de192
[sdl2-gfx] Fix build error on non windows (#10575)
* [sdl2-gfx] Fix build error on non windows

* Update as review suggestions

* Updated to support osx
2020-04-24 14:05:43 -07:00
Park DongHa
7fbb19602a
[coroutine] update to 1.5.0 (#10692)
* [coroutine] update to 1.5.0

* this is release candidate
* WindowsStore build will be updated soon

* [coroutine] support UWP build

* triplet(community) `x64-uwp`, `x86-uwp`
* triplet: `arm-uwp`, `arm64-windows`

* [coroutine] mark install failure on uwp/linux

* update checksum
* use `vcpkg_fail_port_install`

* [coroutine] remove x86-windows fail in ci.baseline

* [coroutine] Relax install restrictions on Linux. Use vcpkg_fixup_cmake_targets().

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-24 14:02:39 -07:00
Robert Schumacher
84f94fb6fd
[cppcoro] add new port (#10693)
* [cppcoro] add new port

* [cppcoro] update with PR review

* update reference to tag and hash value
* ${PORT} for destination

Linux build support should marked unavailable?

* [cppcoro] embed CMakeLists.txt file

* copy the CMakeLists.txt file and start build with it
* change version to 2020.2

For now the repo doesn't have any tags.
Therefore its version followed the latest commit,
which is made in 2020 Feb.

* [cppcoro] 2020-02-28

* [cppcoro] port install failure on platforms

* vcpkg_fail_port_install on uwp/linux

mention PR #10693 so linux/clang users can see the port issues

* [cppcoro] force static linkage

* report error for clang-cl

build with VC++ in VS 2019 will fail by the header file.

* [cppcoro] register ci.baseline failure

* [cppcoro] Simplify CMakeLists.txt to ease future maintenance. Fix VS 2019 builds.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-24 14:01:38 -07:00
simon987
c0d6fc23c1
[libmupdf] fix build error on Linux (#10708)
* minimum to compile on linux

* Update as reviewed

* Update baseline and add the condition to execuate script

* Move find_program and make it REQUIRED

* always execute generate command

* only use make in find_program

Co-authored-by: Nancy Li (Beyondsoft Corporation) <v-ruil@microsoft.com>
2020-04-24 02:58:24 -07:00
Odysseas Georgoudis
b896a0da5a
[Quill] Add new port (#10902)
* [Quill] Add new port

* Mark port as unsupported for uwp/arm/arm64 and update ci.baseline

* Mark uwp, arm and arm64 as ignored in ci.baseline

* fix alphabetical order in ci.baseline

* Remove duplicate from ci.baseline

* Invert supports expression in CONTROL

* Mark as skip in ci.baseline

* Address review comments

* Bump version to 1.2.1

* add vcpkg_fail_port_install

* use vcpkg_from_github and simplify feature options

* fix file alignment

* Always depend on fmt
2020-04-23 21:40:56 -07:00
Alexander Neumann
bb7ccc4b90
[Qt[latest]] Update to 5.14.2 (#10644)
* make qt5 all features and add the missing qt modules

* fix control

* qt5 webengine enviromnent setup

* copy qtminimal plugin to tools

* add opengles3 option for testing

* [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

* update Qt Control fields

* update qt hashes to 5.12.7

* update baseline
update missing hashes
update empty include/packages
add info for placeholder ports not yet correctly working (e.g. qt5-wayland)

* fix linux qt targets not having debug properties.

* remove most of the wrapper

* actual forgot to commit the prl parser

* fix the config a bit differently. have to check linux configs again

* add xlib patch.

* make qt-base fail to get logs on linux

* Need logs from qt5-base

* update versions I missed

* ws change

* lets see if this is enough to make qt5-x11extras happy

* add upstream patch.

* add newline to patch

* ws change to trigger rebuild and maybe get logs on osx failure

* need generated cmakescripts to check linkage.

* rename cmake files to end on .log so that i can inspect them after CI failure

* fix patch

* make qt run

* androidextras only supports android

* qt5-doc will only be build on linux

* ws ci trigger due to download failure

* WS to retrigger CI due to download failure

* add code for debug tools

* lets see if we can do it with only the release tools

* update baseline

* fix create link error on linx

* update baseline

* revert changes which tried to use release tools only

* fix dependencies

* add debug qt.conf

* add another copyright install

* qtdoc does not have any include files

* fix wrong copy pasta

* update latest port hashes.

* make the patches versions dependent

* cleanup qt5 control a bit

* update qt5-base control for ci run to use latest

* fix patches for latest

* forgot to commit the portfile changes

* fix imageformat dependencies for latest qt

* update last hash

* fix translations dependencies

* get cmake scripts from CI

* new patch for creating correct configs

* patch precompiled headers away from qt5-webengine

* fix patch for 5.12.7. (Patch was for 5.14.1)

* trigger CI rebuild

* add simple gl path to fix the chormium build error

* comment out debug message from prl parser

* bump control

* update webengine control

* update CI to skip webengine.

* update baseline

* ws change to osg-qt

* remove kd-soap from faillist

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

* remove wrapper and get plugin info also from linux and osx

* allow build of complete qt

* fix missing parameter in populate plugin.

* need more info from CI

* fix foreach CI loop

* comment out CI code colllection to make a full qt5 ci run

* fix qt5-imageformats regression on linux

* update baseline

* - add patch to find the debug library
- manually fix EGL path in Qt5GuiConfigExtras.cmake

* bump control

* update hashes to 5.14.2

* comment out messages for debugging

* bump version in control

* fix create cmake patch

* add qtmain path corrections for single configuration build.

* fix escaping of . in regex

* remove one to many \\

* remove latest as a default feature

* reenable messages to debug osg-qt issue on osx.

* small cmake options details.
might need to patch cmakelists.txt if this is not working

* remove unnecessary comment

* make prl parser silent again.

* remove canvas3d from the default features since it has been deprecated and will be removed in the future

* remove ws change

* remove newline and ws

* trigger ci test

* revert 199a3ef92f

* add messages to qt5-webengine and adjust baseline

* add jpeg and zlib to JASPER_LIBS

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-04-23 21:19:45 -07:00
Voskrese
ed9511fcf6
[libvpx][mpg123] Fix use of YASM in MSBuild (via path) (#10952)
* Update vcpkg_build_msbuild.cmake

* Update vcpkg_install_msbuild.cmake

* Update portfile.cmake

* Update CONTROL

* Update portfile.cmake

* Update CONTROL

* Update ci.baseline.txt.

* Update ci.baseline.txt

* Update ci.baseline.txt

* Update ci.baseline.txt

* Update portfile.cmake

* Update CONTROL

* Update CONTROL

* Update portfile.cmake

* [mpg123][libvpx] UWP is a target

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-23 21:18:56 -07:00
Cheney Wang
b6cd6ca0ba
[vcpkg] Update git to 2.26.2 (#10932)
* Update git to 2.26.1

* [vcpkg] Update git to 2.26.2

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2020-04-23 13:47:47 -07:00
Johnny Willemsen
9f31167fb2
[ace] Add support for MacOSX (#10984)
* [ace] Update to 6.5.8

* Address review comments

    * ports/ace/portfile.cmake:

* Put back copy step

    * ports/ace/portfile.cmake:

* Fixed error

    * ports/ace/portfile.cmake:

* ARM should work, let us try it

    * ports/ace/portfile.cmake:

* ARM doesn't work yet, so disable it again
    * ports/ace/portfile.cmake:

* Add support for vcpkg of ace on MacOSX

    * ports/ace/portfile.cmake:

* [ace] ACE should work now on ARM
    * ports/ace/portfile.cmake:

* [ace] OSX should work now

 scripts/ci.baseline.txt:

* ARM doesn't work yet, visual studio 2019 is broken for the moment

    * ports/ace/portfile.cmake:

* Increment version of ace

    * ports/ace/CONTROL:
2020-04-23 13:45:56 -07:00
vvandrounik
a0126a86e7
[ryml] Add new port (#10793)
* [ryml] Add new port

* Remove deprecated include

* Fix ver regarding maintainer guide

* Mark port as unsupport arm/arm64/osx

* Update CI baseline

* Replace deprecated func vcpkg_extract_source_archive,
add PREFER_NINJA to conf

* Fix wrong placed port states

* Resolve merge conflict
2020-04-23 13:43:38 -07:00
Billy Robert O'Neal III
21e6e12e63 WIP 2020-04-22 17:23:58 -07:00
Billy Robert O'Neal III
ee24c0a236 WIP 2020-04-22 15:47:54 -07:00
Billy Robert O'Neal III
9256735ad5 WIP 2020-04-22 02:47:03 -07:00
Billy Robert O'Neal III
f9321f8d08 WIP 2020-04-21 21:21:53 -07:00
Billy Robert O'Neal III
070a18974b Change supporting infrastructure to use Azure Virtual Machine Scale Sets for vcpkg's PR builds, which should both improve our PR build times and reduce Azure spending by shutting down machines when they aren't being used.
Included is a script that sets up all vcpkg's Azure infrastructure for Windows PR tests, and several updates to baselines. The baseline updates are generally caused by an updated copy of the MSVC++ compiler caused by updating the VMs, but some are caused by missed failures only detected now because this did a cleared out archives directory first.

Some of the build infrastructure isn't what I'd call 'pretty' (e.g. we're split into more scripts and such than I'd like) but this mirrors how our existing PR system works.

It is expected that the existing vcpkg Windows PR system will hate these baseline updates so we'll need to merge this, then remove that (duplicate) workflow immediately afterwards, then delete all the Windows VMs powering the old infrastructure.
2020-04-21 17:12:21 -07:00
Lily
43d13abe44
[ompl] Fix ompl[app] build error (#10854)
* [ompl] Fix ompl[app] build error

* [ompl] Fix patch apply error

* [ompl] Remove extra comment

* [ompl] Fix build error on Linux/MACOS
2020-04-21 13:31:10 -07:00
NancyLi1013
1da127ed7c
[winreg] Update to 2.2.0 (#10926)
* [winreg] Update to 2.2.0

* Revert changes INSATLL to COPY headers
2020-04-21 13:17:32 -07:00
Park DongHa
fe0202d7f3 [cppcoro] register ci.baseline failure 2020-04-21 00:39:26 +09:00
Long Huan
71377f69e2
[qscintilla] Update to 2.11.4 (#10511)
* update qscintilla to 2.11.4

* Update portfile.cmake

* for CI test

* undo

* add !osx support

* fix osx build error

* Update ci.baseline.txt

* Update ci.baseline.txt

* [ci.baseline.txt] Revert line endings change

* [qscintilla] Restore vcpkg_copy_pdbs()

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-04-17 15:11:12 -07:00
vvandrounik
7d2f838ea7
[c4core] Add new port (#10791)
* [c4core] Add new port

* Remove deprecated include

* Fix ver regarding maintainer guide

* Mark port as unsupport arm/arm64

* Update CI baseline

* Mark port as unsupport OSX

* Update CI baseline

* Fix path to header instead of moving

Signed-off-by: vvandrounik <vvandrounik@gmail.com>

* Replace deprecated func vcpkg_extract_source_archive, add PREFER_NINJA to conf
2020-04-17 14:10:00 -07:00
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