2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Intel 19.0 only supports VS2017 (vc++14.1), and not VS2019 (vc++14.2) as I originally erroneously coded. Also added is the same support for an optional <root> option as the intel-linux compiler. In intel-win the optional <root> option must point to the user's directory where iclvars.bat exists for a particular intel-win installation. Like intel-linux the <root> option is mean for intel-win toolsets where the toolset 'command' is a script rather than either a full path to an invocation of the compiler as icl.exe or left blank.

This commit is contained in:
Edward Diener
2019-07-11 01:07:05 -04:00
parent ec4cf4f632
commit 64e484ade5
2 changed files with 7 additions and 9 deletions

View File

@@ -163,15 +163,16 @@ local rule configure-really ( version ? : command * : options * : compatibility
common.handle-options intel-win : $(condition) : $(command) : $(options) ;
local root ;
if $(command)
local root = [ feature.get-values <root> : $(options) ] ;
if $(command) || $(root)
{
root = [ common.get-absolute-tool-path $(command[-1]) ] ;
local bin = [ common.get-absolute-tool-path $(command[-1]) ] ;
if $(major) >= 12
{
root = [ path.make $(root) ] ;
root = [ path.parent $(root) ] ;
bin = [ path.make $(bin) ] ;
bin = [ path.parent $(bin) ] ;
}
root ?= bin ;
root = $(root)/ ;
}
@@ -491,8 +492,7 @@ if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ]
.iclvars-16.0-supported-vcs = "14.0 12.0 11.0 10.0 9.0" ;
.iclvars-17.0-supported-vcs = "14.0 12.0 11.0 10.0" ;
.iclvars-18.0-supported-vcs = "14.1 14.0 12.0 11.0 10.0" ;
.iclvars-19.0-supported-vcs = "14.2 14.1 14.0 12.0 11.0 10.0" ;
.iclvars-version-alias-vc14.2 = vs2019 ;
.iclvars-19.0-supported-vcs = "14.1 14.0 12.0" ;
.iclvars-version-alias-vc14.1 = vs2017 ;
.iclvars-version-alias-vc14 = vs2015 ;
.iclvars-version-alias-vc12 = vs2013 ;

View File

@@ -40,8 +40,6 @@ and C++ sources.
`linkflags`::
Specifies additional command line options that will be passed to the linker.
The Linux version supports the following additional options:
`root`::
Specifies root directory of the compiler installation. This option is
necessary only if it is not possible to detect this information from the