IRSL: Add paths for Intel oneAPI compilers on Linux

They are stored in a slightly different place with oneAPI than they
used to be in PSXE.

A similar change was made for Windows by commit 956160bb9a (IRSL: Fix
search for Windows redist files with Intel Classic compiler, 2021-09-23,
v3.22.0-rc1~88^2), which left a comment about the locations relative to
the Classic and oneAPI compilers.

Fixes: #23310
pipelines/271528
Attila Krasznahorkay 2022-03-09 14:15:56 +01:00 committed by Brad King
parent 71268ca934
commit 3e84a06b3a
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ foreach(LANG IN ITEMS C CXX Fortran)
else()
set(_Intel_possible_redistdirs
"${_Intel_basedir}/../lib/${_Intel_archdir}"
"${_Intel_basedir}/../compiler/lib/${_Intel_archdir}_lin"
"${_Intel_basedir}/../../compiler/lib/${_Intel_archdir}_lin"
)
endif()