Opened 7 years ago
#11937 new Bugs
the bootstrap
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | b2 project-config.jam | Cc: |
Description
Hi, when bootstrap runs on windows it creates a (relatively) undocumented file project-config.jam and inserts into it a using msvc ; This file persists and by default is auto-included in all builds of boost. In doing so it pollutes a build with the definitions for MSVC14.0 even if the overall build was intended to be strictly using an earlier toolset. The following log shows this
- look at the beginning and just after the recognition of MPI. (Both of
which are introduced in a very simple site-config.jam)
Work around: project-config.jam should be deleted from %boost_root% or made of null effect at the end of the bootstrap process. Or well documented as the file to change.
notice: will use 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe' for msvc, condition <toolset>msvc-9.0 notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>/<address-model>', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>/<address-model>32', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>x86/<address-model>', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>x86/<address-model>32', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>/<address-model>64', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_amd64.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>x86/<address-model>64', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_9.0_vcvarsall_amd64.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>ia64/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_ia64 >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-9.0/<architecture>ia64/<address-model>64', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_ia64 >nul ' ===============MPI Auto-configuration=============== Found Microsoft Compute Cluster Pack: C:\Program Files (x86)\Microsoft SDKs\MPI MPI build features: <include>/C:/Program Files (x86)/Microsoft SDKs/MPI/Include <address-model>64:<library-path>/C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x64 <library-path>/C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x86 <find-static-library>msmpi <toolset>msvc:<define>_SECURE_SCL=0 <toolset>msvc:<define>MSMPI_NO_DEPRECATE_20 MPI launcher: "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -n ==================================================== notice: Searching 'C:\Users\tlyonsadmin' 'C:\Program Files\boost\boost_1_60_0\tools/build/src' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/kernel' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/util' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/build' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/tools' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/contrib' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/.' for user-config configuration file 'user-config.jam'. notice: Configuration file 'user-config.jam' not found in 'C:\Users\tlyonsadmin' 'C:\Program Files\boost\boost_1_60_0\tools/build/src' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/kernel' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/util' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/build' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/tools' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/contrib' 'C:/Program Files/boost/boost_1_60_0/tools/build/src/.'. notice: Searching '.' for project-config configuration file 'project-config.jam'. notice: Loading project-config configuration file 'project-config.jam' from '.'. notice: will use 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe' for msvc, condition <toolset>msvc-14.0 notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>/<address-model>', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>/<address-model>32', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>x86/<address-model>', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>x86/<address-model>32', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>/<address-model>64', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_amd64.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>x86/<address-model>64', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_amd64.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>ia64/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_ia64 >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>ia64/<address-model>64', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_ia64 >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>arm/<address-model>', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86_arm.cmd" >nul ' notice: [msvc-cfg] condition: '<toolset>msvc-14.0/<architecture>arm/<address-model>32', setup: 'call "C:\Users\TLYONS~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86_arm.cmd" >nul ' notice: [zlib] Using pre-installed library