eliminate redundant -mtune, when it is implied by -march#100
eliminate redundant -mtune, when it is implied by -march#100jeffhammond wants to merge 1 commit intoarchspec:masterfrom
Conversation
motivated by spack/spack#43808. Signed-off-by: Jeff Hammond <jeff.science@gmail.com>
|
Makes sense, @alalazo can maybe comment why both flags are set. We just set them as defaults |
|
Given the way it is currently used in Spack it wouldn't make a difference. I'm wondering if we use it the right way though. On the one hand we want to allow libraries etc. to dispatch at runtime if they want to (and not be forced to a single target), but on the other hand I think we'd also like that generic targets on a spec keep their promise 🤔 Also, in terms of a generic library (archspec), the current flags, if appended, would ensure a complete override with uarch specific settings. If we delete Not sure what would be best. @tgamblin Any thought on this? |
This is motivated by spack/spack#43808.
I am not super optimistic that this will be accepted, but I figure it's worth a try.