Commit Graph

9181 Commits

Author SHA1 Message Date
Nicole Mazzuca
7827239593 (#7757) [vcpkg] Switch to internal hash algorithms 📜
On non-Windows platforms, there is no standard way to get the hash of an
item -- before this PR, what we did was check for the existence of a few
common utility names (shasum, sha1, sha256, sha512), and then call that
utility on a file we created containing the contents we wish to hash.
This PR adds internal hashers for sha1, sha256, and sha512, and
standardizes the interface to allow anyone to implement hashers in the
future.

These hashers are not extremely optimized, so it's likely that in the
future we could get more optimized, but for now we just call out to
BCryptHasher on Windows, since it's standard and easy to use (and about
2x faster for sha1 and sha256, and 1.5x faster for sha512). However,
they are reasonably fast for being unoptimized. I attempted a few minor
optimizations, which actually made the code slower! So as of right now,
it's implemented as just a basic conversion of the code on Wikipedia to
C++. I have tested these on the standard NIST test vectors (and those
test vectors are located in vcpkg-test/hash.cpp).
2019-08-26 12:35:22 -07:00
JackBoosY
e417ff69b7 [glfw3]Add more information about installing dependencies. (#7885) 2019-08-25 20:31:55 -07:00
igl42
f757b531a6 [blaze] Update to Blaze 3.6 (#7878) 2019-08-25 16:18:45 -07:00
Ehsan
5f57714524 [fplus] Add new port (#7883) 2019-08-25 16:16:38 -07:00
Robert Schumacher
1550b9e71b
[many ports] Updates 2019.07.09 (#7217)
* [many ports] Upgrades 2019.07.11

* Re-generate patches and fix build errors.

* [manyport]Fix build errors.

* Fix avro-c and console-bridge failures, revert curl and tesseract

* fix botan failure

* Fix build errors and undo some ports upgrades.

* [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors

* Fix build errors.

* [angle]Undo upgrade changes.

* [directxtk]Fix UWP build error (#7233)

* Revert leptonica since it cause tesseract failed

* Revert jsonnet

* [google-cloud-cpp] Disable parallel configure due to source directory writes

* [many ports] Undo undesired changes

* [bitsery] Fix indentation

* [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff

* fix console-bridge and remove usockets unused patch

* update ogre patch

* [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge.

* [console-bridge] Fix export macro

* [avro-c] Revert upgrade; split to #7875

* [avro-c] Complete previous revert
2019-08-24 13:43:57 -07:00
Ehsan
18a07faca5 [directxtk] Update library to aug2019 (#7871) 2019-08-24 13:05:11 -07:00
Ehsan
aa19cb481f [directxmesh] Update library to aug2019 (#7869) 2019-08-24 13:04:08 -07:00
Ehsan
3293ff174f [directxtex] Update library to aug2019 (#7870) 2019-08-24 13:03:09 -07:00
Ehsan
b632d2aae4 [directxtk12] Update library to aug2019 (#7872) 2019-08-24 13:02:46 -07:00
Robert Schumacher
373aeff922 [vcpkg] Move do_build_package_and_clean_buildtrees() above generating cpkg_abi_info.txt so it will be included in the package. (#7864) 2019-08-24 13:01:57 -07:00
nicole mazzuca
2a81a2d322 [vcpkg docs] More tool maintainer docs! (#7821)
* [vcpkg docs] Add benchmarking 🏎 to the docs!

Also, minor changes to the testing docs.

* add documentation for the layout of the project
2019-08-24 11:36:12 -07:00
Stefano Sinigardi
d85a40d478 [OpenCV 3] update to v3.4.7 (#7658)
* [opencv3] uniform CONTROL file with opencv4 port

* [opencv3] uniform portfile with opencv4

* [opencv3] uniform CONTROL file with opencv4 port

* [opencv3] update to 3.4.7 draft

* [OpenCV 3] wip to uniform port to opencv4 standards

* [OpenCV3] fix IPPICV integration, use the same mechanism as in OpenCV4 port

* [OpenCV3] fix sfm module

* [OpenCV3] update hunk references in patches 0001 and 0009

* [OpenCV3] refresh install options to adhere to opencv4 standards

* [opencv3] remove leftovers

* [opencv3] Use OUT_FEATURE_OPTIONS with vcpkg_check_features()
2019-08-23 12:48:09 -07:00
Phil Christensen
cf447c050c
Merge pull request #7316 from JackBoosY/dev/jack/4167
[gtest]Re-fix port_main/port_maind libraries path and add gmock cmake files.
2019-08-23 10:41:01 -07:00
zi-m
bc5a1bf1a0 [quickfix] Add new port (#7796)
* quickfix

* simplify patch and add _CRT_SECURE_NO_WARNINGS

* fix replace and add more _CRT_SECURE_NO_WARNINGS

* add _CRT_NONSTDC_NO_DEPRECATE

* win GetCurrentProcessId instead of getpid

* add _WINSOCK_DEPRECATED_NO_WARNINGS

* DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS for _M_ARM and _M_ARM64
2019-08-23 09:20:10 -07:00
zi-m
55f8250713 [mp3lame] Add new port (#7830)
* mp3lame

* "WindowsStore" and "arm" are not supported

* "WindowsStore" and "arm" are not supported

* simplify portfile.cmake

* add ARM

* add /APPCONTAINER

* add MSBUILD_PLATFORM

* remove "mp3lame does not support ARM"

* arm64 support

* arm64 support
2019-08-23 09:19:28 -07:00
driver1998
344513b2ed [wxwidgets] Windows ARM support (#7833) 2019-08-23 09:17:51 -07:00
Ehsan
d926adaa9d [lz4] Update library to 1.9.2 (#7860) 2019-08-23 08:30:32 -07:00
Ehsan
54696ca5a4 [riffcpp] Update library to 2.2.2 (#7859) 2019-08-23 08:30:24 -07:00
Ehsan
0c16ce6ea5 [cryptopp] Update library to 8.2.0 (#7854) 2019-08-23 08:29:41 -07:00
Casey Carter
9c69826345 Update range-v3 reference (#7845)
To fix breakage in VS2019 16.3p2 with the range-v3 0.5.0 (latest) release.
2019-08-23 08:28:37 -07:00
Nicole Mazzuca
cc35672763 (#7798) [vcpkg] Fix the build on FreeBSD 😈
Add a `#else` line to `toolsrc/src/vcpkg/base/files.cpp`. On Linux
and macOS, there are specific ways to copy from file descriptor to file
descriptor, but on FreeBSD there isn't (as far as I could tell). This
change does a copy using the POSIX standard `read` and `write` calls.
(This change was to `RealFilesystem::rename_or_copy`).

We expect to have people on FreeBSD install CMake themselves, and use
`./bootstrap.sh -useSystemBinaries`, in order to build vcpkg.
Since CMake 3.15.2 exists in the FreeBSD 12 (latest stable) package
manager, it's trivial to install it.
2019-08-23 07:01:03 -07:00
Alexander Neumann
78abf650e7 [vcpkg] QoL: add host/target dependent variables for executable suffixes (#7599)
* improve documentation

* add executable suffixes for host/target into common definitions
2019-08-22 15:57:24 -07:00
Bradley Austin Davis
fcd8a64596 [basisu] fix vcpkg version, merge upstream fixes (#7836) 2019-08-22 14:59:38 -07:00
zi-m
9241e6c4b2 [quickfast] Add new port (#7814)
* quickfast

* replace 'noexcept' with BOOST_ASIO_NOEXCEPT
2019-08-22 14:56:29 -07:00
martin-s
95f9df7134 - Fixed ports script. (#7793) 2019-08-22 14:55:50 -07:00
Phil Christensen
daeba9e58b
Merge pull request #7840 from AMDmi3/patch-1
Add homepage for selene
2019-08-22 13:47:25 -07:00
Dmitry Marakasov
ba16e83caa
Add homepage for selene 2019-08-22 23:13:38 +03:00
Kai Nadler
7cdb588983 [libmodbus] Update library to 3.1.6 (#7834) 2019-08-22 08:15:58 -07:00
Curtis J Bezault
94ef325828
[vcpkg] Fix gcc-9 warning (#7816)
* drop one usage of span in export. Span is not appropriate for rvalues

* Add back reference

* Fix @ubsan 's comments
2019-08-21 14:23:15 -07:00
JackBoosY
34a26540b1 [leptonica]Add dependency port libwebp and fix find libwebp in debug/release (#7712)
* [leptonica]Add dependency port libwebp and fix find libwebp in debug/release.

* [leptonica]Add dependency to LeptonicaConfig.cmake.

* [leptonica]Re-fix find libwebp.
2019-08-21 14:01:57 -07:00
Phil Christensen
ec3060c73f
[qt-advanced-docking-system] new port
[qt-advanced-docking-system] Add new port
2019-08-21 11:22:05 -07:00
Ehsan
d285719f5b [spirv-cross] Update library to 2019-07-26 (#7802) 2019-08-21 08:00:09 -07:00
Ehsan
3b8d8e5266 [spectra] Update library to 0.8.1 (#7803) 2019-08-21 07:55:37 -07:00
Ehsan
a6bcdb1616 [sol2] Update library to 3.0.3 (#7804) 2019-08-21 07:55:19 -07:00
Ehsan
fb27b07f81 [snowhouse] Update library to 3.1.1 (#7805) 2019-08-21 07:54:51 -07:00
Ehsan
549ea1f9de [safeint] Update library to 3.21 (#7806) 2019-08-21 07:54:21 -07:00
Ehsan
3ec4ad0eeb [reproc] Update library to 8.0.1 (#7807) 2019-08-21 07:53:59 -07:00
Ehsan
96e79d95af [re2] Update library to 2019-08-01 (#7808) 2019-08-21 07:53:36 -07:00
Stijn Herfst
531009c799 disabled examples 2019-08-21 14:50:17 +02:00
JackBoosY
e5bf7eae99 [openimageio]Fix find correct debug/release openexr libraries. (#7747) 2019-08-20 14:56:32 -07:00
Lily
d941bb553a [embree3] Fix install path (#7767) 2019-08-20 14:55:51 -07:00
ewertons
bad7798afe [azure-iot] vcpkg update for master/public-preview release (#7791) 2019-08-20 14:54:36 -07:00
Benjamin Sergeant
6b8146c1fb ixwebsocket: update to version 5.0.4 (#7789) 2019-08-20 14:53:47 -07:00
JackBoosY
aeb3293b9f [luajit]Separate debug/release build path and fix generate pdbs. (#7764)
* [luajit]Separate debug/release build path and fix generate pdbs.

* [luajit]Replace port name to ${PORT}
2019-08-20 13:15:08 -07:00
JackBoosY
f7e4478af1 [fribidi]Fix static library suffix in windows-static (#7768) 2019-08-20 12:18:47 -07:00
shuitianxu
adad43a417 fix7725issue - Change include header path (#7769) 2019-08-20 12:18:09 -07:00
dan-shaw
0433989bad
[tensorflow] add new port for linux (#7568)
* [+] Add tensorflow-cc port (Linux only)

* [~] Refactor installation of tensorflow/external

  1. Install tensorflow/external to tensorflow-etc/external;
  2. Fix TensorflowCCConfig.cmake accordingly.

* [tensorflow] Work in progress

* fix tensorflow linux config

* [tensorflow] partial support for windows

* fix config paths

* use environmental variables instead

* remove files

* add python_path

* add verbose error messages

* review fixes

* [tensorflow] refactor config file

* minor changes

* set arch for CI
2019-08-20 12:13:26 -07:00
Ehsan
7f165907fc [eastl] Update library to 3.14.01 (#7786) 2019-08-20 11:23:18 -07:00
zi-m
87da388431 [sparsehash] Add new port (#7772)
* sparsehash

* Update portfile.cmake
2019-08-20 10:33:40 -07:00
Ehsan
573bebe6b7 [dimcli] Update library to 5.0.0 (#7785) 2019-08-20 10:24:28 -07:00