Commit Graph

8639 Commits

Author SHA1 Message Date
Stephan T. Lavavej
f0902b3537 VS 2019 16.3 deprecates <experimental/filesystem>. (#6968)
VS 2019 16.3 will contain a couple of source-breaking changes:

* <experimental/filesystem> will be deprecated via an
impossible-to-miss preprocessor "#error The <experimental/filesystem>
header providing std::experimental::filesystem is deprecated by
Microsoft and will be REMOVED. It is superseded by the C++17
<filesystem> header providing std::filesystem. You can define
_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge
that you have received this warning."

* <filesystem> will no longer include <experimental/filesystem>.

In the long term, I believe that vcpkg should detect when it's being
built with VS 2017 15.7 or newer, compile in C++17 mode, include
<filesystem>, and use std::filesystem. (Activating this for VS 2019 16.0
or newer would also be reasonable.) Similarly for other toolsets
supporting std::filesystem.

In the short term, this commit makes vcpkg compatible with the upcoming
deprecation. First, we need to define the silencing macro before
including the appropriate header. I've chosen to define it
unconditionally (without checking for platform or version), since it
has no effect for other platforms or versions. Second, we need to deal
with <filesystem> no longer including <experimental/filesystem>.
I verified that VS 2015 Update 3 contained <experimental/filesystem>
(back then, it simply included the <filesystem> header, where the
experimental implementation was defined; this was later reorganized).
Therefore, all of vcpkg's supported MSVC toolsets have
<experimental/filesystem>, so we can simply always include it.

I've verified that this builds with both VS 2015 Update 3 and
VS 2019 16.1.3 (the current production version).
2019-06-20 11:46:55 -07:00
Jackie Ng
dfd5bb46a1 [sqlite3]: Shared library support for Linux (#6856)
* [sqlite]: Shared library support for Linux

* [sqlite3]: Switch back to CMAKE_SYSTEM_NAME checks per original PR (#6122)

* [sqlite3]: Remove redundant "WindowsStore" system name check as "Windows" should already catch it.

* [sqlite3]: Re-bump portfile

* [sqlite3] added error message
2019-06-20 09:40:50 -07:00
Norbert Nemec
11506d1426 set cmake_prefix_path correctly within vcpkg_configure_meson 2019-06-20 16:37:45 +02:00
Norbert Nemec
989d049702 mesonbuild - Update to 0.51.0 2019-06-20 16:37:45 +02:00
NancyLi1013
d3498a8943 [msmpi] Fix /MD for static libs. (#6945)
* [msmpi] Fix /MD for static libs.

* [msmpi] Don't install static-crt static libs when using debug crt
2019-06-19 13:28:40 -07:00
past-due
4b0b0c5731 bootstrap.sh: Retry up to 3 times for transient download errors (#6952) 2019-06-19 12:08:42 -07:00
Igor Kostenko
943aed271f Use correct path separators for each platform (#6960) 2019-06-19 12:08:02 -07:00
Igor Kostenko
5ef4940c2c crossplatform add to path (#6961) 2019-06-19 12:04:53 -07:00
Robert Schumacher
e5b92a3911
[vcpkg] Improve vcpkg::Files::Filesystem error handling (#6919)
* [vcpkg] Modify Filesystem::remove and Filesystem::rename to not throw.

* [.gitignore] Ignore new VS2019 CMake integration default location

* [.gitignore] Ignore CMakeSettings.json in toolsrc

* [vcpkg] Time external processes called with System::cmd_execute

* [vcpkg] Work around VS2019 CMake bug

* [vcpkg] Fix several unused variable warnings.

* [vcpkg] Improve error handling in vcpkg::Files::Filesystem

Always require either std::error_code or LineInfo to print better errors.

* [vcpkg] Fixup missing return value.

Drive by fix: silence warnings in tests.

* [vcpkg] Fix exiting in error_code overload

Drive by fixes for /analyze with VS2019
2019-06-19 11:49:57 -07:00
Phil Christensen
df0b8d9e55
[vcpkg] update python3 to 3.7.3 on windows (#6383)
* [vcpkg] update python3 to 3.7.3 on windows
* Update scripts/cmake/vcpkg_find_acquire_program.cmake
Co-Authored-By: Bradley Austin Davis <bdavis@saintandreas.org>
2019-06-19 10:47:09 -07:00
Stijn Herfst
bba0b6b98d [casclib] Add new port (#6744)
* [casclib] Add new port
2019-06-18 16:27:41 -07:00
Philipp Hasper
99b3907744 [opencv] Fixed OpenCV versioning using wrong commit (#6812)
* [opencv] Fixed OpenCV versioning using wrong commit

As there is no OpenCV repository, the hash is wrongly determined

Closes #6708

* [opencv] cmake disable find package git
2019-06-18 13:37:48 -07:00
myd7349
1a63672f8f [protobuf] Update to 3.8.0 (#6739)
* [protobuf] Update to 3.8.0

* [nlopt] set options off

* [shogun] should not use CMAKE_SYSTEM_PROCESSOR in port file

* [protobuf] Add Homepage

* [protobuf] turn warning flag off

* [protobuf] Fix orc build error on macOS

* bump shogun, fix nlopt
2019-06-18 13:34:43 -07:00
Josue Andrade Gomes
bd5007625e Graphicsmagick 1.3.32 (#6947)
* GraphicsMagick 1.3.32

* Fix missing header install
2019-06-18 11:18:37 -07:00
JackBoosY
49d1759ec8 [spdlog]Add feature[benchmark] (#6924)
* [spdlog]Add feature[benchmark]
2019-06-18 11:11:06 -07:00
Phil Christensen
e4acc60b3c
address qhull flaky build with msvc linker (#6943) 2019-06-18 00:01:32 -07:00
JackBoosY
09d8df72aa [qt5-declarative]Fix error when building release-only. (#6927) 2019-06-17 17:12:44 -07:00
JackBoosY
0b24f31aad [sdl2-mixer]Fix build error with feature opusfile. (#6929) 2019-06-17 17:12:00 -07:00
JackBoosY
f10cfbe064 [log4cplus]Fix lnk2019 errors when using log4cplus. (#6930) 2019-06-17 17:10:45 -07:00
JackBoosY
5bbba1c92b [nvtt]Upgrade version to 2.1.1 and fix build error on windows. (#6765)
* [nvtt]Upgrade version to 2.1.1 and fix build error on windows.

* [nvtt]Fix build error on OSX.

* [nvtt]Merge two patches.

* [nvtt]Re-trigger CI system.

* [nvtt]Fix build error on OSX.
2019-06-17 16:36:07 -07:00
Tsukasa Sugiura
5e9ccbc4a5 [realsense2] Enable OpenNI2 driver option (#5275)
* [realsense2] Update to v2.18.0

Update realsense2 port to librealsense v2.18.0.

* [realsense2] Add OpenNI2 driver option

Add OpenNI2 driver option.

* [realsense2] Fix OpenNI2 driver option

* [realsense2] Remove unnecessary patch

* [realsense2] Bump CONTROL version
2019-06-17 16:04:18 -07:00
Claudio Fantacci
302c43f931 [realsense2] Update to v2.19.0 (#5777)
* [realsense2] Update to v2.19.0

* [realsense2] Update to version 2.22.0
2019-06-17 14:38:05 -07:00
myd7349
70c615012f [libsodium] Update to 1.0.18 (#6778) 2019-06-17 13:19:38 -07:00
wangli28
b4ae1fb521 [libwebsockets] Fix build error on Linux (#6855) 2019-06-17 11:32:15 -07:00
NancyLi1013
ba0b34c2e8 [blosc] Fix the bug when building release-only. (#6928) 2019-06-17 11:31:14 -07:00
Nikita
ec5e9c282c [restclient-cpp] new port (#6936) 2019-06-17 11:30:41 -07:00
wangli28
578139ece7 [leveldb] Port update (#6900) 2019-06-17 10:56:03 -07:00
JackBoosY
f63ddfec5e [opencv]Fix build error with feature gdcm: cannot find openjp2. (#6901) 2019-06-17 10:54:44 -07:00
Jason Juang
a861441498 [Exiv2] update to 0.27.1 (#6905) 2019-06-17 10:53:40 -07:00
Miguel
f86fc80db4 [mlpack] Updated to version 3.1.1 (#6907)
* [mlpack] Updated to version 3.1.0

* [mlpack] Updated to version 3.1.1
2019-06-17 10:52:52 -07:00
Phil Christensen
fd18a7d3a9
[forest] move to 12.0.0 (#6938) 2019-06-17 10:51:34 -07:00
Samuel Marks
783fa14d0b [ppconsul] Add new port (#6911) 2019-06-17 10:46:34 -07:00
JackBister
f00fbcb2e5 [libmodplug] Always use the upstream repository (#6912) 2019-06-17 10:36:41 -07:00
Gregory Popovitch
b03dd0714c [parallel-hashmap] Update to current 1.23 version and include natvis file. (#6917) 2019-06-17 10:35:44 -07:00
Kevin Lu
8de7aa1633 [sqlite3] Update to 3.28.0 (#6921) 2019-06-17 10:32:14 -07:00
wangli28
1dbb58814f [wt] Fix XML file installation path (#6925) 2019-06-17 10:30:25 -07:00
JackBoosY
1e297085c7 [aws-sdk-cpp]Upgrade to 1.7.116 (#6932) 2019-06-17 10:25:39 -07:00
eao197
38f969e9d2 RESTinio updated to v.0.5.1 (#6933) 2019-06-17 10:25:02 -07:00
myd7349
d2e21397f4 [greatest] Add new port (#6934) 2019-06-17 10:24:41 -07:00
TheGoddessInari
8cd2d17460 [vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject. (#6788)
* [vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject.

This lets it work with Powershell Core 6.0.
2019-06-16 23:09:07 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Phil Christensen
7157f7efbf
[libsquish] fix flaky build (#6893) 2019-06-14 16:46:57 -07:00
Alexander Neumann
8148e41eb9 [vtk] fix static hdf5 linkage. (#6782) 2019-06-14 16:06:26 -07:00
NancyLi1013
23f11284c1 [OpenIGTLInk] Add new port (#6769) 2019-06-14 16:05:02 -07:00
Alexander Neumann
aac6c06af4 [arrow] fix findzstd patch (#6757) 2019-06-14 16:04:22 -07:00
evpobr
0ad6aaeebb [libogg] Update to 1.3.3-3 (#6588)
* [libogg] Update to 1.3.3-3

* No patches required (merged in upstream)

Notes:

Target name changed: Ogg::Ogg -> Ogg::ogg (official).
2019-06-14 15:57:33 -07:00
wangli28
d95b402980 [itk] Upgrade to 5.0.0 (#6767) 2019-06-14 15:04:58 -07:00
dan-shaw
9cc9978c5b set CMAKE_SYSTEM_PROCESSOR in Linux (#6872)
* add vcpkg_target_architecture to vcpkg_configure_cmake

* modify shogun and thrift

* update glbinding
2019-06-14 13:09:38 -07:00
Phil Christensen
8c288f4bf8
[sqlite-orm] fix tag, update hash (#6894) 2019-06-14 11:45:35 -07:00
Phil Christensen
6ad6ba75a0
[sndfile/libsndfile] remove duplicate port, forward to libsndfile (#6896) 2019-06-14 11:45:18 -07:00