diff options
author | Michael Kuron <mkuron@users.noreply.github.com> | 2021-02-26 00:42:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 15:42:40 -0800 |
commit | 44530588628d4a7b12e76b332d03b5b5cab60378 (patch) | |
tree | 5293b37c3e4b8af38b7955fff075146dfc258881 /var/spack/repos/builtin.mock/packages/external-common-openssl/package.py | |
parent | 476444c59244125aed5b1522fdcb33c2cd2f0f9b (diff) | |
download | spack-44530588628d4a7b12e76b332d03b5b5cab60378.tar.gz spack-44530588628d4a7b12e76b332d03b5b5cab60378.tar.bz2 spack-44530588628d4a7b12e76b332d03b5b5cab60378.tar.xz spack-44530588628d4a7b12e76b332d03b5b5cab60378.zip |
Old concretizer: prevent unexpected propagation of external config (#20976)
When using an external package with the old concretizer, all
dependencies of that external package were severed. This was not
performed bidirectionally though, so for an external package W with
a dependency on Z, if some other package Y depended on Z, Z could
still pull properties (e.g. compiler) from W since it was not
severed as a parent dependency.
This performs the severing bidirectionally, and adds tests to
confirm expected behavior when using config from DAG-adjacent
packages during concretization.
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/external-common-openssl/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/external-common-openssl/package.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/external-common-openssl/package.py b/var/spack/repos/builtin.mock/packages/external-common-openssl/package.py new file mode 100644 index 0000000000..e719fa20fc --- /dev/null +++ b/var/spack/repos/builtin.mock/packages/external-common-openssl/package.py @@ -0,0 +1,14 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class ExternalCommonOpenssl(Package): + homepage = "http://www.openssl.org" + url = "http://www.openssl.org/source/openssl-1.1.1i.tar.gz" + + version('1.1.1i', 'be78e48cdfc1a7ad90efff146dce6cfe') + depends_on('external-common-perl') |