Update the clang compiler definition to use IBM XL Fortran compiler#8389
Update the clang compiler definition to use IBM XL Fortran compiler#8389tgamblin merged 1 commit intospack:developfrom
Conversation
on CORAL systems (linux-rhel7-ppc64le).
|
@davydden Since you have reviewed some of this issue's relatives, would you be willing to review this one as well? |
|
@davydden @adamjstewart would you be willing to review this pull request? |
| link_paths['f77'] = 'clang/gfortran' | ||
| link_paths['fc'] = 'clang/gfortran' | ||
| elif spack.architecture.sys_type() == 'linux-rhel7-ppc64le': | ||
| # This platform uses clang with IBM XL Fortran compiler |
There was a problem hiding this comment.
Are other combinations possible there? Maybe someone installs flang?
Put it at the end of if-else if?
Nevermind: I think it's not possible in the current setup.
There was a problem hiding this comment.
@tgamblin I guess there is no way currently to have compiler wrappers pretend to be xl for this clang+xl combo while still allowing to use clang+flang on linux-rhel7-ppc64le.
I have no idea about usage cases, but if it's the common usage (like clang+gfortran on macOS), i think it's ok.
|
@adamjstewart @alalazo -- would either of you be willing to merge this PR? |
* upstream-develop: (430 commits) There's only one 'u' in "configuration" (spack#8498) Add new versions for TAU and PDT package (spack#8497) Add changes to the Krell packages with version updates and ranges for the latest release. (spack#8468) docs: remove vendored sphinx_rtd_theme (spack#8496) Trilinos needs parallel-netcdf as an explicit dependency to avoid concretization errors when netcdf is an external. (spack#8493) superlu_dist: 'master' is branch - not tag (spack#8495) SAMRAI: new versions, handle deprecation of boost in latest version. (spack#8494) Fix GDAL Python bindings and add import tests (spack#8482) Add newer likwid versions 4.3.1 and 4.3.2 (spack#8488) Package/geopm: Update to version 0.5.0 (spack#8487) [mfem] Add BLAS+LAPACK to the required dependencies of SuperLU_DIST. (spack#8485) openssl: add new version 1.0.2o (spack#8486) Update the clang compiler definition to use IBM XL Fortran compiler (spack#8389) Patch trilinos for xlf when using clang (spack#8391) Use no mangling for all spack compiler definitions that use the XL (spack#8392) Use the name of the Fortran compiler to determine what name mangling (spack#8393) A new package: megahit. (spack#8471) neovim: add info for v0.3.0 (spack#8472) oce: add 0.18.3 (spack#8477) netgen should depend on zlib (spack#8473) ...
* upstream-develop: (430 commits) There's only one 'u' in "configuration" (spack#8498) Add new versions for TAU and PDT package (spack#8497) Add changes to the Krell packages with version updates and ranges for the latest release. (spack#8468) docs: remove vendored sphinx_rtd_theme (spack#8496) Trilinos needs parallel-netcdf as an explicit dependency to avoid concretization errors when netcdf is an external. (spack#8493) superlu_dist: 'master' is branch - not tag (spack#8495) SAMRAI: new versions, handle deprecation of boost in latest version. (spack#8494) Fix GDAL Python bindings and add import tests (spack#8482) Add newer likwid versions 4.3.1 and 4.3.2 (spack#8488) Package/geopm: Update to version 0.5.0 (spack#8487) [mfem] Add BLAS+LAPACK to the required dependencies of SuperLU_DIST. (spack#8485) openssl: add new version 1.0.2o (spack#8486) Update the clang compiler definition to use IBM XL Fortran compiler (spack#8389) Patch trilinos for xlf when using clang (spack#8391) Use no mangling for all spack compiler definitions that use the XL (spack#8392) Use the name of the Fortran compiler to determine what name mangling (spack#8393) A new package: megahit. (spack#8471) neovim: add info for v0.3.0 (spack#8472) oce: add 0.18.3 (spack#8477) netgen should depend on zlib (spack#8473) ...
* upstream-develop: (430 commits) There's only one 'u' in "configuration" (spack#8498) Add new versions for TAU and PDT package (spack#8497) Add changes to the Krell packages with version updates and ranges for the latest release. (spack#8468) docs: remove vendored sphinx_rtd_theme (spack#8496) Trilinos needs parallel-netcdf as an explicit dependency to avoid concretization errors when netcdf is an external. (spack#8493) superlu_dist: 'master' is branch - not tag (spack#8495) SAMRAI: new versions, handle deprecation of boost in latest version. (spack#8494) Fix GDAL Python bindings and add import tests (spack#8482) Add newer likwid versions 4.3.1 and 4.3.2 (spack#8488) Package/geopm: Update to version 0.5.0 (spack#8487) [mfem] Add BLAS+LAPACK to the required dependencies of SuperLU_DIST. (spack#8485) openssl: add new version 1.0.2o (spack#8486) Update the clang compiler definition to use IBM XL Fortran compiler (spack#8389) Patch trilinos for xlf when using clang (spack#8391) Use no mangling for all spack compiler definitions that use the XL (spack#8392) Use the name of the Fortran compiler to determine what name mangling (spack#8393) A new package: megahit. (spack#8471) neovim: add info for v0.3.0 (spack#8472) oce: add 0.18.3 (spack#8477) netgen should depend on zlib (spack#8473) ...
* upstream-develop: (430 commits) There's only one 'u' in "configuration" (spack#8498) Add new versions for TAU and PDT package (spack#8497) Add changes to the Krell packages with version updates and ranges for the latest release. (spack#8468) docs: remove vendored sphinx_rtd_theme (spack#8496) Trilinos needs parallel-netcdf as an explicit dependency to avoid concretization errors when netcdf is an external. (spack#8493) superlu_dist: 'master' is branch - not tag (spack#8495) SAMRAI: new versions, handle deprecation of boost in latest version. (spack#8494) Fix GDAL Python bindings and add import tests (spack#8482) Add newer likwid versions 4.3.1 and 4.3.2 (spack#8488) Package/geopm: Update to version 0.5.0 (spack#8487) [mfem] Add BLAS+LAPACK to the required dependencies of SuperLU_DIST. (spack#8485) openssl: add new version 1.0.2o (spack#8486) Update the clang compiler definition to use IBM XL Fortran compiler (spack#8389) Patch trilinos for xlf when using clang (spack#8391) Use no mangling for all spack compiler definitions that use the XL (spack#8392) Use the name of the Fortran compiler to determine what name mangling (spack#8393) A new package: megahit. (spack#8471) neovim: add info for v0.3.0 (spack#8472) oce: add 0.18.3 (spack#8477) netgen should depend on zlib (spack#8473) ...
Update the clang compiler definition to use IBM XL Fortran compiler on CORAL systems (linux-rhel7-ppc64le). This is needed because the llvm suite's
flangcompiler is not available for POWER platforms. Related to #8311, #8388, #8391, #8392, #8393, #8394.