summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-03-10 22:28:01 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-03-31 13:40:41 -0700
commitfe6f39b66287a4b3ecade2d776348d44920ec651 (patch)
tree4a64815172c967cb6bd1c4ce82062dfaa205b7db /etc
parent0cd6555388ad6fafc110bc2aa60f256acf920bcd (diff)
downloadspack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.gz
spack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.bz2
spack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.xz
spack-fe6f39b66287a4b3ecade2d776348d44920ec651.zip
Use key sorting instead of cmp()
- Get rid of pkgsort() usage for preferred variants. - Concretization is now entirely based on key-based sorting. - Remove PreferredPackages class and various spec cmp() methods. - Replace with PackagePrefs class that implements a key function for sorting according to packages.yaml. - Clear package pref caches on config test. - Explicit compare methods instead of total_ordering in Version. - Our total_ordering backport wasn't making Python 3 happy for some reason. - Python 3's functools.total_ordering and spelling the operators out fixes the problem. - Fix unicode issues with spec hashes, json, & YAML - Try to use str everywhere and avoid unicode objects in python 2.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions