view: dont warn about externals (#43771)

since it's the status quo on linux after libc as external by default
This commit is contained in:
Harmen Stoppels 2024-04-22 16:05:32 +02:00 committed by GitHub
parent 80b5106611
commit 69f417b26a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -662,9 +662,6 @@ def add_specs(self, *specs: spack.spec.Spec) -> None:
return return
# Drop externals # Drop externals
for s in specs:
if s.external:
tty.warn("Skipping external package: " + s.short_spec)
specs = [s for s in specs if not s.external] specs = [s for s in specs if not s.external]
self._sanity_check_view_projection(specs) self._sanity_check_view_projection(specs)