Commit Graph

12552 Commits

Author SHA1 Message Date
Victor Romero
2a42024b53
[vcpkg] Add commands to maintain and verify versions db integrity (#14999)
* [vcpkg] Add x-ci-verify-versions command

* Code cleanup

* Remove port version splitting from x-history

* Fix wrong message on success

* Parallelize versions file generator

* Use cpu_count()/2 to avoid crashes

* Check db SHA against local SHA

* Check baseline version with x-ci-verify-versions and make baseline generator much faster

* Implement x-add-version to update version db files

* Better checks for x-add-info and make x-ci-verify-versions silent on success

* Use find() instead of [] on maps

* Create version file if does not exist

* Allow redirection of ports/ and port_versions/

* add test ports

* WIP end-to-end tests

* Change pats in e2e tests

* Fix e2e args

* e2e once more

* Pass ersions feature flag to e2e

* Exit with code 1 if there are errors

* Files to test for failure cases

* Update test files

* Add test for x-add-version

* fix redirected ports in last test

* Add CI check (use dummy data)

* Add feature-flags=versions

* Ignore subdirectories inside ports

* Add --verify-git-trees switch

* [vcpkg] Fix build breaks

* [x-ci-verify-versions] PR comments

* [x-add-version] PR comments

* Fix merge conflicts

* Modify tests and pipeline

* Baselines should only have version-string

* Refactor x-add-version

* [vcpkg] Fix help message

* [vcpkg] Fix minor warnings

* `x-add-version --all` doesn't stop on first failure and reduced default verbosity

* [vcpkg] Fix default-baseline

* Load file instead of using paths provider

* Format

* Remove ci test

* Add fish port for testing

* Update version files

* Update fish port to cause SHA discrepancy

* Test for discrepancy between local SHA and declared SHA

* Missing = operator

* Check for error message since x-add-version exits with code 0

* Make x-add-version fail with non-zero exit code if not run with --all

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-01-07 18:04:11 -08:00
ras0219
d717d4119e
[vcpkg] Add support for --overlay-ports to versioning (#15013)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-01-07 17:44:45 -08:00
Billy O'Neal
d1ef42c0fd
[vcpkg] Restore embedded git hash behind an option. (#15472) 2021-01-07 12:51:46 -08:00
Adam Johnson
9ddc9173d7
[vcpkg baseline][cppcms] Fix issue with detecting Python 2. (#15473)
* [cppcms] Fix issue with detecting Python 2.

* Update ports/cppcms/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-01-06 20:30:36 -08:00
ras0219
6b346462ba
[vcpkg] Improve docs for binarycaching (#15396) 2021-01-05 14:37:04 -08:00
Victor Romero
6d3d6490eb
[vcpkg] Improve versioning files generators (#15172)
* Remove port version splitting from x-history

* Parallelize versions file generator

* Use cpu_count()/2 to avoid crashes

* Use generatePortVersionsDb.py output to generate baseline

* Update scripts/generateBaseline.py

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>

* rename generateBaseline function

* Update toolsrc/src/vcpkg/commands.porthistory.cpp

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Remove unused code

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2021-01-05 14:36:46 -08:00
Adam Johnson
378ffbb940
[python3] Add vcpkg-cmake-wrapper. (#15221)
* [python3] Add vcpkg-cmake-wrapper.cmake.

This is still a WIP... For now, we only remove registry detection on
Windows.

* [python3] Fix Windows static embedding linkage.

* [python3] Fix Linux static library embedding.

* [python3] Fix linkage on macOS.

* [python3] Only link extra libs when static.

* [python3] Bump port version for vcpkg-cmake-wrapper.

* [itk] Remove obsolete Python artifact specification.

* [pybind11] Remove obsolete Python artifact specification.

* [python3] Mark `find_package()` calls as REQUIRED.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [python3] Bump port version after #15378.

* [python3] Be more selective about when to unleash the nukes.

* [python3] Add usage message.

* [python3] Don't swallow `vcpkg_find_acquire_program`'s Python3.

* [python3] Don't forcibly change the registry find state.

* [python3] fix copypasta error

* [python3] Fix config error with the opensubdiv port.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-01-05 13:39:53 -08:00
dweckmann
ebedac7774
[opencl] Fix dynamic build on linux (#15445) 2021-01-05 12:44:44 -08:00
Jack·Boos·Yu
e2cefd749d
[wil] Use internal CMakeLists (#15438)
* [wil] Use internal CMakeLists

* [wil] Fix install headers on Linux
2021-01-05 12:44:06 -08:00
Phoebe
1aba77ae3b
[hidapi] Support static build (#15437)
* [hidapi] Support static build

* Update portfile.cmake
2021-01-05 12:42:29 -08:00
JonLiu1993
c1e9424206
simdjson update to v0.7.1 (#15436) 2021-01-05 12:40:30 -08:00
Schwarzer
122ab57da2
Update vcpkg_download_distfile.cmake (#15435)
Provide proxy setting instruction for more compatibility.
2021-01-05 12:39:57 -08:00
Dimitrij Mijoski
4533b7483d
[nuspell] update to version 4.2.0 (#15425) 2021-01-05 12:39:10 -08:00
Takahiro Ueda
41e5b0815f
[docs] fix "CMake script" -> "makefile" for vcpkg_(n)build_make (#15419) 2021-01-05 12:37:19 -08:00
Nicholas Hayes
c562883384
[libheif] Update to version 1.10.0 (#15416) 2021-01-05 12:34:04 -08:00
Rémy Tassoux
0a262e7d61
[sdl2] Update to 2.0.14 (#15398)
* [sdl2] Update to 2.0.14

* Revert "[sdl2] Update to 2.0.14"

This reverts commit b8e82e0dac.

* [sdl2] Update to 2.0.14

* [sdl2] Fix manifest formatting

* [sdl2] Change the shared library preprocessor symbol name to DLL_EXPORT for compatibility with SDL 2.0.14

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2021-01-05 12:33:13 -08:00
Gilad Bauman
109ce45742
Fix for FreeImage incorrect image format enum after disabling vendor plugins (#15393) 2021-01-05 12:12:52 -08:00
Hendiadyoin1
35e978a884
fix licensingfile of kf5archive (#15314)
* fix licensingfile of kf5archive

* selected specific licencefile

* bumped port-version to 1
2021-01-05 12:11:22 -08:00
JonLiu1993
6b52be61ca
[darknet] yolo v4 weights's hash need to update (#15296)
* [darknet] yolo v4 weights's hash need to update

* Add vcpkg_check_feature

* Modify FEATURE_OPTIONS
2021-01-05 12:10:06 -08:00
dweckmann
215d38b4ad
[ogre] make zziplib, freeimage, assimp, freetype and strict resource manager, optional features (#15194) 2021-01-05 12:07:14 -08:00
General Jack O'Neill
4907797add
[geotrans] update to version 3.8 (on-hold waiting for CI/VM port 21 for ftp to be opened or alternate host site) (#14412)
* Update port geotrans to version 3.8
1. Added new files to CMakeLists.txt required by version 3.8
2. Remove old style CONTROL file used by vcpkg
3. Updated portfile.cmake for version 3.8
4. Add new style vcpkg.json file used by vcpkg

* Add skip to CI baseline. Add slow warning messages to portfile

* Refine warning message about long download times
2021-01-05 12:05:15 -08:00
Silvio Traversaro
d2e0939e39
[ignition-common3] Add new port 🤖 (#11273)
* [ignition-common3] Add new port

* Update ports/ignition-common3/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-01-05 11:57:23 -08:00
Ronald
63de431b40
[poppler] Add new port (#15158)
* port "poppler", it works, but needs a lot refinement.

* add poppler-cpp17

* add popper and poppper[cpp17]

* Use Options in vcpkg_configure_cmake instead of patches

* remove feature cpp17

* remove port-version for a new port

* add dependency fontconfig

* try to solve problems on linux

* zlib2 and png are default feature, let it be

* linux is not supported for misc problems

* remove test subdirectory for it to work in linux

* remove test subdirectory for it to work in linux

* fix patch files

* format manifest file using vcpkg foramt-manifest

* less dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* test dependencies devil

* test fix dependencies

* remove redundant fontconfig

* make zlib as an optional feature

* test zlib as a feature

* test fontconfig

* apply vcpkg format-manifest

Co-authored-by: abc <a@b.com>
2021-01-04 12:27:23 -08:00
NancyLi1013
50ea8c0ab7
[graphicsmagick] Add delegates.mgk (#15245)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-12-31 11:05:46 -08:00
Phoebe
30124253ee
[wangle] Fix dependency issue (#15400) 2020-12-31 11:05:11 -08:00
NancyLi1013
e9e1e0898a
[exiv2] Add pkgconfig to fix the path (#15389) 2020-12-30 22:41:54 -08:00
Phoebe
200848ed9e
[boost-build] Fix cflags and c++flags for msvc (#15385) 2020-12-30 22:41:25 -08:00
Chuck Walbourn
c450737386
[directxmath] port updated for cmake improvements (#15383)
* directxmath port updated for cmake improvements

* Rev control version

* update CONTROL for version
2020-12-30 22:40:47 -08:00
Jacob Kahn
63f9a4aeff
[onednn] Fix share path infix to match find_package() name (#15372)
* [onednn] Fix share path infix to match find_package() name

* Add port-version

* Install failure message
2020-12-30 22:38:55 -08:00
Gerald Combs
73cfc65919
[libilbc] New port (#15331)
* [libilbc] New port

libilbc is an Internet Low Bit Rate Codec (iLBC) / RFC 3951 codec.
Closes #14836.

* Update ports/libilbc/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update ports/libilbc/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [libilbc] Use vcpkg_copy_tools, update arm-uwp.

* [libilbc] More packaging cleanups.

Add vcpkg_fixup_pkgconfig after vcpkg_install_cmake.

Install docs into $PREFIX/share/libilbc.

Remove ilbc_test after a dynamic build and the bin and debug/bin dirs
after a static build.

Fixup include/ilbc_export.h for static builds.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-12-30 22:37:04 -08:00
Stephen Just
6a94f1f8ce
[arcus] New port (#15305)
* [arcus] New port

Arcus is used by CuraEngine as a library for writing to sockets.
Adding this port helps with CuraEngine's build as well as any other
projects that depend on Arcus.

* review comments

* Remove reference to python3 in description since its disabled
2020-12-30 22:36:19 -08:00
Eli Arzhannikov
e83c76d561
[boost-modular-builder] let fallback to default tool path (#15254)
Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-12-30 22:34:51 -08:00
Billy O'Neal
5c262f63ec
Update cpprestsdk to 2.10.17. (#15401) 2020-12-30 20:50:53 -08:00
Ludek Vodicka
53983b0967
[IXWebsocket ] Upgraded to 11.0.4 version (#15394)
* Upgrade IXWebsocket to 11.0.4

* Formatting update

* Update ports/ixwebsocket/portfile.cmake

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>

* Static library check, fixup targets

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-12-30 20:13:41 -08:00
Billy O'Neal
4a542c97fb
Use vcpkg_from_github in soqt. (#15384) 2020-12-30 12:55:04 -08:00
Robert Schumacher
6772fdd145
[vcpkg] Teach vcpkg install --no-build-missing (#15139)
* [vcpkg] Teach `vcpkg install` `--no-build-missing`

This switch causes failure to restore from cache to abort the build instead of performing a just-in-time build.

This is useful in complex CI systems where the build was expected to have been performed previously, such as via another pipeline.

* [vcpkg] Rename flag to require binary caching
2020-12-30 12:12:17 -08:00
JonLiu1993
f55a5d91d9
[simde] update to 0.7.0 (#15387) 2020-12-30 10:43:06 -08:00
Jacob Kahn
91e134f16f
[flashlight-cuda] Update port (#15379) 2020-12-30 10:42:50 -08:00
JonLiu1993
c5c07e363c
[LLGL] installs header files in the wrong directory (#15366) 2020-12-30 10:41:49 -08:00
Mark Gillard
9b2edf2f38
update toml++ to v2.3.0 (#15365) 2020-12-30 10:40:49 -08:00
Jack·Boos·Yu
78d4f88c05
[libpq] Change compile flag /Zi to /Z7 when building Windows (#15361)
* [libpq] Change compile flag /Zi to /Z7 when building Windows

* [libpq] Fix installation about pdbs
2020-12-30 10:40:30 -08:00
Phoebe
38c6fbd0c7
[glib] Fix pkgconfig files (#15360)
* [glib] Fix pkgconfig files

* Use GLIB_VERSION instead
2020-12-30 10:39:50 -08:00
Wolfgang Stöggl
5321ed169c
[monkeys-audio] Update to 5.70 (#15359)
Released MAC_SDK files are currently only provided for download for a
short period of time and replaced frequently by newer versions.
See: https://monkeysaudio.com/files/
- Update patches:
  fix-project-config.patch
  remove-certificate-step.patch
- Add alternative download URL from Internet Archive
2020-12-30 10:38:48 -08:00
Dmitry Baryshev
389efb2701
[sail] Enable static builds and more platforms (#15140) 2020-12-29 19:26:27 -08:00
Billy O'Neal
b12f78c3ed
[antlr4,python3] Resolve cross port conflicts (#15378)
* [python3] Add vcpkg's include directories to the end rather than to the beginning.

This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all.

* [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h.

This is consistent with the ubuntu packages.
2020-12-29 16:34:43 -08:00
Kevin Lalumiere
1e736c7eb4
Adds python-debugging=on to B2_OPTIONS_DBG (#15352)
... when BOOST_DEBUG_PYTHON is inside the VCPKG_CXX_FLAGS_DEBUG,
i.e. fixes 15350
2020-12-29 16:09:35 -08:00
Amir Alperin
b0dd196533
bump version (#15344) 2020-12-29 16:08:37 -08:00
JonLiu1993
9ec6b1947e
Raylib update to 3.5.0 (#15342) 2020-12-29 16:08:11 -08:00
Jack·Boos·Yu
d5b47fcc98
[mdnsresponder] Change compile flag /Zi to /Z7 (#15340) 2020-12-29 16:07:42 -08:00
Kevin Lu
21872f70f5
[freetype] Update to 2.10.4 (#15334)
* bump version sha

* update patches

* [vtk] upstream patch for freetype 2.10.4

https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1
2020-12-29 16:05:56 -08:00