aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.sh
AgeCommit message (Collapse)Author
2021-09-10[vcpkg] Update tool to 2021-09-10. (#20105)Billy O'Neal
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-02Apply @workpadwan 's fix to bootstrap.sh on non-bash systems. (#19911)Billy O'Neal
2021-08-30fix bootstrap.sh on arm macs (#19622)autoantwort
2021-08-30bootstrap.sh: fails if there is no entry for a tool os combination (#19640)autoantwort
2021-08-12[vcpkg] Update tool to 2021-08-12. (#19543)Billy O'Neal
Resolves #17897
2021-08-05[vcpkg] add support to bootstrap.sh for CXX vars with ccache (#19386)Carlos O'Ryan
Co-authored-by: Scott Hart <sdhart@google.com>
2021-08-04[vcpkg-tool] Update to 2021-08-03 (#19347)nicole mazzuca
2021-07-27[vcpkg] Update tool to 2021-07-26 (#19159)Billy O'Neal
2021-07-27[vcpkg] Optionally limit the number of cores during vcpkg bootstrap (#19010)Bradley Austin Davis
* limit the number of cores during vcpkg bootstrap * Switch to VCPKG_MAX_CONCURRENCY
2021-07-27Don't emit stderr on successful bootstrap. (#19175)Billy O'Neal
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-21[vcpkg] Bump version to 2021-07-21 (#19045)Billy O'Neal
2021-07-17Update vcpkg-tool to 2021-07-16. (#18983)Billy O'Neal
2021-06-29Update vcpkg tool to resolve leak of the asset cache token (#18720)Billy O'Neal
2021-06-22Update VMs and pick up VS2019 16.10 (#18233)Billy O'Neal
* 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-05-06[vcpkg] Update vcpkg tool version 2021-05-05 (#17689)Robert Schumacher
* [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-03[bootstrap-vcpkg] Add g++-11 support (#17633)xyb
2021-02-26[vcpkg-tool] Publish release ↵Robert Schumacher
2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e (#16400) * [vcpkg-tool] Publish release 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e * Update bootstrap.sh
2021-02-04[vcpkg] Download vcpkg.exe rather than building it in bootstrap on Windows. ↵Billy O'Neal
(#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-01-22[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)Andrei Lebedev
* [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-13[vcpkg] Use a tag file rather than conditional compilation to permanently ↵Billy O'Neal
disable metrics. (#15470)
2020-12-03[vcpkg bootstrap] Include "zip" as required apt dependency in bootstrap ↵chausner
error message (#14803)
2020-11-23[vcpkg] initial openbsd (community) support (#14549)Joakim L. Gilje
* 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-09-27[vcpkg-bootstrap] Update the latest g++-10 version for build if exists (#13644)Cengizhan Pasaoglu
2020-09-09[vcpkg] improve s390x support (#13386)Andrei Lebedev
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-09-05Add community triple arm64-linux and arm-linux. (#11880)xyb
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3. ./bootstrap-vcpkg.sh ./vcpkg install boost
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-19[vcpkg] pass -disableMetrics to bootstrap on git bash (#11299)nicole mazzuca
in git bash, we call back into bootstrap-vcpkg.bat, but we don't pass -disableMetrics through. This commit corrects this
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-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-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-15[vcpkg] Fix bootstrap from out of directory (#10846)nicole mazzuca
In my last PR, I broke building vcpkg from a directory that isn't the vcpkg directory; this commit fixes that.
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-02-13Omit telemetry message when bootstrapping with `-disableMetrics` (#10061)Victor Romero
* Don't show telemetry message when passing --disableMetrics to bootstrap.sh * Don't show telemetry message when passing -disableMetrics to bootstrap-vcpkg.bat
2019-11-22update telemetrydan-shaw
2019-11-14[vcpkg] update telemetrydan-shaw
2019-10-14Fix CMake checks for Apple Clang 11.0 on macOS 10.15 (#8580)Joel Pelaez Jorge
* Fix CMake checks for Apple Clang 11.0 on macOS 10.15 * Use clang++ instance clang if allowAppleClang is enabled
2019-10-07[vcpkg] fatal_error when patch fails to apply (#8087)Stefano Sinigardi
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-08-16[vcpkg] Major tool CMakeLists.txt updatesNicole Mazzuca
- Add the "VCPKG_DEVELOPMENT_WARNINGS" flag - setting "WERROR" will also set this flag - This flag is set by default - on GCC/clang, this will pass '-Wall -Wextra -Wpedantic -Werror' - on GCC, this will additionally pass '-Wmissing-declarations' - on clang, this will additionally pass '-Wmissing-prototypes' - on MSVC, this will pass '-W4 -WX' - On Visual Studio 2017 and later, pass '-permissive-' - Change the source for fallout of these changes - add `format` subcommand - formats all C++ source and header files using clang-format - move `include/vcpkg-test/catch.h` to `include/catch2/catch.hpp` - pass CONFIGURE_DEPENDS to file(GLOB)
2019-08-02Update tests, and add documentation! (#7506)nicole mazzuca
This PR does the following: * fix tests -- now, they're always built in the CMake scripts, and they work on VS2015 *add a new flag, BUILD_TESTING, which allows one to turn off testing builds * Add documentation for running tests
2019-06-19bootstrap.sh: Retry up to 3 times for transient download errors (#6952)past-due
2019-05-13[vcpkg-bootstrap.sh] Enable finding gcc 9 (#6417)Robert Schumacher
2019-04-19Run bootstrap-vcpkg.bat when bootstrapped from git-bash (#6142)Miro Knejp
* Bootstrap for windows when called from within bash for windows When calling `bootstrap-vcpkg.sh` from within a git-bash script it fails with the error message `Unknown uname: MINGW64_NT-10.0`. This change delegates bootstrapping to `bootstrap-vcpkg.bat` by executing it in a `cmd` session when the result of `uname -s` matches the pattern `MINGW*_NT*`. * [vcpkg-bootstrap] Avoid using bash extensions and keep ./bootstrap-vcpkg.sh as a simple forwarder.
2019-04-11Add -allowAppleClang option to bootstrap.sh. (fixes #4698) (#5915)soroshsabz
* Add -allowAppleClang option to bootstrap.sh. (fixes #4698) * [vcpkg-bootstrap] Simplify appleclang changes and reformat * [vcpkg-bootstrap] Remove enviroment variable VCPKG_ALLOW_APPLE_CLANG
2019-03-20[vcpkg] Update to CMake 3.14.0Robert Schumacher
2019-01-07[vcpkg] add support for FreeBSD (#4917)ivysnow
* [vcpkg] add support for FreeBSD * [x64-freebsd] Remove triplet because it is not currently in the set of supported triplets
2018-12-12[vcpkg] Add support for muslc, static crt linkage, and forcing the system ↵Robert Schumacher
binaries for cmake and ninja
2018-12-11Allow redirection of the downloads folder with an environment variable. (#4883)Billy O'Neal
* Add detection for VCPKG_DOWNLOADS environment variable in vcpkgpaths.cpp. * Pass the downloads directory from VcpkgPaths to cmake. * Also fixup bootstrap on *nix. * Make error message a little prettier. * Make that bash script actually work :) * [vcpkg] Alter Optional<> usage style * [vcpkg-docs] Add section on Environment Variables to the docs
2018-12-11Fix unterminated quoted string in bootstrapping script. (#4946)Michael Hofmann
2018-12-10Include instructions for CentOS bootstrapping (#4892)Andrew Sayman
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
2018-06-11Improve disableMetrics propagation when consuming CMakeLists directlyAlexander Karatarakis