Commit Graph

573 Commits

Author SHA1 Message Date
Yury Bura
047525cc04
[scripts] Fix Perl download link (#17102)
* fix strawberryperl download link

* Update scripts/cmake/vcpkg_find_acquire_program.cmake

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

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-04-12 17:55:53 -07:00
autoantwort
e8b9eca6b1
fix VCPKG_CROSSCOMPILING (#17068) 2021-04-07 12:51:40 -07:00
huangqinjin
64efdb4658
[vcpkg/scripts/make] add compiler tools to PATH (#17085)
* [vcpkg/scripts/make] add compiler tools to PATH

* use find_program to check if tools are already in PATH
2021-04-07 12:41:56 -07:00
Alexander Neumann
92a3c70f1d
[vcpkg/make/scripts]only append the lib directories if they exist. (#16959)
* [vcpkg/make/scripts]only append the lib directories if they exist.

* fix path concat
2021-04-02 13:41:17 -07:00
Robert Schumacher
7aa11380a5
[vcpkg_acquire_msys] Update package versions (#16952) 2021-04-02 13:37:46 -07:00
Alexander Neumann
42c437bb33
[vcpkg/scripts] add variable VCPKG_CROSSCOMPILING (#16900)
* add VCPKG_CROSSCOMPILING

* update docs

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* update docs

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-04-02 12:51:05 -07:00
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
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
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
Robert Schumacher
abcc05fde5
[vcpkg_build_make] Fix interaction with Windows Detours (#16775) 2021-03-18 15:48:57 -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
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
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
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
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
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
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
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
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
nicole mazzuca
545c165ce0
[(z_)vcpkg_prettify_command(_line)] Scripts Tree Audit (#16130)
* [vcpkg_prettify_command] Audit

* rename file

* rename out-var in docs

* fix file path

* add internal use message to docs

* escapin' in z_vcpkg_prettify_command_line

* regenerate docs
2021-02-09 15:53:36 -08:00
Stefano Sinigardi
d97ce7dfc2
[meson] fix single-config builds (#15937) 2021-02-01 19:27:34 -08:00
Charlie Barto
865de0c130
clarify the actions of vcpkg_check_linkage (#15832)
Co-authored-by: Charles Barto <barto.charlie@gmail.com>
2021-01-28 19:45:59 -08:00
pastdue
7115ef469d
vcpkg_configure_make: Support macOS cross-compile (#15659)
* vcpkg_configure_make: Support macOS cross-compile

* Move compiler flags logic to get_cmake_vars

* Better match the arch behavior of config.guess

* Apply suggestions from code review

Co-authored-by: Billy O'Neal <bion@microsoft.com>

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2021-01-28 19:38:32 -08:00
Alexander Neumann
f2ec6c5a7c
[mpc/mpfr] Add new port / update mpfr (#13081)
* [mpc] add mpc port

* [mpfr] update mpfr to use make.

* [gmp] fix preprocessor define for dlls.

* more fixes

* fix mpfr regression on !windows

* install autoconf-archive in provisioning script

* change indent of patches

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

* fix merge error

* update PR

* update baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2021-01-24 23:01:16 -08:00
Jack·Boos·Yu
f0997d3f85
[msys2] Update msys components pkgconfig url (#15732)
* [pkgconfig] Update msys components pkgconfig url

* update hash
2021-01-22 10:45:08 -08:00
Billy O'Neal
4d136ef25f
[vcpkg] Add vcpkg_minimum_required as a replacement for VERSION.txt. (#15638) 2021-01-20 12:07:41 -08:00
pastdue
3912524298
[vcpkg baseline][vcpkg_configure_make] Fix arm64-windows, arm-uwp (#15740)
* [vcpkg_configure_make] Fix arm64-windows

* [vcpkg_configure_make] Fix arm-uwp
2021-01-19 19:40:30 -08:00
Alexander Neumann
e51da1b1b9
[vcpkg_acquire_msys] add findutils as a dependency to libtool (#15611) 2021-01-16 20:08:35 -08:00
Alexander Neumann
af3c99bc65
[vcpkg_build_make] remove libtool artifacts (#15622) 2021-01-16 19:53:05 -08:00
Stefano Sinigardi
f89336d703
[libarchive+tesseract+opencv] add missing libarchiveConfig.cmake, fix tesseract downstream and unblock opencv CI (#15089)
* [tesseract] add missing reference for downstream projects

* [tesseract] restore ci, fix many regressions that are uncovered by that

* Update ports/opencv2/CONTROL

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

* [opencv] fix regressions on uwp, accept failure on arm64 for now

* Apply suggestions from code review

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

* [opencv4] allow failures on all arm windows targets, both win32 and uwp

* adopts hints from #15180

* [libarchive] bump control version

* [libarchive] use vcpkg-cmake-wrapper instead of a custom libarchiveConfig, since it is vcpkg-provided and not port-provided

* enable features to be visible in parent scope

* apply documentation fix from CI

* [libarchive] remove unnecessary lines in portfile

* fix regressions

* Update ports/gdcm/CONTROL

* use more compact logic syntax

* add new versions to baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-01-16 19:26:38 -08:00
Alexander Neumann
6f593eb61e
don't change line endings on patching. (#15578) 2021-01-14 14:51:36 -08:00
Rich Logan
fd67439f01
[tool-meson] Rev vcpkg's meson build (#15200) 2021-01-13 16:22:54 -08:00
Andrei Lebedev
557ecbe253
[vcpkg] use VCPKG_ROOT_DIR instead of DOWNLOADS for WORKING_DIRECTORY in do_version_check (#15299)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2021-01-12 19:49:40 -08:00
Alexander Neumann
9c63f97fa1
[mesa] new port (#14640)
* [mesa] new port

* make mesa build more.

* more fine tuning

* fix x86

* add supports.

* comment about EGL feature.

* apply suggestion from CR.
added opengl feature.
error on disabled shared glapi if multiple GL APIs are selected.

* fix boolean option

* make sharedgl-api=true the hardcoded default

* add suggestion from CR

* add mesa:x64-windows-static=fail to ci.baseline.txt due to static crt and parts being a dynamic library.

* apply CR sugesstion

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-01-11 16:12:01 -08:00
RonxBulld
c7e96f2a5b
Show the cache file name at download time to provide more ancillary information in non-ARIA2 mode. (#15538) 2021-01-11 09:16:32 -08:00
Alexander Neumann
0b16dbc1cf
[vcpkg_from_git] new options TAG and X_OUT_REF (#15049)
* [vcpkg_from_git] new options TAG and OUT_REF
- TAG github tag to checkout
- OUT_REF github commit id related to tag or ref
(useable for automatic updates of ports if used with a version tag)

* Apply suggestions from code review

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

* additional changes due to CR

* regenerate docs

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-01-11 00:27:56 -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
Takahiro Ueda
41e5b0815f
[docs] fix "CMake script" -> "makefile" for vcpkg_(n)build_make (#15419) 2021-01-05 12:37:19 -08:00
dweckmann
e2d3408547
[cppunit] add linux support and bump version to 1.15.1 (#15018) 2020-12-28 19:35:08 -08:00