Commit Graph

19 Commits

Author SHA1 Message Date
Miro Knejp
7e8d7b381d Run bootstrap-vcpkg.bat when bootstrapped from git-bash (#6142)
* 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-19 17:24:05 -07:00
soroshsabz
246bd61ba1 Add -allowAppleClang option to bootstrap.sh. (fixes #4698) (#5915)
* 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-04-11 00:32:03 -07:00
Robert Schumacher
e9c47b0a8a [vcpkg] Update to CMake 3.14.0 2019-03-20 16:23:02 -07:00
ivysnow
2d63525a15 [vcpkg] add support for FreeBSD (#4917)
* [vcpkg] add support for FreeBSD

* [x64-freebsd] Remove triplet because it is not currently in the set of supported triplets
2019-01-07 16:03:35 -08:00
Robert Schumacher
828cedb755 [vcpkg] Add support for muslc, static crt linkage, and forcing the system binaries for cmake and ninja 2018-12-12 09:19:37 -08:00
Billy O'Neal
cf7e2f3906 Allow redirection of the downloads folder with an environment variable. (#4883)
* 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-11 11:48:41 -08:00
Michael Hofmann
42fd0c982a Fix unterminated quoted string in bootstrapping script. (#4946) 2018-12-11 02:12:21 -08:00
Andrew Sayman
3fb47a376f Include instructions for CentOS bootstrapping (#4892)
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
2018-12-10 23:30:37 -08:00
Alexander Karatarakis
db3004459f Improve disableMetrics propagation when consuming CMakeLists directly 2018-06-11 17:01:13 -07:00
Alexander Karatarakis
9508d4aad2 Add -disableMetrics for linux 2018-06-08 18:40:20 -07:00
Alexander Karatarakis
52f01eefa6 [bootstrap.sh] Fix whitespace-in-path issues 2018-05-16 04:51:08 +00:00
Robert Schumacher
8ce9265485 [bootstrap-vcpkg.sh] Find g++-8. Fixes #3486. 2018-05-15 21:42:58 -07:00
Francois Budin
540a32c841 Require the version of g++ to be at least 6
On Ubuntu 16.04, old versions of g++ such as 4.9 are available. Other
Linux distributions may also ship with g++ versions older than 5. With
the previous test, the bootstrap script was not failing fast and instead
was starting to compile vcpkg before it encountered the unsupported flag
-std=c++1z. The error message was not very explicit and that was making
it difficult to the developer to understand what the problem was. However,
when using g++ 5, an clear error message was printed to help the user.
This commit shows the helpful error message anytime g++ is older than
version 6.
2018-04-27 13:00:41 -04:00
Alexander Karatarakis
ef59460782 [bootstrap.sh] Minor refactoring for clarity 2018-04-25 22:23:45 -07:00
Alexander Karatarakis
aa423c999b
Merge pull request #3329 from rudilee/master
Checking for sha512sum on OS which doesn't have shasum
2018-04-25 21:26:24 -07:00
Alexander Karatarakis
c78a609dab [sh] Tweak so only the sh forwarder needs to be +x 2018-04-26 02:11:04 +00:00
Rudi Lee
6a3c1db30b Checking for sha512sum on OS which doesn't have shasum 2018-04-26 07:38:45 +07:00
Alexander Karatarakis
f12ded7fd0 [sh] Fix permission 2018-04-24 22:44:46 +00:00
Alexander Karatarakis
a11086e3b9 Introduce bootstrap.sh 2018-04-23 19:00:56 -07:00