Commit e9f1cfd
authored
Avoid hidden circular dependencies in spack.architecture (spack#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 review1 parent 060582a commit e9f1cfd
File tree
23 files changed
+492
-478
lines changed- lib/spack
- docs
- spack
- compilers
- operating_systems
- platforms
- test
- var/spack/repos/builtin/packages/pmix
23 files changed
+492
-478
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments