-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filtering external specs (#44093)
When an include filter on externals is present, implicitly include libcs. Also, do not penalize deprecated versions if they come from externals.
- Loading branch information
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
var/spack/repos/builtin.mock/packages/deprecated-client/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2013-2024 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.package import * | ||
|
||
|
||
class DeprecatedClient(Package): | ||
"""A package depending on another which has deprecated versions.""" | ||
|
||
homepage = "http://www.example.com" | ||
url = "http://www.example.com/c-1.0.tar.gz" | ||
|
||
version("1.1.0", sha256="abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890") | ||
|
||
depends_on("deprecated-versions") |