You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If compiler command is not specified, then B2 will look in PATH
for an executable `icpc` (on Linux), or `icl.exe` (on Windows).
I find this quite worrying: Choosing the tool currently in $PATH should always be preferred over hard-coded guesses
When running b2 as above it will then fail to run properly seemingly using an empty string to invoke the compiler unless b2 is invoked with toolset=intel-linux explicitely.
Furthermore putting the full path to the compiler into project-config.jam will lead to an empty command_lib_path used at
Make sure you completed the following tasks
Environment and version details
Brief problem description
Since 5ede4e8#diff-080a16b9c3fe0d92a5fc4bce7f4fe42dbdb2f33bac84510f8a50101ce81ed097 the intel-linux detection is broken making it impossible to use the intel compilers when installed in a non-standard location and relying on auto-detection via $PATH
Steps to reproduce the issue
icpc
is foundActual behavior summary
What happens is that
b2/src/tools/intel-linux.jam
Line 100 in 5ede4e8
icpc
, finds it in $PATH but returns only the command, not the full path as perb2/src/tools/common.jam
Line 343 in 5ede4e8
Furthermore the current behavior does not match the description where
$PATH
is searched for the intel tools:b2/src/tools/intel.jam
Lines 22 to 23 in b4e1a65
I find this quite worrying: Choosing the tool currently in $PATH should always be preferred over hard-coded guesses
When running
b2
as above it will then fail to run properly seemingly using an empty string to invoke the compiler unlessb2
is invoked withtoolset=intel-linux
explicitely.Furthermore putting the full path to the compiler into project-config.jam will lead to an empty
command_lib_path
used atb2/src/tools/intel-linux.jam
Lines 231 to 232 in 5ede4e8
The text was updated successfully, but these errors were encountered: