spack/var/spack/repos/builtin.mock/packages
Massimiliano Culpo 319ae9254e
Remove the spack.architecture module (#25986)
The `spack.architecture` module contains an `Arch` class that is very similar to `spack.spec.ArchSpec` but points to platform, operating system and target objects rather than "names". There's a TODO in the class since 2016:

abb0f6e27c/lib/spack/spack/architecture.py (L70-L75)

and this PR basically addresses that. Since there are just a few places where the `Arch` class was used, here we query the relevant platform objects where they are needed directly from `spack.platforms`. This permits to clean the code from vestigial logic.

Modifications:
- [x] Remove the `spack.architecture` module and replace its use by `spack.platforms`
- [x] Remove unneeded tests
2021-10-06 10:28:12 -07:00
..
a Allow setting variant name in AutotoolsPackage._activate_or_not (#26054) 2021-09-20 10:54:24 +02:00
archive-files url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
autotools-config-replacement Use gnuconfig package for config file replacement (#26035) 2021-09-27 18:38:14 -04:00
b fix check when retrieving matching spec from environment when there is a match with a root spec as well as with a dependency of a root spec 2021-05-07 10:07:53 -07:00
boost copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
both-link-and-build-dep-a Fix spack graph when deptypes are filtered (#22121) 2021-03-08 16:47:00 -08:00
both-link-and-build-dep-b Fix spack graph when deptypes are filtered (#22121) 2021-03-08 16:47:00 -08:00
both-link-and-build-dep-c Fix spack graph when deptypes are filtered (#22121) 2021-03-08 16:47:00 -08:00
bowtie copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
brillig copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
build-error url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
build-warnings url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
c copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
callpath url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
canfail copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
cmake imports: sort imports everywhere in Spack (#24695) 2021-07-08 22:12:30 +00:00
cmake-client copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
conditional-constrained-dependencies copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
conditional-provider copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
conditional-virtual-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
conditionally-patch-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
configure-warning Don't report configure errors to CDash for successful packages (#23286) 2021-04-27 12:20:32 -06:00
conflict url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
conflict-parent url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
conflicting-dependent copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
corge Fix bindist network issues (#25587) 2021-08-24 12:09:23 -05:00
cumulative-vrange-bottom copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
cumulative-vrange-middle copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
cumulative-vrange-root copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
cvs-test Implement CVS fetcher (#23212) 2021-06-22 09:51:31 -07:00
dep-diamond-patch-mid1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dep-diamond-patch-mid2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dep-diamond-patch-top copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dep-with-variants copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dep-with-variants-if-develop copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dep-with-variants-if-develop-root copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
depb copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dependency-install url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
dependent-install copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dependent-of-dev-build url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
depends-on-run-env Environments: add run deps to shell modifications (#23485) 2021-05-11 14:30:57 -07:00
deprecated-versions ASP-based solver: account for deprecated versions (#23491) 2021-05-12 07:17:38 -07:00
dev-build-test-dependent url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
dev-build-test-install url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
dev-build-test-install-phases url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
develop-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
develop-test2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
direct-mpich url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
dt-diamond copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dt-diamond-bottom copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dt-diamond-left copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dt-diamond-right copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtbuild1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtbuild2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtbuild3 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtlink1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtlink2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtlink3 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtlink4 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtlink5 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtrun1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtrun2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtrun3 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dttop copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dtuse copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
dyninst url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
e copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
ecp-viz-sdk copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
extendee url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
extension1 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
extension2 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
external-buildable-with-variant concretizer: dependency conditions cannot hold if package is external 2021-01-12 22:23:39 -08:00
external-common-gdbm Old concretizer: prevent unexpected propagation of external config (#20976) 2021-02-25 15:42:40 -08:00
external-common-openssl Old concretizer: prevent unexpected propagation of external config (#20976) 2021-02-25 15:42:40 -08:00
external-common-perl Old concretizer: prevent unexpected propagation of external config (#20976) 2021-02-25 15:42:40 -08:00
external-common-python Old concretizer: prevent unexpected propagation of external config (#20976) 2021-02-25 15:42:40 -08:00
external-non-default-variant Externals are preferred even when they have non-default variant values 2021-03-29 16:06:11 -07:00
externalmodule copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
externalprereq copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
externaltest copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
externaltool copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
externalvirtual copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
failing-build url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
fake url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
fetch-options url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
fftw url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
find-externals1 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
flake8 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
flatten-deps copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
garply Fix bindist network issues (#25587) 2021-08-24 12:09:23 -05:00
gcc url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
git-svn-top-level copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
git-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
git-test-commit Adding ability to compare git references to spack install (#24639) 2021-09-14 22:12:34 -07:00
git-top-level copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
git-url-svn-top-level copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
git-url-top-level url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
gmt url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
gnuconfig Use gnuconfig package for config file replacement (#26035) 2021-09-27 18:38:14 -04:00
hash-test1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hash-test2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hash-test3 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hash-test4 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hdf5 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
hg-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hg-top-level copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hypre copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
impossible-concretization url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
indirect-mpich url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
leaf-adds-virtual url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
libdwarf url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
libelf copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
libtool-deletion copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
maintainers-1 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
maintainers-2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
middle-adds-virtual url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
mirror-gnu copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-gnu-broken copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-sourceforge copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-sourceforge-broken copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-sourceware copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-sourceware-broken copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-xorg copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mirror-xorg-broken copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
missing-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mixedversions url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
modifies-run-env Environments: add run deps to shell modifications (#23485) 2021-05-11 14:30:57 -07:00
module-path-separator url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
mpich url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
mpich2 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
mpileaks url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
multi-provider-mpi url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
multimethod Remove the spack.architecture module (#25986) 2021-10-06 10:28:12 -07:00
multimethod-base copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
multimethod-diamond imports: sort imports everywhere in Spack (#24695) 2021-07-08 22:12:30 +00:00
multimethod-diamond-parent copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
multimethod-inheritor copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
multimodule-inheritance copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
multivalue-variant url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
mvapich2 ASP-based solver: model disjoint sets for multivalued variants (#22534) 2021-03-26 09:22:38 -05:00
mvdefaults url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
needs-relocation copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
netlib-blas copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
netlib-lapack copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
nosource copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
nosource-install copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
noversion copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
noversion-bundle copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
old-external Enforce uniqueness of the version_weight atom per node 2021-03-29 16:06:11 -07:00
old-sbang imports: sort imports everywhere in Spack (#24695) 2021-07-08 22:12:30 +00:00
openblas Remove .99 from version ranges (#26422) 2021-10-03 09:09:02 -04:00
openblas-with-lapack copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
optional-dep-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
optional-dep-test-2 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
optional-dep-test-3 copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
othervirtual copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
override-context-templates url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
override-module-templates url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
patch copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
patch-a-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
patch-inheritance copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
patch-several-dependencies copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
patchelf copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
perl url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
perl-extension url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
preferred-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
printing-package url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
py-extension1 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
py-extension2 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
py-extension3 url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
python copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
quantum-espresso url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
quux Fix bindist network issues (#25587) 2021-08-24 12:09:23 -05:00
raiser url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
requires-virtual url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
root url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
root-adds-virtual url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
simple-inheritance copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
singlevalue-variant url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
singlevalue-variant-dependent copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
singlevalue-variant-dependent-type copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
splice-h New splice method in class Spec. (#20262) 2021-02-23 13:56:00 -08:00
splice-t New splice method in class Spec. (#20262) 2021-02-23 13:56:00 -08:00
splice-z New splice method in class Spec. (#20262) 2021-02-23 13:56:00 -08:00
svn-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
svn-top-level copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
test-dep-with-imposed-conditions concretizer: require at least a dependency type to say the dependency holds 2021-01-12 22:23:39 -08:00
test-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
test-error url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
test-fail url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
transitive-conditional-virtual-dependency copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
trigger-external-non-default-variant url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
trivial-install-test-package url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
trivial-pkg-with-valid-hash copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
trivial-smoke-test url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
unsat-provider url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
unsat-virtual-dependency url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
url_override url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
url-list-test url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
url-only-override url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
url-only-override-with-gaps url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00
url-test copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
v1-provider copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
variant-on-dependency-condition-a copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
variant-on-dependency-condition-b copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
variant-on-dependency-condition-root copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
vdefault-or-external copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
vdefault-or-external-root copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
version-test-dependency-preferred Regression test for version selection with preferences (#25602) 2021-08-26 09:28:47 -07:00
version-test-pkg Regression test for version selection with preferences (#25602) 2021-08-26 09:28:47 -07:00
version-test-root Regression test for version selection with preferences (#25602) 2021-08-26 09:28:47 -07:00
when-directives-false copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
when-directives-true copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
with-constraint-met Add when context manager to group common constraints in packages (#24650) 2021-07-02 08:43:15 -07:00
wrong-variant-in-conflicts Improve error message for inconsistencies in package.py (#21811) 2021-02-22 19:09:43 -08:00
wrong-variant-in-depends-on Improve error message for inconsistencies in package.py (#21811) 2021-02-22 19:09:43 -08:00
zlib specs: move to new spec.json format with build provenance (#22845) 2021-09-09 01:48:30 -07:00
zmpi url stats: add --show-issues option (#25792) 2021-09-08 07:59:06 -07:00