summaryrefslogtreecommitdiff
path: root/bin/rebuild-package.sh
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-10-21 19:24:57 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2019-10-21 10:24:57 -0700
commit498f448ef353eed906a100752b2c1598423a7276 (patch)
treeabab772e88da36b515d9758ae8391a23092e300b /bin/rebuild-package.sh
parent4ab63c17d58c7d24ec6a446daf784f95bc818f49 (diff)
downloadspack-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 'bin/rebuild-package.sh')
0 files changed, 0 insertions, 0 deletions