Skip to content
Snippets Groups Projects
Commit e90524e3 authored by Martin Lang's avatar Martin Lang
Browse files

Merge branch 'icc-include-fix' into 'main'

Corrected include directives for icc

See merge request !4
parents 8bf57f4a 8a3cae43
No related branches found
No related tags found
2 merge requests!4Corrected include directives for icc,!1Code review of main
Pipeline #532961 failed
Loading
  • Martin Lang @martin.lang ·
    Author Owner

    Note mostly to myself: -idirafter does not work on ppc, the directory is called /usr/include/powerpc64le-linux-gnu/, but platform.machine() returns ppc64le.

    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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment