summaryrefslogtreecommitdiff
path: root/bootstrap.bat
diff options
context:
space:
mode:
authorRene Rivera <grafikrobot@gmail.com>2020-02-13 22:14:33 -0600
committerPeter Dimov <pdimov@gmail.com>2020-09-04 16:37:14 +0300
commit26232c8d453f90bf3103c74fb8481a0b3235f594 (patch)
tree74b63471f14cda28fc7b10c3e2f38ed8439d8fc7 /bootstrap.bat
parent563cd4401c66ded24fccfe324c8a90c118794efc (diff)
downloadboost-26232c8d453f90bf3103c74fb8481a0b3235f594.tar.gz
Adjust bootstrap for current B2 builds.
These are some minor adjustments to the bootstrap step of building B2. For bootstrap.bat we no longer shove B2 build output to the bootstrap.log file as we want to see the helpful diagnostic messages from B2. For example, indicating the requirement of C++11 for the engine build. This also renames from Boost.Build to B2. And adds clang as an option for bootstrap config creation.
Diffstat (limited to 'bootstrap.bat')
-rw-r--r--bootstrap.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.bat b/bootstrap.bat
index 74112452fb..03c98ffcc3 100644
--- a/bootstrap.bat
+++ b/bootstrap.bat
@@ -2,7 +2,7 @@
SETLOCAL
-REM Copyright 2019 Rene Rivera
+REM Copyright 2019-2020 Rene Rivera
REM Copyright (C) 2009 Vladimir Prus
REM
REM Distributed under the Boost Software License, Version 1.0.
@@ -12,7 +12,7 @@ ECHO Building Boost.Build engine
if exist ".\tools\build\src\engine\b2.exe" del tools\build\src\engine\b2.exe
pushd tools\build\src\engine
-call .\build.bat %* > ..\..\..\..\bootstrap.log
+call .\build.bat
@ECHO OFF
popd
@@ -33,6 +33,7 @@ REM properly. Default to msvc if not specified.
SET TOOLSET=msvc
IF "%1"=="gcc" SET TOOLSET=gcc
+IF "%1"=="clang" SET TOOLSET=clang
IF "%1"=="vc71" SET TOOLSET=msvc : 7.1
IF "%1"=="vc8" SET TOOLSET=msvc : 8.0
@@ -88,7 +89,6 @@ goto :end
ECHO.
ECHO Failed to build Boost.Build engine.
-ECHO Please consult bootstrap.log for further diagnostics.
ECHO.
REM Set an error code to allow `bootstrap && b2`