1057 Commits

Author SHA1 Message Date
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
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 8b9b188839ec90c25b54b49d17cf03c50987a49b.

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

* add ogre:x64-osx=fail to CI baseline

* retry on osx

* fix configure error. since in qt5-base everything is in the package directory and not in the installed

* revert change to ci.baseline

* update ci baseline

* bump control

* update baseline

* ws change to osg-qt

* reset ci baseline to upstream/master

* update baseline

* fix osg-qt?

* skip ms-angle on osx and linux since the normal angle port should be used!

* update ci baseline

* try adding fontconfig manually

* update ci baseline to remove osg-qt for the time being

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

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

* fix indentation

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

* improve angle

* update egl-registry

* fix osx regression

* update baseline.

* fix uwp regressions

* fix osx and linux regression

* add encoding patch

* bump glad control

* rechdeck gl visibility from native build

* removed unnecessary commented code

* add GL_VISIBILITY to the exported targets

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

* change to the two ports using meson

* fix passing of empty compiler arguments.

* dont transform / into - for all flags

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

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

* add missing /pkgconfig dir to PKG_CONFIG_PATH

* fix pkgconfig setup

* add share/pkgconfig to PKG_CONFIG_PATH

* Add CMake path to PATH for meson

* add share folder to prefix for meson

* remove double message

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

* bump controls

* update toolchain selector to use VCPKG_TARGET_IS_<paltform>.

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

* [libffi] Use VCPKG_TARGET_ARCHITECTURE to determine triplet

* [libffi] Use VCPKG_TARGET_ARCHITECTURE in CMakeLists.txt

* update baseline

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

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

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

* [hunspell] Disable build tools in non-Windows

* update baseline

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

* [openvr] Updated to v1.10.30

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

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

* vcpkg_from_git: append ssh bin directory to path

* vcpkg_from_git: fix function signature on non windows platforms

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

This reverts commit 0d608ee5911d2ba274e782a21dfe77a502a39053.

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

This reverts commit 377ce3fae1e2c085a5da7ace8185624a345a511b.

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

This partially reverts commit 9b81b16c4ccd3d8646d97e66234566a07af8a308.

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

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

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

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

* [lodepng] Modernize port

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

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

* [kealib] Switch repo to github

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

* [monkeys-audio] Update version to 5.24

* [mongo-c-driver] Fix arm build

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

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

* [llvm] Remove default feature tools

* [llvm] Add judgment to install tools

* [llvm] Add more condition

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

* [halide] Fix build depends info in CONTROL

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

* Updated version number.

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

* Update patch

* Update ci baseline file

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

* Update the ci baseline file

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

* [upb] Remove unneeded changes

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

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

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

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