-
- Downloads
Merge branch 'icc-include-fix' into 'main'
Corrected include directives for icc See merge request !4
No related branches found
No related tags found
Loading
-
Note mostly to myself:
-idirafter
does not work on ppc, the directory is called/usr/include/powerpc64le-linux-gnu/
, butplatform.machine()
returnsppc64le
.No need for an immediate fix, as we will move most of this to spack-environments.
Archspec would know the correct information:
>>> import archspec.cpu >>> host = archspec.cpu.detect.host() >>> host.family.compilers['gcc'][0]['name'] 'x86-64' --- >>> host.family.compilers['gcc'][0]['name'] 'powerpc64le'
Maybe there is an easier path to that information?
Edited by Martin Lang
Please register or sign in to comment