-
- Downloads
Fixes to Handling Multiple Architectures (#2261)
* Added some notes about how multiarch detection could be fixed. * Implemented a preliminary version of the "spack.spec.ArchSpec" class. * Updated the "spack.spec.Spec" class to use "ArchSpec" instead of "Arch". * Fixed a number of small bugs in the "spack.spec.ArchSpec" class. * Fixed the 'Concretizer.concretize_architecture' method so that it uses the new architecture specs. * Updated the package class to properly use arch specs. Removed a number of unused architecture functions. * Fixed up a number of bugs that were causing the regression tests to fail. Added a couple of additional regression tests related to architecture parsing/specification. Fixed a few bugs with setting reserved os/target values on "ArchSpec" objects. Removed a number of unnecessary functions in the "spack.architecture" and "spack.concretize" modules. * Fixed a few bugs with reading architecture information from specs. Updated the tests to use a uniform architecture to improve reliability. Fixed a few minor style issues. * Adapted the compiler component of Spack to use arch specs. * Implemented more test cases for the extended architecture spec features. Improved error detection for multiple arch components in a spec. * Fix for backwards compatibility with v0.8 and prior * Changed os to unknown for compatibility specs * Use `spack09` instead of `spackcompat` for the platform of old specs.
Showing
- lib/spack/spack/architecture.py 42 additions, 74 deletionslib/spack/spack/architecture.py
- lib/spack/spack/build_environment.py 2 additions, 2 deletionslib/spack/spack/build_environment.py
- lib/spack/spack/compiler.py 1 addition, 1 deletionlib/spack/spack/compiler.py
- lib/spack/spack/compilers/__init__.py 11 additions, 15 deletionslib/spack/spack/compilers/__init__.py
- lib/spack/spack/concretize.py 19 additions, 56 deletionslib/spack/spack/concretize.py
- lib/spack/spack/package.py 8 additions, 1 deletionlib/spack/spack/package.py
- lib/spack/spack/platforms/test.py 6 additions, 8 deletionslib/spack/spack/platforms/test.py
- lib/spack/spack/spec.py 239 additions, 99 deletionslib/spack/spack/spec.py
- lib/spack/spack/test/__init__.py 11 additions, 0 deletionslib/spack/spack/test/__init__.py
- lib/spack/spack/test/architecture.py 16 additions, 13 deletionslib/spack/spack/test/architecture.py
- lib/spack/spack/test/concretize.py 1 addition, 1 deletionlib/spack/spack/test/concretize.py
- lib/spack/spack/test/spec_semantics.py 47 additions, 2 deletionslib/spack/spack/test/spec_semantics.py
- lib/spack/spack/test/spec_syntax.py 70 additions, 0 deletionslib/spack/spack/test/spec_syntax.py
Loading
Please register or sign in to comment