aboutsummaryrefslogtreecommitdiff
path: root/toolsrc
AgeCommit message (Collapse)Author
2020-06-08[vcpkg] Fix OSX CI by ensuring the downloads directory exists (#11839)Billy O'Neal
* [vcpkg] Remove do-nothing Set-Content from Windows azure-pipelines.yml. * [vcpkg] Fix OSX CI by ensuring the downloads directory exists in advance, and extract common command line parameters with powershell splatting. * [tensorflow-cc] Prevent hang building tensorflow-cc asking to configure iOS. * Skip ignition-msgs5:x64-osx
2020-06-03[vcpkg] Allow CI to pass in all relevant directories and remove use of ↵Billy O'Neal
symbolic links (#11483)
2020-06-02[vcpkg] add x86-wasm.cmake to community triplets (#11323)Mohammed Alyousef
* add x86-wasm.cmake to community triplets The EMSDK enviroment variable is normally defined when first installing Emscripten. * Rename x86-wasm.cmake to wasm32-emscripten.cmake * Update wasm32-emscripten.cmake * Update wasm32-emscripten.cmake * Add wasm32 and wasm64 arch to docs * Create wasm64-emscripten.cmake * remove wasm64 * Delete wasm64-emscripten.cmake * Add wasm32 to list of identifiers * add emscripten VCPKG_CMAKE_SYSTEM_NAME support * add path check to EMSDK cmake toolchain
2020-05-29[vcpkg] Rename the msbuild property VcpkgRoot to VcpkgCurrentInstalledDir, ↵Billy O'Neal
and set VcpkgRoot to the expected root instead. (#11653)
2020-05-29[vcpkg metrics] Allow someone to opt out after build (#11542)nicole mazzuca
* [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-27[vcpkg] Move CI cleaning back out of the 'ci' command into a separate ↵Billy O'Neal
command to restore cross-compilation preinstalls. (#11545)
2020-05-20[vcpkg] fix extern C around ctermid (#11343)nicole mazzuca
Additionally, move the system_header invocations to their own header file, <vcpkg/base/system_header.h>
2020-05-19[vcpkg] Optimize string split slightly. (#11433)Billy O'Neal
2020-05-19[cmake] Update to 3.17.2 (#10767)Jack·Boos·Yu
* [cmake] Update to 3.17.1 * update cmake directory name * [cpuid] Fix install headers. * [stormlib] Fix install headers * [murmurhash] Fix install headers * [metrohash] Fix install headers * update baseline * update baseline * [otl] update hash * update baseline * [gts] Do not use ninja to avoid empty implib issue * update baseline * [dmlc] Re-trigger ci test * [replxx] Re-trigger ci test * update baseline * [osg] Re-trigger ci test * [replxx] Fix build failure * Set cmake min version to 3.17.1 * update baseline * [libnice] Re-trigger ci test * [mlpack] Re-trigger ci test * update to 3.17.2 * update cmake hash * update baseline * update baseline * update baseline * update baseline * Update scripts/ci.baseline.txt Co-authored-by: Billy O'Neal <billy.oneal@gmail.com> * update baseline * update baseline * [magnum] Set magnum:arm64-windows to skip in baseline * [nanogui] Set nanogui:arm64-windows to fail in baseline * [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR * re-trigger CI test * update baseline * Install unixODBC in Linux * [nanodbc] Re-trigger CI test * update baseline * Remove space * update baseline
2020-05-19[vcpkg] Harden file removals and clean directory contents in "CI" inside ↵Billy O'Neal
vcpkg itself. (#11432) `files.h/files.cpp`: * Add end and else comments to all macros. * Add "remove_all_inside" function which empties a directory without actually deleting the directory. This is necessary to handle the case where the directory is actually a directory symlink. * Change remove_all to use std::remove when VCPKG_USE_STD_FILESYSTEM is set; this will engage POSIX delete support available on current Win10. `commands.ci.cpp`: empty "installed". `*/initialize_environment.*`: No longer clean the directories outside the tool. `ci-step.ps1`: Remove unused console output tee-ing.
2020-05-18[vcpkg] Hardem expand environment strings path with explicit integer ↵Billy O'Neal
overflow checks and resistance to CP_ACP. (#11315)
2020-05-18[vcpkg] msbuild: do not build vcpkgmetricsuploader when -disableMetrics (#11368)Markus Rickert
2020-05-15[vcpkg] Avoid naming Policheck sensitive term 'Virgin Islands' (#11339)Billy O'Neal
2020-05-14[vcpkg] Turn on tests and PREfast in CI, and fix tests to pass. (#11239)Billy O'Neal
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-13[vcpkg] Fix nuget package import failed. (#11093)shihaonan369
* fix bug that caused exported nuget package import failure. * Give priority to nuget package to set $(VcpkgRoot). * [vcpkg] Remove trailing whitespace * fix nuget package import failed Co-authored-by: 施浩男 <shihaonan@zhongli360.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-05-11[vcpkg] Hopefully fix build on macOS 10.13/10.14 (#11205)nicole mazzuca
2020-05-11[vcpkg] Resolve --overlay-ports is only working for relative parths since ↵Tobias Funk
fix… (#11302) * Resolve --overlay-ports is only working for relative parths since fix for https://github.com/microsoft/vcpkg/issues/10771 Fixes https://github.com/microsoft/vcpkg/issues/11301 * use auto instead of fs::path
2020-05-08[vcpkg] Adding support for finding VS2019 by environment variable (#10760)Arsen Tufankjian
* Fixing build with VS2019 * Added support for finding VS2019 by VS160COMNTOOLS env var * [vcpkg] Explicitly handle trailing backslash in VS140 path. * [vcpkg] Defer instance validation for VS160COMNTOOLS Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-05-08[vcpkg] Resolve relative overlay ports to the current working directory. ↵Robert Schumacher
(#11233) Fixes #10771.
2020-05-08Don't build the metrics uploader when metrics are disabled. (#11234)Billy O'Neal
2020-05-07[vcpkg] Restrict telemetry uploads to TLS 1.2 (#11213)Billy O'Neal
* [vcpkg] Restrict telemetry uploads to TLS 1.2, as required by Azure security policy. Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-06[vcpkg] always pass VSCMD_SKIP_SENDTELEMETRY=1 (#11202)nicole mazzuca
Fixes #10468
2020-05-04[vcpkg] fix bug in Filesystem::absolute (#11170)nicole mazzuca
* [vcpkg] fix bug in Filesystem::absolute * flip the conditional for billy
2020-04-30[vcpkg] Warn on unmatched removal with reasonable alternative (#11083)Robert Schumacher
2020-04-29[vcpkg] Correctly record default feature list in BinaryParagraphs. Fixes ↵Robert Schumacher
#10678. (#11085)
2020-04-29[vcpkg] Small touchups for vcpkg unit tests (#11068)Martin Hořeňovský
* Do not disable expression decomposition in some optional tests The tests are trivial enough that it is unlikely to come useful, but the old usage is bad practice. * Run tests in random order This should prevent committing tests that are run-order dependent, or at least shake them out eventually in CI.
2020-04-29[vcpkg] Add support for VCPKG_BINARY_SOURCES and --x-binarysource=<> (#10476)Robert Schumacher
* [vcpkg] Add support for VCPKG_BINARY_SOURCES and --binarysource=<> * [vcpkg] Rename --binarysource to --x-binarysource to denote internal/experimental * [vcpkg] Address review comments & add tests for BinaryConfigParser * [vcpkg] Replace do {} while(1); with for(;;) Avoids conditional expresion is constant warnings * [vcpkg] Invert if/else * [vcpkg] Fix warning in export.prefab.cpp * [vcpkg] Resolve merge regressions
2020-04-23[vcpkg] Fix toolsrc CMake build error (#10973)NancyLi1013
2020-04-17[vcpkg] Add initial JSON support (#10521)nicole mazzuca
* [vcpkg] Add initial JSON support This adds a JSON parser, as well as the amount of unicode support required for JSON parsing to work according to the specification. In the future, I hope to rewrite our existing XML files into JSON. Additionally, as a drive-by, we've added the following: * add /wd4800 to pragmas.h -- this is a "performance warning", for when you implicitly convert pointers or integers to bool, and shouldn't be an issue for us. * Switched Parse::ParserBase to read unicode (as utf-8), as opposed to ASCII * Building again under VCPKG_DEVELOPMENT_WARNINGS, yay!
2020-04-17[vcpkg] Add x-set-installed command (#10817)nicole mazzuca
This command takes a list of ports, and causes the final state of the installed directory to be as-if one ran the install on an empty installed directory (removing any unnecessary packages). This is especially useful with the new `--x-install-root` option, which allows one to set the `installed` directory for vcpkg to use. Additionally, as a drive-by, we do some `stdfs` clean-up and add a `.is_feature()` member function to BinaryParagraph (as opposed to checking for `.feature().empty()`, which is far less clear to read). This feature is experimental.
2020-04-17[vcpkg] Fix build scripts on openSUSE and g++9 (#10867)nicole mazzuca
The existing code did not correctly pass `CXX` to cmake.
2020-04-14[vcpkg] Clean up CMake build system (#10834)nicole mazzuca
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-09[vcpkg] New policy: SKIP_ARCHITECTURE_CHECK. (#10398)Alexander Neumann
* New policy: SKIP_DLL_ARCHITECTURE_CHECK. The check only works if MS link.exe is used otherwise the second linker member is missing (according to the observed errors) * rename to VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK since the dll check was ok but the lib check was failing. * fix indentation * move the if to a better position.
2020-04-09[vcpkg-test] Fix the check for ability to make symlinks (#10543)nicole mazzuca
The old check checked to see if the computer was in developer mode _OR_ allowed sideloading apps, but we want _only_ developer mode.
2020-04-09[vcpkg] Correct UInt128 code 😇 (#10583)nicole mazzuca
* [vcpkg] Correct UInt128 code 😇 `UInt128::operator<<(x, y)` should clear the bottom 64 bits of `x` if `y >= 64`; however, we don't do this, and so we duplicate `x`'s bottom bits into `x.top` instead of moving them. Similarly, we have the opposite problem for `UInt128::operator>>`. This commit fixes these latent bugs, which we weren't hitting because the thing we use them for never actually shifts more than 64 bits.
2020-04-06Android Support: Exporting to Android Archive (AAR) (#10271)atkawa7
* added android triplets * added android support to vcpkg * added export directories to git ignore * fix libraries naming * added vckpg sources to visual studio project files * rename file location * issue with std::string fs:path copy initialization * format path on VStudio * fix checks format cannot work on fs::path * support header only libraries * support using architecture instead of triplets * added prefab support * added debug logs and prefab debug flag * added support for empty packages i.e openssl
2020-04-03[vcpkg] Fix spec instance name (#10660)Phoebe
* [vcpkg] Fix spec instance name * Change cub version for testing the changes * Add vulkan-hpp to test
2020-04-01vcpkg_from_git: Add support for git over ssh (#9446)Marc Boucek
* vcpkg_from_git: Add support for git over ssh * vcpkg_from_git: append ssh bin directory to path * vcpkg_from_git: fix function signature on non windows platforms * Revert "vcpkg_from_git: fix function signature on non windows platforms" This reverts commit 0d608ee5911d2ba274e782a21dfe77a502a39053. * Revert "vcpkg_from_git: append ssh bin directory to path" This reverts commit 377ce3fae1e2c085a5da7ace8185624a345a511b. * Partial Revert "vcpkg_from_git: Add support for git over ssh" This partially reverts commit 9b81b16c4ccd3d8646d97e66234566a07af8a308. Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de> Co-authored-by: Marc Boucek <marc.boucek@posteo.net>
2020-03-27[vcpkg] Add the possibility to load vcvars.bat with external toolchain. ↵Alexander Neumann
(#10399) * Add VCPKG_LOAD_VCVARS_ENV allow loading vcvars.bat if an external toolchain file is used. * add documentation
2020-03-25[vcpkg] Improve common case of ignoring filesystem errors (#10557)Robert Schumacher
2020-03-25[vcpkg-help] Reflow and small cleanups (#10477)Robert Schumacher
2020-03-19Merge pull request #10372 from ras0219-msft/dev/roschuma/jobsRobert Schumacher
[vcpkg] Introduce Job Objects to improve ctrl-c performance on Windows
2020-03-19Merge pull request #10032 from ras0219-msft/dev/roschuma/compute-all-abisRobert Schumacher
[vcpkg] Compute ABIs upfront instead of just-in-time
2020-03-18[vcpkg] Fill in feature lists during CI reportingRobert Schumacher
2020-03-18[vcpkg] Move package abi access after they have been computedRobert Schumacher
2020-03-18[vcpkg] Write abi information to generated test resultsRobert Schumacher
2020-03-18[vcpkg] Use enum class for RestoreResultRobert Schumacher
2020-03-17[vcpkg-env] Restore previous behavior of `cmd /c <arg>`Robert Schumacher
2020-03-16[vcpkg] Implement a warning when running in a mismatched Visual Studio promptBilly O'Neal
2020-03-13[vcpkg] Fix build for non-windowsRobert Schumacher