diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-10-21 19:24:57 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-21 10:24:57 -0700 |
commit | 498f448ef353eed906a100752b2c1598423a7276 (patch) | |
tree | abab772e88da36b515d9758ae8391a23092e300b /.gitignore | |
parent | 4ab63c17d58c7d24ec6a446daf784f95bc818f49 (diff) | |
download | spack-498f448ef353eed906a100752b2c1598423a7276.tar.gz spack-498f448ef353eed906a100752b2c1598423a7276.tar.bz2 spack-498f448ef353eed906a100752b2c1598423a7276.tar.xz spack-498f448ef353eed906a100752b2c1598423a7276.zip |
microarchitectures: fix custom compiler versions (#13222)
Custom string versions for compilers were raising a ValueError on
conversion to int. This commit fixes the behavior by trying to detect
the underlying compiler version when in presence of a custom string
version.
* Refactor code that deals with custom versions for better readability
* Partition version components with a regex
* Fix semantic of custom compiler versions with a suffix
* clang@x.y-apple has been special-cased
* Add unit tests
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions