Commit Graph

1639 Commits

Author SHA1 Message Date
Ilya Arzhannikov 25d26e7594
[vcpkg_build_make] pass no parallel command to execute_process when parallel build is disabled (#17018)
Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
2021-04-02 12:40:16 -07:00
autoantwort c02feb90c2
vcpkg_copy_tool_dependencies: show description how to install powershell (#16347) 2021-04-01 10:39:35 -07:00
Niel 6563298448
[mfl] Add new port (#16345)
* Add control and portfile for mfl port

* Add mfl port

* reference version better header inclusion

* reference version with fmt linkage

* Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Set ports that don't build to fail in the ci baseline

* add version

* Check for static linkage and add message about C++20 requirements.

* add fail to ci baseline for dynamic windows builds

* version update

* Code review improvements

- Improve warning message that the port requires a C++20 compiler
- Use `version` rather than `version-string` in manifest
- Use `"supports": "static"` in manifest instead of setting dynamic
  builds to `fail` in ci baseline.

* update version

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-04-01 10:39:10 -07:00
Alexander Neumann 2779b733c2
[vcpkg/scripts] add a way to define another tool destination (#16935) 2021-03-31 12:47:35 -07:00
Alexander Neumann 8646c6587b
[vcpkg/meson] fix some details (#15756)
* [vcpkg_install_meson] add bin to path to run code generators

* [vcpkg_configure_meson]
deactivate native compiler in cross builds
make x86 on x86_x64 a native instead of a cross build
(as long as we are not building for UWP)

* remove double spaces in _FLAGS
remove unnecessary comments

* change regex to take double - into account.

* add missing removal of multiple spaces back into the regex

* remove ws diff change

* remove ws to reduce diff

* Change macro to function

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* UWP is cross target.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-31 11:54:44 -07:00
Niall Douglas a434cc74ea
[outcome] Replace Outcome single header based port with full fat cmake install port (#15603)
* Replace Outcome single header based port with full fat cmake install port.

* [outcome] Improve portfile.cmake

* update baseline

* Refactor @JackBoosY's changes to make the dependency SHA feature chosen.

* update baseline

* Fix outcome features so they actually work.

* update baseline

* [outcome] install usage

* update baseline

* [outcome] Always use vcpkg copies of dependencies

* DO NOT MERGE YET, ONLY FOR INSPECTION BY PR REVIEW.

1. Break out these dependencies into standalone ports:

  - ned14-internal-quickcpplib
  - status-code

2. Add port for LLFIO.

3. Add dependency smoke tests for Outcome and LLFIO as per instructions.

* Fix all remaining issues, including link failure. This changeset is now ready to merge into vcpkg.

* Update versions.

* Have LLFIO not build static or shared libs according to VCPKG_LIBRARY_LINKAGE.

* Fix last commit breaking everything :)

* Update versions.

* Disable uwp support for LLFIO.

* versions

* Fix status code on GCC 6 and 7

* Don't download ntkernel-error-category if not on Windows.

* Fix status-code on UWP.

* Update versions.

* Fix MSVC on ARM.

* Apply all the feedback from the PR review, more or less.

* versions

* Update to latest, disable UWP for Outcome.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-30 10:17:02 -07:00
Kyle Benesch cda58bef39
[libtcod] Add new port. (#16408)
* [libtcod] Add new port.

* [lodepng-c] Add port lodepng-c, conflict with lodepng

* [libtcode] Fix dependencies

* [libtcod] Re-fix dependency utf8proc

* update version record

* [lodepng-c/lodepng] Add conflict message

* add baseline

* remove port-version

* update port-version

* update version record

* [libtcod] Update to 1.16.6.

Patches applied upstream.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-03-29 10:11:07 -07:00
NancyLi1013 db1781ae00
[g3log] Add supports (#16872)
* [g3log] Add supports

* Update versions

* Update versions/g-/g3log.json
2021-03-29 09:39:29 -07:00
ras0219 b5bb1511f0
[many ports] Apply host dependencies (#16479)
* [vcpkg] Add VCPKG_HOST_TRIPLET. Improve vcpkg.schema.json

* [many ports] Apply host dependencies

* [yasm-tool] Revert yasm-tool changes to split into PR #16478

* [many ports] Add versions

* [vcpkg.cmake] Revert change applied in other PR

* [boost-modular-build-helper] Merge from master

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-26 12:55:34 -07:00
Dawid Wróbel 70f73854cb
[libgwenhywfar] new port (#16810)
* [libgnutls] macOS fix; additional optimizations

- add missing macOS SDK CoreFoundation framework reference
- add OpenSSL compatibility feature
- explicitly disable libdane (was disabled implicitly due to
  a missing libunbound)
- no need for autoconfig

* [libgnutls] update versions

* [libgwenhywfar] new port

* [libgwenhywfar] add versions

* [libgwenhywfar] use semver versioning scheme

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [libgwenhywfar] use semver versioning scheme

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [libgwenhywfar] update versions

* [libgwenhywfar] make sure to fail a windows build

* [libgwenhywfar] update versions

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-25 12:16:08 -07:00
NancyLi1013 48b59daff4
[vcpkg baseline][gsoap] Update to 2.8.112 (#16837)
* [gsoap] Update to 2.8.112

* Update versions

* Update supports

* Update versions/g-/gsoap.json

* [gsoap] Skip in CI

* Update scripts/ci.baseline.txt

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-03-25 09:12:33 -07:00
Rich Logan 2bc10eae2f
[openh264] Add openh264 port (#16714)
* Add openh264 port

* Fixes for CI

* Don't build tests

* Add git dependency

* Update gas-preprocessor

* Update gas subfolder name

* No UWP support for meson builds

* Manifest format

* Update ports/openh264/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions

* [openh264] Tweak precise tool dependencies

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-22 15:58:34 -07:00
autoantwort 7497632773
[scripts] vcpkg_configure_make: do not set --build on macOS (#16596)
* [scripts] vcpkg_configure_make: do not set --build on macOS

* [scripts] vcpkg_configure_make: do not set --host on macOS
2021-03-22 15:40:23 -07:00
nicole mazzuca 062676d92b
[msbuild] fix integration caching (#16787)
we would always run on build, as opposed to only running when changes happened
2021-03-22 13:53:45 -07:00
Park DongHa 96403d0903
[metrohash] support more triplets by excluding 128 CRC source (#16553)
* [metrohash] exclude CRC for x86

* the change will allow x86 triplets
* update port SHA

* [metrohash] remove fail_port_install

* update ci.baseline.txt

* [metrohash] sync portfile and CMakeLists.txt

* make both file use 'VCPKG_TARGET_TRIPLET' to make ease of comparison

* [metrohash] Use try_compile helpers

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-19 09:56:01 -07:00
JonLiu1993 f2b24a8784
[collada-dom] Add REMOVE_RECURSE to solve DLLs error path (#16763)
* Add REMOVE_RECURSE to solve DLLs error path

* update version

* delete ci.baseline default set

* modify suggested change

* update version

* update control file

* update version

* update homepage

* update version

* Update scripts/ci.baseline.txt

* fix shared keyword

* update version

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-19 09:50:21 -07:00
Phoebe 786d06e579
[vcpkg baseline] Skip libgnutls:x64-osx in Ci testing (#16776) 2021-03-19 09:15:20 -07:00
Robert Schumacher abcc05fde5
[vcpkg_build_make] Fix interaction with Windows Detours (#16775) 2021-03-18 15:48:57 -07:00
nicole mazzuca c8f6537b80
[ci,vcpkg-cmake-*] remove host-only nature of vcpkg-cmake-* ports (#16774)
* remove host-only nature of vcpkg-cmake-* ports

* versions

* fix fmt on uwp
2021-03-18 15:06:03 -07:00
autoantwort 9f6aaaccb7
[libbacktrace] new port (#16693)
* [libbacktrace] add new port

* add version files

* Update ports/libbacktrace/portfile.cmake: Apply suggestion

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* add version files

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-17 15:04:33 -07:00
Jack·Boos·Yu 38b9e63dea
[vcpkg_execute_build_process] Add warning message when memory or hard disk space is insufficient (#16633)
* [vcpkg_execute_build_process] Add warning message when memory or hard disk space is insufficient

* Update scripts/cmake/vcpkg_execute_build_process.cmake
2021-03-16 11:52:25 -07:00
Alexander Neumann 6d3a6a3129
[gmp] correct supports field to run CI for other platforms (#15957)
* fix supports field to correctly run CI for other platforms

* Merge from master

* Update baseline version

* Fix the format issue

* Fix baseline version

* Revert the changes for host

* Fix the baseline version

* Disable mpfr:x64-osx and mpfr:x64-linux in Ci testing

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-03-16 11:45:07 -07:00
Wedge009 9431133cd5
[vcpkg_acquire_msys] Add tar support for gettext (#16312)
Windows 10 has native support for tar but older Windows do not. Add tar dependency for gettext, which requires tar when running autopoint.

Resolves #15508.
Resolves #14830.
2021-03-15 17:56:11 -07:00
omartijn 24625921aa
[applocal.py] Don't try to install dependencies not managed by vcpkg (#16716)
This fixes build failures on osx when using dependencies not coming
from vcpkg (e.g. closed binaries). vcpkg tried to install those
dependencies (which fails because they're not where vcpkg expects them).

Fixes issue #8203

Co-authored-by: Martijn Otto <git@martijnotto.nl>
2021-03-15 15:47:08 -07:00
Simone Gasparini 939c215cc6
[popsift] add new port v0.9 (#10979)
* [ports] add popsift

* [popsift] homepage and limitations

* [popsift] test debug

* [popsift] test -fpic off for static

* [popsift] update ci.baseline

* [popsift] testing winfixes

* [popsift] missing dependencies for apps

* [popsift] update portfile

* [popsift] cleaning

* [popsift] using vcpkg_find_cuda

and v1.0.0-rc2

* [popsift] using CUDA_TOOLKIT_ROOT_DIR

* [popsift] rolling back to v0.9

* [popsift] update versions/baseline

* [popsift] baseline x64-static-md fail

* [popsift] missing popsift.json

* [popsift] remove ci.baseline.txt

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

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-03-11 12:21:52 -08:00
nicole mazzuca fe2a6bb789
[host dependencies] add support in the scripts (#16627)
This contains all the docs and scripts changes from #16479,
without any of the ports changes, for easier CR
2021-03-10 15:33:16 -08:00
chausner ce17802cce
[liblsl] Update to 1.14.0 (#16461)
* [liblsl] Update to 1.14.0

* Adjust CI baseline, assuming liblsl:x64-linux and liblsl:x64-osx pass

* Add back set(VCPKG_LIBRARY_LINKAGE dynamic)

* [libsls] Improve portfile.cmake, add homepage

* update version record

* Update ports/liblsl/CONTROL

* Update versions/l-/liblsl.json

* [liblsl] Use pugixml vcpkg package instead of bundled one

* Convert tabs to spaces

* Update version

* Fix Supports in liblsl/CONTROL

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update versions/l-/liblsl.json

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-10 14:09:27 -06:00
Phoebe 02daf011f0
[Azure pipeline] Upload file list logs for unstable testing (#16492)
* [Azure pipeline] Upload file list logs for unstable testing

* Fix indentation
2021-03-10 14:05:57 -06:00
Chris Townsend 0dc27b9b67
[vcpkg-cmake] Search for binaries after manifest-based installs (#16605)
Otherwise, find_package() fails to find any binaries for many manifest installed packages until a second cmake run commences.

Fixes #16604
2021-03-08 12:44:32 -08:00
nicole mazzuca c47216ac79
[vcpkg_*_cmake] remove deprecation message (#16480)
* [vcpkg_*_cmake] remove deprecation message

to be replaced by a note in the maintainer-guide
this allows existing ports to build without warnings, so as to avoid warning people unnecessarily,
while still making sure people update when they update ports.

* Update docs/maintainers/maintainer-guide.md
2021-03-02 17:03:34 -08:00
Christian Clauss f9763b717e
Upgrade to Python 3.9.2 to avoid CVE-2021-3177 and CVE-2021-23336 (#16428)
https://pythoninsider.blogspot.com/2021/02/python-392-and-388-are-now-available.html
https://www.python.org/downloads/release/python-392
2021-03-01 16:23:36 -08:00
NancyLi1013 2a0707bf0e
[vcpkg baseline][libnice] Skip all triplets check (#16473) 2021-03-01 09:46:56 -08:00
nicole mazzuca 3426db05b9
[scripts-audit] Rollup PR 2021-02-26 (#16440)
* [scripts-audit rollup] PR #16419

* pull the cmake doc comment parsing out into its own function
* support cmake helper ports
* add real support for deprecation, as opposed to ad-hoc

* [scripts-audit rollup] PR #16192

* add a z_ in front of internal functions
* move internal functions out

set feature_vars again in parent scope

* [scripts-audit rollup] PR #16309

Audit vcpkg_copy_pdbs

* [scripts-audit rollup] PR #16304

* Fix usage, documentation

* [scripts-audit rollup] PR #16393

* [scripts-audit rollup] PR #16377

Deprecate `vcpkg_*_cmake` in favor of `vcpkg_cmake_*` from the
`vcpkg-cmake` port, as well as `vcpkg_fixup_cmake_targets`
in favor of `vcpkg_cmake_config_fixup` from the
`vcpkg-cmake-config` port.
2021-02-28 13:17:19 -08:00
Robert Schumacher 2bd1faf359
[vcpkg-tool] Publish release 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e (#16400)
* [vcpkg-tool] Publish release 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e

* Update bootstrap.sh
2021-02-26 12:06:44 -08:00
Rene Stein 0cbc579e1e
[rsasynccpp] Add new port (Rstein.AsyncCpp) (#16380)
* [rsasynccpp] Added rsasynccpp port

* [rsasyncpp] Fix ci.baseline.txt, portfile.cmake, baseline.json, sasynccpp.json

* [rsasynccpp] Added requested changes to vcpkg.json

* [rsasynccpp] Improve portfile.cmake, add supports

* [rsasynccpp] Fix version

* [rsasynccpp] Fixing x64-Windows-static triplet

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-02-24 16:38:53 -08:00
Adam Johnson 0daf0111b2
[python3] upgrade to 3.9.2 (#16315)
* [python3] Update to 3.9.2.

* x-add-version
2021-02-24 14:01:02 -08:00
Jack·Boos·Yu f3ce42e570
[vcpkg baseline][stxxl] Skip baseline check for windows build (#16359) 2021-02-24 08:37:41 -08:00
Jesse Towner a037d82649
[vcpkg] vcpkg_configure_meson: cross-compile fixes for Android (#16260)
* [vcpkg] vcpkg_configure_meson: cross-compile fixes

This change includes two fixes to the meson cross-compile config.

The first change fixes the regex used to partition linker flag
options so that it supports double-hyphen prefixes.

The second change ensures that the cross file is always generated
when the target platform is either Android or iOS, even if the
host and target CPU architectures are the same.

* Use helper function instead of regex replace

Use vcpkg_internal_meson_convert_compiler_flags_to_list to partition
compiler flags into a list, instead of string(REGEX REPLACE ...).
2021-02-20 21:29:35 -08:00
Stefano Sinigardi 447b9cbe8c
[vcpkg] fix script broken audit (#16293) 2021-02-18 23:19:20 -08:00
nicole mazzuca 1bb5ea10a3
[scripts-audit] vcpkg.cmake (#16061)
* [vcpkg.cmake] modify to get in line with the audit

See PR #16055

This also (attempts to) allow vcpkg.cmake to run with cmake 3.0; we had
a VERSION_GREATER_EQUAL check, but that if keyword was added in cmake
3.7.

* s/target_name/package_name in find_package

* depend on z_vcpkg_function_arguments

instead of a custom macro
also, as a drive-by, switch to foreach(X IN LISTS ...)

* split the utility macros/functions out

additionally, move the options and settings to the top of the file

* move more options and settings to the top

* fix name of file

* fix ras code comments

* remove z_vcpkg_utilities due to export
* add cmake_policy(PUSH|POP)
* add VCPKG_INSTALLED_DIR input variable
* add .cmakestamp to vcpkg_installed

* fix osx ifs to use quotes

also, remove spaces between if and (, to keep style consistent
(mostly for ease of grepping...)

* fix bug fixed by #16193

* move z_vcpkg_add_fatal_error up

* fix RANGE for reals
2021-02-18 16:27:47 -08:00
Yuri Sevatz 3a588ab16c
[vcpkg] Change scripts/tls12-download.exe mode from 100644 to 100755 (#16211) (#16212)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-02-18 14:43:16 -08:00
nicole mazzuca f3a4d1aeb7
[scripts audit] ports.cmake (#16257)
* [scripts audit] ports.cmake

* [testing] modify triplet files to test all ports
2021-02-18 14:27:41 -08:00
nicole mazzuca c3ef5d181b
[scripts-audit] vcpkg_add_to_path (#16189)
* [scripts-audit] vcpkg_add_to_path

* regenerate docs
2021-02-17 10:08:50 -08:00
nicole mazzuca 5f29a7a5ca
[scripts-audit] execute_process (#16190) 2021-02-16 11:41:36 -08:00
nicole mazzuca 6166e754fc
[scripts-audit] vcpkg_buildpath_length_warning (#16191) 2021-02-15 12:26:56 -08:00
ras0219 f79c681fc2
[vcpkg_install_msbuild] Hotfix regression in #16173 (#16199)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-02-12 23:42:22 -08:00
nicole mazzuca 8cff598ee5
[z_vcpkg_prettify_command_line] write to output variable (#16195)
* [z_vcpkg_prettify_command_line] write to output variable

* fix after testing
2021-02-12 17:53:17 -08:00
nicole mazzuca b55a40d895
[scripts-audit] z_vcpkg_function_arguments (#16193)
* [scripts-audit] z_vcpkg_function_arguments

fix bug when ARGC = 0

* really fix the bug this time
2021-02-12 16:07:46 -08:00
ras0219 5e4d04ecd5
[vcpkg_build_msbuild] Hotfix regression in #16173 (#16180)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-02-11 10:09:36 -08:00
pastdue d6105181a3
[vcpkg] vcpkg_configure_meson: Support macOS cross-compile (#15867)
* vcpkg_configure_meson: Support macOS cross-compile

* Update scripts/cmake/vcpkg_configure_meson.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Use adapted regex instead, utilize for native file config as well

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2021-02-11 00:44:49 -08:00