Commit Graph

76 Commits

Author SHA1 Message Date
nicole mazzuca
6c617b9f55
[vcpkg-tool] update to 2022-03-30 (#23886)
* [vcpkg-tool] update to 2022-03-30

* add --allow-unexpected-passing, --skip-failures

* Robert CR

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-03-31 19:08:09 -07:00
Billy O'Neal
671db8ae9d
Update vcpkg-tool to 2022-03-25 (#23757)
* Update vcpkg-tool to 2022-03-24

* Hook up https://github.com/microsoft/vcpkg-tool/pull/345

* Hook up https://github.com/microsoft/vcpkg-tool/pull/442

* Update vcpkg-tool to 2022-03-25

* Analysis of failures.

* [Most recent nightly build failed](https://dev.azure.com/vcpkg/public/_build/results?buildId=69427)
* [Validation of this tool update failed](https://dev.azure.com/vcpkg/public/_build/results?buildId=69417)

## Common to both:

PASSING, REMOVE FROM FAIL LIST: chartdir:x64-windows (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: chartdir:x64-windows-static-md (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: chartdir:x86-windows (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/23701

PASSING, REMOVE FROM FAIL LIST: gmp:x64-uwp (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: gmp:x64-windows-static-md (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/23466 ?

REGRESSION: colmap:x64-windows-static-md failed with BUILD_FAILED. If expected, add colmap:x64-windows-static-md=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.

I don't know exactly what changed. I observe that
* this thing depends on a *lot* of stuff
* on March 14 we didn't even attempt to build this
* the x64-windows ones are already in the baseline

so I skipped it.

REGRESSION: qtdeclarative:x64-windows. If expected, add qtdeclarative:x64-windows=fail to .\scripts\ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtdeclarative:x64-windows failed with BUILD_FAILED. If expected, add qtdeclarative:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.

This is a reporting change: The new world order also includes host build failures which is why it's duplicated.

See also https://github.com/microsoft/vcpkg/issues/23714
See also https://github.com/microsoft/vcpkg/issues/23490

I'm nervous about baslining this because it seems most of the qt world is built on top of this port

I filed https://github.com/microsoft/vcpkg/issues/23824 about this and @Neumann-A indicated this should be fixed by https://github.com/microsoft/vcpkg/pull/23755

REGRESSION: nettle:x64-uwp. If expected, add nettle:x64-uwp=fail to .\scripts\ci.baseline.txt.
REGRESSION: nettle:x64-windows-static-md. If expected, add nettle:x64-windows-static-md=fail to .\scripts\ci.baseline.txt.
REGRESSION: nettle:x64-uwp failed with BUILD_FAILED. If expected, add nettle:x64-uwp=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: nettle:x64-windows-static-md failed with POST_BUILD_CHECKS_FAILED. If expected, add nettle:x64-windows-static-md=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.

Didn't analyze, probably fixed by https://github.com/microsoft/vcpkg/pull/23519 ?

REGRESSION: libgpg-error:x64-uwp. If expected, add libgpg-error:x64-uwp=fail to .\scripts\ci.baseline.txt.
REGRESSION: libgpg-error:x64-uwp failed with BUILD_FAILED. If expected, add libgpg-error:x64-uwp=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.

This was broken by VS2022 update:
```
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets(892,25): error MSB4086: A numeric comparison was attempted on "$(TargetPlatformMinVersion)" that evaluates to "" instead of a number, in condition "'$(TargetPlatformMinVersion)' >= '10.0.17200.0'". [C:\Dev\vcpkg\buildtrees\libgpg-error\x64-uwp-rel\error-1.42-2324ddbc71.clean\SMP\libgpg-error_winrt.vcxproj]
```

REGRESSION: libmikmod:x64-osx. If expected, add libmikmod:x64-osx=fail to .\scripts\ci.baseline.txt.
REGRESSION: libmikmod:x64-osx failed with BUILD_FAILED. If expected, add libmikmod:x64-osx=fail to /Users/vagrant/Data/work/2/s/scripts/azure-pipelines/../ci.baseline.txt.

Broken between [2022-03-16](https://dev.azure.com/vcpkg/public/_build/results?buildId=68947) and [2022-03-18](https://dev.azure.com/vcpkg/public/_build/results?buildId=69051). Unfortunately I don't see obvious reasons why. Nothing else depends on this and nobody has noticed in 2 weeks, so I'm baslining it for now. (Will investigate shortly...)

## Only broken in tool update:

REGRESSION: mesa:x64-windows failed with BUILD_FAILED. If expected, add mesa:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.

```
-- Downloading https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-21.2.5/mesa-mesa-21.2.5.tar.gz -> mesa-mesa-mesa-21.2.5-1.tar.gz...
-- Extracting source /Users/vagrant/Data/downloads/mesa-mesa-mesa-21.2.5-1.tar.gz
-- Applying patch swravx512-post-static-link.patch
-- Applying patch swr-msvc-2.patch
-- Applying patch swr-llvm13.patch
-- Applying patch radv-msvc-llvm13-2.patch
-- Applying patch d3d10sw.patch
-- Using source at /Users/vagrant/Data/buildtrees/mesa/src/esa-21.2.5-2df234d2b1.clean
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'mako'
CMake Error at ports/mesa/portfile.cmake:85 (message):
  Python package 'mako' needs to be installed for port 'mesa'.

  Complete list of required python packages: setuptools;mako
Call Stack (most recent call first):
  ports/mesa/portfile.cmake:91 (vcpkg_get_python_package)
  scripts/ports.cmake:145 (include)
```

Looks like this is being tracked by https://github.com/microsoft/vcpkg/pull/23089 ; perhaps that we don't have as aggressive a recycling strategy for macos boxes as we do for the others has let different machines give different results?

## Only broken without tool update:

REGRESSION: chromium-base:x64-osx. If expected, add chromium-base:x64-osx=fail to .\scripts\ci.baseline.txt.

This one has been constantly flaky; I baselined it.

REGRESSION: libxml2:x64-osx. If expected, add libxml2:x64-osx=fail to .\scripts\ci.baseline.txt.

This port uses vcpkg_from_git and the upstream server was down during the build.

* Restore chartdir to the baseline, I thought https://github.com/microsoft/vcpkg/pull/23732 had been merged.
2022-03-28 13:17:35 -07:00
Sandy
e383f75a8f
Add help for Arch linux derivates to bootstrap (#23676) 2022-03-21 10:16:56 -07:00
nicole mazzuca
b3d781ae27
[vcpkg-tool] update to 2022-03-09 (#23463)
* Update vcpkg-ce SHA and exclude empty file prettifyJs2Xml.js from
  signing. by @BillyONeal in
  https://github.com/microsoft/vcpkg-tool/pull/423
* no lib arch checks for mingw by @autoantwort in
  https://github.com/microsoft/vcpkg-tool/pull/426

**Full Changelog**:
https://github.com/microsoft/vcpkg-tool/compare/2022-03-08...2022-03-09
2022-03-09 11:58:59 -08:00
Billy O'Neal
be5c4ef68b
Update vcpkg-tool to 2022-03-08. (#23424)
* Update vcpkg-tool to 2022-03-08.

* Back off required git version to something actually in the build lab.

* Remove hiding of the output of --parent-hashes.

* Update 7zip reference as indicated in https://github.com/microsoft/vcpkg-tool/pull/413
2022-03-08 12:47:23 -08:00
Billy O'Neal
d457f8f162
Update vcpkg tool to 2022-02-24. (#23162)
* Update vcpkg tool to 2022-02-18.

* Actually do 2022-02-24.
2022-02-25 15:20:41 -08:00
Billy O'Neal
c93faafe6d
Update vcpkg-tool to 2022-02-11 (#23059)
* Update vcpkg-tool to 2022-02-11

* Fix agent pool.
2022-02-13 21:57:51 -08:00
nicole mazzuca
7e7dad5fe2
[vcpkg-tool] update to 2022-02-03 (#22924)
* [vcpkg-tool] update to 2022-02-03

this adds the feature of `"license": null`, important to silence warnings

* update mailio license

* [vcpkg doc] update docs for new license parser

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-04 18:00:26 -08:00
Billy O'Neal
c64c0fdac5
Update vcpkg-tool to 2022-02-01 (#22629) 2022-02-02 10:51:19 -08:00
Billy O'Neal
0fe674df99
Update tool to 2021-12-09. (#21932) 2021-12-09 12:08:05 -08:00
Billy O'Neal
b3cfaaf1bb
Update tool to 2021-11-24. (#21654)
* Update tool to 2021-11-24.

* Reformat ports affected by https://github.com/microsoft/vcpkg-tool/pull/282
2021-11-26 01:25:06 -08:00
Robert Schumacher
868fc18364
Revert "Update tool to 2021-11-19. (#21550)" (#21606)
This reverts commit 653912591a.
2021-11-22 12:30:53 -08:00
Billy O'Neal
653912591a
Update tool to 2021-11-19. (#21550) 2021-11-21 11:04:38 -08:00
Billy O'Neal
a4b5cde7f5
Update tool to 2021-11-15. (#21471) 2021-11-16 18:31:04 -08:00
Billy O'Neal
d0015f95d3
Update vcpkg-tool to 2021-11-02. (#21153) 2021-11-03 00:38:49 -07:00
Billy O'Neal
5bdb9d6012
Update vcpkg tool, add windows-arm64, and download rather than build on some POSIX (#20838) 2021-10-29 22:39:14 -07:00
Billy O'Neal
a241dd2859
[vcpkg] Update tool to 2021-09-10. (#20105)
Resolves:
* https://github.com/microsoft/vcpkg/issues/19552
* https://github.com/microsoft/vcpkg/issues/18217
* https://github.com/microsoft/vcpkg/issues/16631

See https://github.com/microsoft/vcpkg-tool/releases/tag/2021-09-10 for more details.
2021-09-10 18:28:18 -07:00
Billy O'Neal
4934cb4099
Apply @workpadwan 's fix to bootstrap.sh on non-bash systems. (#19911) 2021-09-02 13:09:42 -07:00
autoantwort
cda8ba09f3
fix bootstrap.sh on arm macs (#19622) 2021-08-30 10:23:57 -07:00
autoantwort
8602e5facb
bootstrap.sh: fails if there is no entry for a tool os combination (#19640) 2021-08-30 09:50:49 -07:00
Billy O'Neal
c801072693
[vcpkg] Update tool to 2021-08-12. (#19543)
Resolves #17897
2021-08-12 20:49:50 -07:00
Carlos O'Ryan
297349f923
[vcpkg] add support to bootstrap.sh for CXX vars with ccache (#19386)
Co-authored-by: Scott Hart <sdhart@google.com>
2021-08-05 15:44:18 -07:00
nicole mazzuca
fa43004f0c
[vcpkg-tool] Update to 2021-08-03 (#19347) 2021-08-04 14:20:23 -07:00
Billy O'Neal
0ebd257447
[vcpkg] Update tool to 2021-07-26 (#19159) 2021-07-27 16:58:43 -07:00
Bradley Austin Davis
593c26c08c
[vcpkg] Optionally limit the number of cores during vcpkg bootstrap (#19010)
* limit the number of cores during vcpkg bootstrap

* Switch to VCPKG_MAX_CONCURRENCY
2021-07-27 16:20:45 -07:00
Billy O'Neal
9f8a74d7c2
Don't emit stderr on successful bootstrap. (#19175)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-27 15:42:43 -07:00
Billy O'Neal
d417ae59d6
[vcpkg] Bump version to 2021-07-21 (#19045) 2021-07-21 14:31:51 -07:00
Billy O'Neal
111220b3cf
Update vcpkg-tool to 2021-07-16. (#18983) 2021-07-17 09:50:58 -07:00
Billy O'Neal
75beef03d6
Update vcpkg tool to resolve leak of the asset cache token (#18720) 2021-06-29 13:47:39 -07:00
Billy O'Neal
2ed44b4546
Update VMs and pick up VS2019 16.10 (#18233)
* Cherry-pick https://github.com/microsoft/vcpkg/pull/15598

* Hook deploy-inteloneapi into create-vmss.ps1.

* Add script to resolve https://github.com/microsoft/vcpkg/issues/17521

* Move tls settings deployment to the front and respond to script triggering a reboot.

* Go back to provisioning an extra disk to workaround https://github.com/microsoft/vcpkg/issues/18379

* Disallow public access to blob storage and require TLS 1.2.

* Update Pools.

* Update tool to 2021-06-19

* [simage] Skip simage on uwp platforms as it appears broken by 16.10.

* [tensorflow-cc] Skip because changes in our MacOS hardware broke the port.
2021-06-22 19:16:04 -07:00
Robert Schumacher
4e83da0887
[vcpkg] Update vcpkg tool version 2021-05-05 (#17689)
* [vcpkg] Update vcpkg tool version 2021-05-05

* [vcpkg] Hotfix bug in Microsoft/vcpkg-tool#34

* [vcpkg-ci] Ignore results from non-target triplets

* [protobuf] Fix regression introduced in #16904

* [vcpkg] Fix bug where 'staticcrt' was ignored

Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-05-06 07:12:43 -07:00
xyb
c8729e1900
[bootstrap-vcpkg] Add g++-11 support (#17633) 2021-05-03 10:50:38 -07: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
Billy O'Neal
aa60b7efa5
[vcpkg] Download vcpkg.exe rather than building it in bootstrap on Windows. (#15474)
This reduces bootstrap cost for Windows customers, resolving the issue initially submitted as #12502 .

The `toolsrc` tree was extracted to https://github.com/microsoft/vcpkg-tool. `bootstrap.sh` was changed to download the right source tarball, extract, and build it. This was chosen over the previous attempt, a submodule, over concerns of accidentally destroying people's local modifications.
2021-02-04 10:15:44 -08:00
Andrei Lebedev
83b8e27b95
[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)
* [vcpkg] initial ppc64le community support

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* [boost-modular-build-helper] ppc64le support

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* Merge from master

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2021-01-22 10:37:26 -08:00
Billy O'Neal
8414e15973
[vcpkg] Use a tag file rather than conditional compilation to permanently disable metrics. (#15470) 2021-01-13 14:06:06 -08:00
chausner
8062187851
[vcpkg bootstrap] Include "zip" as required apt dependency in bootstrap error message (#14803) 2020-12-03 14:12:40 -08:00
Joakim L. Gilje
d9633d939c
[vcpkg] initial openbsd (community) support (#14549)
* initial openbsd support in vcpkg

* after clang-format

* hardcoded in the preferred compiler for openbsd in bootstrap scipt (thanks @tormfinn)

* Fetch a patched pkg-config because openbsd pkg-config lacks {fcfiledir}

* fixes from review feedback

* corrected hash for pkg-config.openbsd

* re-added missing endif()

* regenerate docs

* Update scripts/cmake/vcpkg_configure_meson.cmake

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-23 09:43:23 -08:00
Cengizhan Pasaoglu
8fcd02ddc1
[vcpkg-bootstrap] Update the latest g++-10 version for build if exists (#13644) 2020-09-27 17:53:24 -07:00
Andrei Lebedev
645f316824
[vcpkg] improve s390x support (#13386)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-09-09 12:28:38 -07:00
xyb
fdac1fc5aa
Add community triple arm64-linux and arm-linux. (#11880)
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3.

    ./bootstrap-vcpkg.sh
    ./vcpkg install boost
2020-09-05 10:45:48 -07:00
nicole mazzuca
09319cd79e
[vcpkg metrics] Allow someone to opt out after build (#11542)
* [vcpkg metrics] start using json library

Additionally, add floats to the JSON library since they're required.

* [vcpkg metrics] allow users to disable metrics after the build

Additionally, as a drive by, fix UUID generation

* fix metrics data

* code review
2020-05-29 14:09:03 -07:00
nicole mazzuca
00434687eb
[vcpkg] pass -disableMetrics to bootstrap on git bash (#11299)
in git bash, we call back into bootstrap-vcpkg.bat,
but we don't pass -disableMetrics through.
This commit corrects this
2020-05-19 15:22:44 -07:00
Billy O'Neal
5504dfa7da
[vcpkg] Turn on tests and PREfast in CI, and fix tests to pass. (#11239)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-14 12:49:31 -07:00
Billy O'Neal
d7d410b50b
[vcpkg] Restrict telemetry uploads to TLS 1.2 (#11213)
* [vcpkg] Restrict telemetry uploads to TLS 1.2, as required by Azure security policy.

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-07 14:20:14 -07:00
nicole mazzuca
12d75a13ac
[vcpkg] Fix build scripts on openSUSE and g++9 (#10867)
The existing code did not correctly pass `CXX` to cmake.
2020-04-17 10:56:27 -07:00
nicole mazzuca
4db554b937
[vcpkg] Fix bootstrap from out of directory (#10846)
In my last PR, I broke building vcpkg from a directory that isn't the
vcpkg directory; this commit fixes that.
2020-04-15 10:15:12 -07:00
nicole mazzuca
22623e3501
[vcpkg] Clean up CMake build system (#10834)
There are quite a few changes to the CMake build system packaged up into
one set here:
* Added `toolsrc/cmake/utilities.cmake`, which contains the following:
  * `vcpkg_detect_compiler` -- get the name of the C++ compiler, as one
    of {gcc, clang, msvc}
  * `vcpkg_detect_standard_library` -- get the name of the standard
    library we're linking to, as one of {libstdc++, libc++, msvc-stl}
  * `vcpkg_detect_std_filesystem` -- figure out how to link and call
    into C++17's filesystem; whether one needs to link to `stdc++fs` or
    `c++fs`, and whether to use `<filesystem>` or
    `<experimental/filesystem>`.
* Added a `VCPKG_WARNINGS_AS_ERRORS`, split off from
  `VCPKG_DEVELOPMENT_WARNINGS`, which allows one to use the development
  warnings without passing -Werror
* Rename `DEFINE_DISABLE_METRICS` to `VCPKG_DISABLE_METRICS` -- the
  former will now print a deprecation message and set the latter.
* Now, print a deprecation message on `WERROR`; it doesn't do anything
  since the behavior it requested is now the default.
* Pass `-std=c++17` if the compiler allows it, instead of `-std=c++1z`
* Do some code movement
* Pass `USE_STD_FILESYSTEM` if possible, instead of only on minGW
  * Renamed to `VCPKG_USE_STD_FILESYSTEM`

Additionally, we now pass `/W4` in Debug mode on x86 in the Visual
Studio build system; this brings it in line with the CMake build system,
and the x64 Visual Studio build system.

And finally, we make some minor code changes to support compiling in
VCPKG_DEVELOPMENT_WARNINGS mode.
2020-04-14 22:08:50 -07:00
Victor Romero
2523a19f70
Omit telemetry message when bootstrapping with -disableMetrics (#10061)
* Don't show telemetry message when passing --disableMetrics to bootstrap.sh

* Don't show telemetry message when passing -disableMetrics to bootstrap-vcpkg.bat
2020-02-13 18:12:12 -08:00
dan-shaw
0a0440c1a8 update telemetry 2019-11-22 15:07:00 -08:00