Skip to content

Use no mangling for spack compiler definitions that use xlf#8392

Merged
tgamblin merged 1 commit intospack:developfrom
serbanmaerean:fix-ibm-xl/superlu-dist
Jun 15, 2018
Merged

Use no mangling for spack compiler definitions that use xlf#8392
tgamblin merged 1 commit intospack:developfrom
serbanmaerean:fix-ibm-xl/superlu-dist

Conversation

@djfitzgerald
Copy link
Copy Markdown
Contributor

@djfitzgerald djfitzgerald commented Jun 5, 2018

Use no mangling for all spack compiler definitions that use the XL
Fortran compiler. Do this by checking the Fortran compiler itself as opposed to the compiler suite, as clang can build with IBM XL Fortran compiler as well (see #8311, #8388, #8389, #8391, #8393, #8394).

Fortran compiler.
Clang can build with IBM XL Fortran compiler as well, so the name
mangling shoud be avoided for that case as well.
@djfitzgerald
Copy link
Copy Markdown
Contributor Author

@davydden Since you have reviewed some of this issue's relatives, would you be willing to review this one as well?

'LOADOPTS =',
'CDEFS = %s' % ("-DNoChange"
if '%xl' in spec or '%xl_r' in spec
if spack_f77.endswith('xlf') or
Copy link
Copy Markdown
Member

@davydden davydden Jun 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. this will always be the case for

`%xl` and `%xl_r` in spec

right? In other words, you just extend the domain where if applies?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct

@djfitzgerald
Copy link
Copy Markdown
Contributor Author

@adamjstewart @alalazo -- would either of you be willing to merge this PR?

@tgamblin tgamblin merged commit 64d20a3 into spack:develop Jun 15, 2018
smuething added a commit to smuething/spack that referenced this pull request Jun 18, 2018
* 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)
  ...
smuething added a commit to smuething/spack that referenced this pull request Jun 18, 2018
* 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)
  ...
smuething added a commit to smuething/spack that referenced this pull request Jun 18, 2018
* 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)
  ...
smuething added a commit to smuething/spack that referenced this pull request Jun 18, 2018
* 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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants