Skip to content

WIP: Teach the metis recipe to respect spack's cflags#6840

Closed
KineticTheory wants to merge 2 commits intospack:developfrom
KineticTheory:metis_respect_cflags
Closed

WIP: Teach the metis recipe to respect spack's cflags#6840
KineticTheory wants to merge 2 commits intospack:developfrom
KineticTheory:metis_respect_cflags

Conversation

@KineticTheory
Copy link
Copy Markdown
Contributor

If the spack install command specifies cflags (either on the command line or in compilers.yaml), tell CMake to use only spack's cflags and none of its own default values.

fixes #6839

The downside to this approach is that if cflags is set, then setting build_type=<whatever> might not do what is expected because the cflags will trump cmake's build_type default compiler flags.

If the spack install command specifies cflags (either on the command line or in
`compilers.yaml`), tell CMake to use only spack's cflags and none of its own
default values.

fixes spack#6839
@adamjstewart
Copy link
Copy Markdown
Member

var/spack/repos/builtin/packages/metis/package.py:105: [E501] line too long (80 > 79 characters)

@KineticTheory
Copy link
Copy Markdown
Contributor Author

KineticTheory commented Jan 17, 2018

I'm marking this as WIP as it might be replaced by #6960, #6961, and #6970 (or revised after those are merged).

@KineticTheory KineticTheory changed the title Teach the metis recipe to respect spack's cflags WIP: Teach the metis recipe to respect spack's cflags Jan 17, 2018
@KineticTheory KineticTheory deleted the metis_respect_cflags branch April 2, 2019 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

metis doesn't always respect cflags

2 participants