icc@2021.6.0 does not support gcc@12 headers (#34191)
Error message: ``` /shared/spack/opt/spack/linux-amzn2-x86_64_v3/gcc-7.3.1/gcc-12.2.0-4tairupdxg2tg2yhvjdlbs7xbd7wudl3/bin/../include/c++/12.2.0/bits/random.h(104): error: expected a declaration { extension using type = unsigned __int128; }; ^ ``` Co-authored-by: Stephen Sachs <stesachs@amazon.com>
This commit is contained in:
parent
c6c74e98ff
commit
428f635142
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ class IntelOneapiCompilersClassic(Package):
|
||||||
version(ver)
|
version(ver)
|
||||||
depends_on("intel-oneapi-compilers@" + oneapi_ver, when="@" + ver, type="run")
|
depends_on("intel-oneapi-compilers@" + oneapi_ver, when="@" + ver, type="run")
|
||||||
|
|
||||||
|
# icc@2021.6.0 does not support gcc@12 headers
|
||||||
|
conflicts("%gcc@12:", when="@:2021.6.0")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def oneapi_compiler_prefix(self):
|
def oneapi_compiler_prefix(self):
|
||||||
oneapi_version = self.spec["intel-oneapi-compilers"].version
|
oneapi_version = self.spec["intel-oneapi-compilers"].version
|
||||||
|
|
Loading…
Reference in a new issue