Commit Graph

8951 Commits

Author SHA1 Message Date
Alexander Neumann
cabbe16525 [vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601)
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message

* added always option.

* fix linux regressions

* bump control for ci tu rerun
2019-08-11 23:24:20 -07:00
Nicole Mazzuca
29ddf1a5c2 remove clever use of std::ignore 2019-08-10 13:13:21 -07:00
Nicole Mazzuca
58f95cc856 fix two bugs in status 2019-08-10 13:13:21 -07:00
Nicole Mazzuca
420dbffaa0 clang-format, and fix a leftover 2019-08-10 13:13:21 -07:00
Nicole Mazzuca
a6ae888f4e fix the build on unix 2019-08-10 13:13:21 -07:00
Nicole Mazzuca
52b2e740de [vcpkg] Fix build under /W4
I was building under /W3, because CMake hadn't been set up to build
under /W4 -- therefore, I didn't see some warnings.

We also decided to remove the niebloids and instead break ADL by using
`= delete`, since otherwise we get warnings when we define a local
variable with the same name as a niebloid. I also removed `status` and
`symlink_status` from the `files` header, since it's unnecessary now,
and they're just implementation details of `RealFilesystem`.

I also removed some existing uses of unqualified `status(path)`, since
that no longer compiles. I also added `Filesystem::canonical`, to remove
another use of `fs::stdfs` in a function I was already working in.
2019-08-10 13:13:21 -07:00
Lily
9dfab115aa [duckx] Add new port (#7561)
* [duckx] Add new port

* [duckx] Add new port
2019-08-09 15:02:57 -07:00
Ehsan
d329b58c74 [expat] Update library to 2.2.7 (#7596) 2019-08-09 13:31:36 -07:00
Nicole Mazzuca
67643a0ea3 [vcpkg] fix 7616
There's a bug in `std::experimental::filesystem::status` on
libstdc++ -- it incorrectly sets its `error_code` when a file
doesn't exist, or when a path doesn't exist. In order to get
around this, `error_code` was cleared when the file doesn't exist,
but it was not cleared when the path didn't exist.

Note: in this case, I say "the file doesn't exist" when, if you
look up "a/b/c", "a/b" exists but "c" doesn't. I say "the path
doesn't exist" when, if you look up "a/b/c", either "a" or "a/b"
doesn't exist.
2019-08-09 10:48:37 -07:00
Robert Schumacher
14c792441d [vcpkg] Revert accidental removal of powershell-core usage in bb3a9ddb6e 2019-08-09 10:47:15 -07:00
Griffin Downs
743e168ef5
[openimageio] find_package support (#7588)
* Copy find module to share; Append share to module path

* Bump version
2019-08-08 17:46:04 -07:00
nicole mazzuca
9d53b869a5 [open62541] Fix flakiness/bugginess (#7607)
- We used to `get-pip` on all non-Linux systems; we should be
    downloading and running it only on Windows.
  - `get-pip`'s download link was volatile, and the SHA would change. We
    now download it from a versioned link, which should not change

As part of these, we bumped the number from 0.30.0-2 to 0.30.0-3
2019-08-08 19:43:39 -04:00
Tri Tran
8390d68837 [discount] Add new package Discount (#7400)
* [discount] Add new package Discount

* [discount] Add new package Discount

* New package [Discount](https://github.com/Orc/discount)

* Static build only

* [discount] Fix arm* and *uwp builds

* Discount needs to run `mktags.exe` to generate `blocktags`. This fix copy generated `blocktags` to `SOURCE_PATH` for arm\* builds and \*uwp builds.

* [discount] Fix UWP and ARM check

* [discount] Another fix for blocktags

* [discount] And another one

* [discount] And another one. Please squash these PR commits.

Sorry I don't have UWP or ARM compiler installed on my machine.

* [discount] Use definitions in msvc/Makefile

* [discount] Add homepage
2019-08-08 12:04:39 -04:00
Rodrigo Trida
73fa03965b Librdkafka snappy (#7469)
* Adding snappy support.

* Building without win 32 config.

* Restoring original state.

* Changing version and replacing tab with spaces.

* Remove snappy as a build-depends

The snappy feature does not require any external sources.
2019-08-08 12:02:10 -04:00
Lily
0857d713a0 [pdqsort] Add new port (#7464)
* [pdqsort] Add new port

* [pdqsort] Add new port
2019-08-08 08:15:09 -07:00
Phoebe
945717ce51 [openimageio] Fix feature libraw build errors (#7419)
* [openimageio] Fix feature libraw build errors

* Update to master latest commit
2019-08-08 05:44:17 -07:00
Stijn Herfst
f27820fa86 [stormlib] Add targets and streamline build (#7409)
* Add targets and streamline build

* Removed vendored dependencies

* add back definition

* updated version and removed duplication

* [stormlib] update cmakelists

* added unicode definitions

* added win32 guard clause
2019-08-08 05:29:31 -07:00
Nicole Mazzuca
e79f0dc532 [vcpkg] Make Filesystem::remove_all faster #7570
I added benchmarks to measure how fast the parallel remove_all code was
-- it turns out, about 3x slower than stdfs::remove_all. Since this was
the case, I removed all of the parallelism and rewrote it serially, and
ended up about 30% faster than stdfs::remove_all (in addition to
supporting symlinks).

In addition, I did the following three orthogonal changes:
  - simplified the work queue, basing it on Billy O'Neal's idea
  - Fix warnings on older versions of compilers in tests, by splitting
    the pragmas out of pch.h.
  - Ran clang-format on some files

In fixing up remove_all, the following changes were made:
  - On Windows, regular symlinks and directory symlinks are distinct;
    as an example, to remove directory symlinks (and junctions, for that
    matter), one must use RemoveDirectory. Only on Windows, I added new
    `file_type` and `file_status` types, with `file_type` including a new
    `directory_symlink` enumerator, and `file_status` being exactly the
    same as the old one except using the new `file_type`. On Unix, I
    didn't make that change since they don't make a distinction.
  - I added new `symlink_status` and `status` functions which use the
    new `file_status` on Windows.
  - I made `Filesystem::exists` call `fs::exists(status(p))`, as opposed
    to the old version which called `stdfs::exists` directly.
  - Added benchmarks to `vcpkg-test/files.cpp`. They test the
    performance of `remove_all` on small directories (~20 files), with
    symlinks and without, and on large directories (~2000 files), with
    symlinks and without.
2019-08-07 16:51:12 -07:00
Carlos O'Ryan
65cb5cd00c Update google-cloud-cpp to 0.12.0. (#7557)
* Add googleapis proto libraries port.

Compile protos from github.com/googleapis/googleapis into C++ libraries.

* Updated google-cloud-cpp to 0.12.0

* [google-cloud-cpp] Fix flaky build
2019-08-07 16:43:35 -07:00
Alexander Neumann
c89dcc15a9 [netcdf-c] correctly fix hdf5 linkage (#7578) 2019-08-07 16:40:33 -04:00
cDc
8157d8503c [TinyNPY] Add new port (#7393)
* [TinyNPY] new port

* expose type and order

* fix linux/mac
2019-08-07 16:36:27 -04:00
Dženan Zukić
7352fab1e4 [itk] Update library from 5.0.0 to 5.0.1 (#7586) 2019-08-07 16:34:07 -04:00
crusader-mike
77c3e0aa2e [xalan-c] switch to https://github.com/apache/xalan-c (#7489) (#7505)
* [xalan-c] switch to https://github.com/apache/xalan-c (#7489)

* [xalan-c] updated homepage
2019-08-07 12:46:34 -04:00
contre
2bf8b26aa4 [qhull] fix UWP building (#7370) 2019-08-07 12:43:13 -04:00
Ehsan
ad187df6de [chakracore] Update library to 1.11.11 (#7576) 2019-08-07 12:35:04 -04:00
Daniele Lupo
45ad86d5c9 [stxxl] compilation fix (#7330)
* stxxl fixed.

* CONTROL updated.
2019-08-07 12:32:48 -04:00
Niels Dekker
d4fbdf21c4 [itk] Support legacy user code by default (#7241)
No longer specify `ITK_LEGACY_REMOVE` and `ITK_FUTURE_LEGACY_REMOVE`
options for `vcpkg_configure_cmake`. By default, these two flags are
`OFF`, for ITK 5.0.0:
https://github.com/InsightSoftwareConsortium/ITK/blob/v5.0.0/CMakeLists.txt#L261

This commit will allow legacy ITK user code to build with vcpkg, and it
will ease adding vcpkg support to https://github.com/SuperElastix/elastix

Dženan Zukić @dzenanz suggested this change:
https://discourse.itk.org/t/how-to-avoid-rebuilding-itk-by-azure-ci-at-the-github-of-another-project-elastix/2002/7

CONTROL version bumped as requested by Phil Christensen @Rastaban
2019-08-07 12:30:42 -04:00
Alexander Täschner
3405bfd2fb [libcerf] Add new port (#7320)
* Add port for libcerf.

* Indicate that static linkage is not available.

* Patch to enable static build.
2019-08-07 12:29:14 -04:00
cDc
6a6d89ffd8 fix linux/mac (#7575) 2019-08-07 12:14:35 -04:00
Daniel Parker
6c7cb5dfdb Update jsoncons to v0.131.2 (#7529) 2019-08-06 22:25:11 -07:00
Reinforce-II
554668ce8d [cpp-taskflow] update to 2.2.0 (#7554)
* [cpp-taskflow] update to 2.2.0

* use release tag instead of the commit id
2019-08-06 22:22:31 -07:00
Guillaume Racicot
47a03142e4 Updated kangaru version (#7567)
* Updated kangaru version

* [kangaru] Fix SHA512 and update CONTROL version
2019-08-06 21:59:43 -07:00
JackBoosY
31ae6a0ecf [ffmpeg]Fix debug build in Windows. (#7476) 2019-08-06 16:25:50 -04:00
Ehsan
1a2dd085f1 Update some ports version (#7534)
* [imgui] Update library to 1.72

* [mbedtls] Update library to 2.16.2
2019-08-06 16:24:24 -04:00
DailyShana
45446845e6 [libevent] update to 2.1.11 (#7515)
* [libevent] update to 2.1.11

* [libevent] Move scripts to tools folder

* [libevent] Fix non-Windows build

* [libevent] remove bin folder only for static build

and move script to tools folder no matter static or dynamic
2019-08-06 11:53:15 -07:00
myd7349
0d5e42ff76 [tinycthread] Add new port (#7565) 2019-08-06 13:36:35 -04:00
Billy O'Neal
99b00d8476 Repair compression dependency bugs in cpprestsdk (#7472)
* Repair compression dependency bugs in cpprestsdk

* Make it possible to turn off HTTP compression entirely to remove the
  zlib dependency in cpprestsdk.
* Use the actual default features feature instead of a default features
  feature hack.
* Actually hook up the Brotli setting so that someone installing that
  feature actually gets it.

* Attempt to fix default-features.
2019-08-06 13:35:35 -04:00
tarcila
450f09c7a8 Corrade: Drop vs2017 workaround when building HEAD for vs2019 (#7566)
* Corrade: Make sure to drop vs2017 workaround when building HEAD for vs2019

Otherwise building HEAD is broken.

Also add a warning about current Corrade release not supporting vs2019,
suggesting to use HEAD instead.

* [corrade] this option name is wrong.
2019-08-06 13:34:39 -04:00
Francesco Bertolaccini
7686945aeb Update riffcpp (#7541)
* Update riffcpp

* Update riffcpp
2019-08-06 13:32:03 -04:00
Justin Bruce Van Horne
494f82b73e Update sol2 portfile to 579908 (#7545)
- Update sol2 port to point to revision that installs to include/sol
  instead of include/sol/include/sol
2019-08-06 13:31:39 -04:00
crusader-mike
26a7e9ad34 [xercec-c] no symlinks in static build (#7490) (#7500) 2019-08-06 13:31:03 -04:00
Alexander Neumann
5c0c5adc64 [alembic] fix hdf5 linkage (#7551) 2019-08-06 13:30:06 -04:00
myd7349
435043115a [simdjson] Update to 0.2.1 (#7546)
* [simdjson] Update to 0.2.0

* [simdjson] Update to 0.2.1

* [simdjson] arm, arm64, x86 are not supported
2019-08-06 13:29:17 -04:00
myd7349
d2d518922e [gaussianlib] Add new port (#7542) 2019-08-06 13:28:29 -04:00
Cheney Wang
60676aa909 [Openxr-loader] Remove the invalid patch (#7560) 2019-08-06 13:27:37 -04:00
Phil Christensen
22e0b9f376
improve logic expression evaluation (#7508)
* better logic expression evaluation

Improve the logic expression evaluation currently used when filtering
dependencies.

Biggest improvements:
+  Allow '|' operator
+  Support nested '()'
+  Allow whitespace
+  Useful error message for malformed expressions

Also changed names of types to RawParagraph when that is what the original author was using.
2019-08-02 21:37:49 -07:00
Robert Schumacher
4d551ff4b3 [vcpkg-docs] Reword and reorganize overlay-triplets-linux-dynamic.md (#7502) 2019-08-02 15:42:17 -07:00
NiHoel
2f74387d4c Add feature halide to OpenCV. (#7499)
* Add feature halide to OpenCV.

* Add dependency of opencv[halide] to opencv[dnn].
2019-08-02 13:32:27 -07:00
Stijn Herfst
63dd3a30fc [casclib] Added CMake targets (#7522)
* Added CMake targets

* Windows build failure fix

* [casclib] Improve CMake find_package() integration

* [casclib] Remove unused lines
2019-08-02 13:31:48 -07:00
JackBoosY
883766c4cb [libusb]Fix using mismatched CRT_linkage/library_linkage issue. (#7465) 2019-08-02 13:31:02 -07:00