spack/lib/spack
Massimiliano Culpo e9f1cfdaaf
Avoid hidden circular dependencies in spack.architecture (#25873)
* Refactor platform etc. to avoid circular dependencies

All the base classes in spack.architecture have been
moved to the corresponding specialized subpackages,
e.g. Platform is now defined within spack.platforms.

This resolves a circular dependency where spack.architecture
was both:
- Defining the base classes for spack.platforms, etc.
- Collecting derived classes from spack.platforms, etc.
Now it dopes only the latter.

* Move a few platform related functions to "spack.platforms"

* Removed spack.architecture.sys_type()

* Fixup for docs

* Rename Python modules according to review
2021-09-13 11:04:42 -07:00
..
docs Avoid hidden circular dependencies in spack.architecture (#25873) 2021-09-13 11:04:42 -07:00
env lib/spack/env/cc: tolerate trailing / in elements of $PATH (#25733) 2021-09-08 12:09:07 +02:00
external Use a patched argparse only in Python 2.X (#25376) 2021-08-17 08:52:51 -07:00
llnl Fix: --overwrite backs up old install dir, but it gets destroyed anyways (#25583) 2021-08-27 12:41:24 -07:00
spack Avoid hidden circular dependencies in spack.architecture (#25873) 2021-09-13 11:04:42 -07:00