Commit Graph

10634 Commits

Author SHA1 Message Date
Neel Raiyani
be1851a030
[cppitertools] Update to version 2.0 (#10848)
* update control and portfile

* update portfile based on feedback by Nicole

* fix cppitertools

Co-authored-by: Nicole Mazzuca <nicole@strega-nil.co>
2020-04-16 11:56:36 -07:00
Lily
8834bbc7b1
[nlohmann-fifo-map] Fix Could not find a package "nlohmann-fifo-map" (#10850) 2020-04-16 11:55:00 -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
Lily
4b8ad78657
[curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error (#10535)
* [curl] Add zlib to default feature

* [curl] Fix line alignment

* [curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error

* [curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error
2020-04-16 11:48:33 -07:00
Meyer Zinn
29d3b0b3a8
Use PORT variable instead of hardcoded name. 2020-04-15 18:09:03 -05: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
Kevin Lu
8fd3f813b7 Forgot to bump version in accordance with maintainer guide 2020-04-15 11:22:19 -04: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
Kevin Lu
95c2771fce [Freetype] Actually prevent linking HarfBuzz on POSIX
Correctly fixes #10041
Fixes three typos in #10073
2020-04-15 00:25:54 -04: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
zi-m
c0ec13d320 update portfile.cmake according to LilyWangL review 2020-04-14 09:12:31 +02:00
zi-m
5c30e5b6bc update portfile.cmake according to NancyLi1013 review 2020-04-14 08:54:22 +02:00
zi-m
f8c5785138 update to 1.18.1 and export blosc-config.cmake 2020-04-13 22:14:21 +02:00
zi-m
db7aaf8ab2 export zstd-config.cmake 2020-04-13 21:39:29 +02:00
Meyer Zinn
a3a56c4699 Fix copyright. 2020-04-13 10:53:52 -05:00
Meyer Zinn
90f204d9d8 resolve merge conflicts 2020-04-13 10:40:54 -05:00
Meyer Zinn
6ea5afaf9c Add quadtree
make review corrections
2020-04-13 10:38:59 -05:00
Voskrese
36bd7c4be3
fix clean 2020-04-13 11:41:27 +08:00
Voskrese
b0037f4621
fix clean 2020-04-13 11:40:43 +08: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
Meyer Zinn
37578d6df2 Add quadtree 2020-04-11 13:52:54 -05:00
Voskrese
63cc016504
physfs mirror url 2020-04-11 20:51:37 +08:00
Voskrese
500316594f
physfs mirror url 2020-04-11 20:41:03 +08:00
evpobr
e73ad47065 [libvorbis] Update to 1.3.6-4d963fe
* Use latest upsteam
* Support config mode (upstream)
* Remove patch 0002 (merged to upstream)
* Remove `ogg.patch` (not needed)
2020-04-10 13:52:40 +05: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
nicole mazzuca
1448db9d6f
[vcpkg-test] Fix the check for ability to make symlinks (#10543)
The old check checked to see if the computer was in developer mode _OR_ allowed sideloading apps, but we want _only_ developer mode.
2020-04-09 16:33:36 -07:00
nicole mazzuca
47a4913834
[vcpkg] Correct UInt128 code 😇 (#10583)
* [vcpkg] Correct UInt128 code 😇

`UInt128::operator<<(x, y)` should clear the bottom 64 bits of `x` if
`y >= 64`; however, we don't do this, and so we duplicate `x`'s bottom
bits into `x.top` instead of moving them. Similarly, we have the
opposite problem for `UInt128::operator>>`. This commit fixes these
latent bugs, which we weren't hitting because the thing we use them for
never actually shifts more than 64 bits.
2020-04-09 14:11:53 -07:00
Alexander Neumann
f99b18d573 handle multiline arguments in makefile correctly 2020-04-09 12:41:16 +02:00
Alexander Neumann
661f329e03 [gsl] update to 2.6 2020-04-09 11:00:18 +02:00
wangli28
002cf744fc [fmt] Fix coolprop build error 2020-04-09 08:04:35 +00:00
wangli28
279867cb0c [fmt] update to 6.2.0 2020-04-09 02:27:36 +00:00
Daniel Parker
0304c45315
[jsoncons] update to v0.150.0 (#10688)
* [jsoncons] update to v0.150.0

* [jsoncons]Fixed version in CONTROL file
2020-04-08 15:57:50 -07:00
Alexander Neumann
919856ad45
fix some remaining absolute paths. (#10746) 2020-04-08 12:33:54 -07:00
derselbst
a4a5c65cc8 [libffi] Check return value of execute_process()
To avoid hiding errors, the return values of the execute_process()
commands should be checked and a fatal error should be issued.
2020-04-08 10:20:44 +02:00
PhoebeHui
6b5ff56193 [openssl-windows] Avoid to install docs for openssl-windows 2020-04-08 00:44:01 -07:00
wangli28
3229d17dc8 [DirectXMesh] Add support build for DirectX12 2020-04-08 03:16:59 +00:00
Dimitrij Mijoski
a21f8d2fc8 [nuspell] update port to v3.1.0 2020-04-08 01:37:47 +02:00
Glyn Matthews
495dc65823 Bumped version number of skyr-url because of fix to CI error 2020-04-07 21:25:35 +02:00
Carlos O'Ryan
a3a6e70344
[google-cloud-cpp*] update to the latest release (#10680) 2020-04-07 10:03:46 -07:00
NancyLi1013
a02ca62f75 [raylib] Update to 3.0.0 2020-04-07 00:59:49 -07:00
Phoebe
deca92ce4e
Merge branch 'master' into supported-version-change 2020-04-07 15:38:52 +08:00
richardh
7f2bb735df modified control file to inidcate version 2020-04-07 08:16:43 +01: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
Michael Konečný
7edaafb077
[mpfr] Add mirror for mpfr at gnu.org (#10035)
* add mirror for mpfr at gnu.org

* remove deprecated include(vcpkg_common_functions)

* update version number after modified port

* update copyright handling command to install
2020-04-06 15:21:36 -07:00