SHA256
1
0
forked from pool/spack
spack/added-target-and-os-calls-to-output-of-spack-spec-co.patch
Christian Goll 9a9d0f0da8 Accepting request 1186519 from home:eeich:branches:network:cluster
- Update to 0.22.1.
  * Bug Fixes:
    - Fix reuse of externals on Linux.
    - Ensure parent gcc-runtime version >= child.
    - Ensure the latest gcc-runtime is rpath'ed when multiple exist
      among link deps.
    - Improve version detection of glibc.
    - Improve heuristics for solver.
    - Make strong preferences override reuse.
    - Reduce verbosity when C compiler is missing.
    - Make missing ccache executable an error when required.
    - Make every environment view containing `python` a `venv`.
    - Fix external detection for compilers with os but no target.
    - Fix version optimization for roots.
    - Handle common implementations of pagination of tags in OCI
      build caches.
    - Apply fetched patches to develop specs.
    - Avoid Windows wrappers for filesystem utilities on non-Windows.
    - Fix formatting issue in `spack audit`.
  * Package updates:
    - Require libiconv for iconv.
      Notice that glibc/musl also provide iconv, but are not
      guaranteed to be complete. Set `packages:iconv:require:[glibc]`
      to restore the old behavior.
    - protobuf: fix 3.4:3.21 patch checksum.
    - protobuf: update hash for patch needed when="@3.4:3.21".
    - git: bump v2.39 to 2.45; deprecate unsafe versions.
    - gcc: use `-rpath {rpath_dir}` not `-rpath={rpath dir}`.
    - Remove mesa18 and libosmesa.
    - Enforce consistency of `gl` providers.

OBS-URL: https://build.opensuse.org/request/show/1186519
OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=107
2024-07-10 08:22:09 +00:00

70 lines
2.9 KiB
Diff

From 1221c1f6b68cbba3a14592a686aec742b5fd02d2 Mon Sep 17 00:00:00 2001
From: Christian Goll <cgoll@suse.de>
Date: Fri, 11 Dec 2020 15:37:48 +0100
Subject: [PATCH] added target and os calls to output of spack spec commands
---
lib/spack/docs/developer_guide.rst | 2 +-
lib/spack/docs/getting_started.rst | 2 +-
lib/spack/docs/packaging_guide.rst | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/spack/docs/developer_guide.rst b/lib/spack/docs/developer_guide.rst
index 4dc8d1249d..42b67425ab 100644
--- a/lib/spack/docs/developer_guide.rst
+++ b/lib/spack/docs/developer_guide.rst
@@ -758,7 +758,7 @@ supply ``--profile`` to Spack on the command line, before any subcommands.
``spack --profile`` output looks like this:
-.. command-output:: spack --profile graph hdf5
+.. command-output:: spack --profile graph hdf5 os=SUSE target=x86_64
:ellipsis: 25
The bottom of the output shows the top most time consuming functions,
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst
index 3c077490a2..0a0a0d0913 100644
--- a/lib/spack/docs/getting_started.rst
+++ b/lib/spack/docs/getting_started.rst
@@ -204,7 +204,7 @@ Check Installation
With Spack installed, you should be able to run some basic Spack
commands. For example:
-.. command-output:: spack spec netcdf-c
+.. command-output:: spack spec netcdf-c target=x86_64 os=SUSE
In theory, Spack doesn't need any additional installation; just
download and run! But in real life, additional steps are usually
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index 586fdcec6e..1a7e23c426 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -6382,13 +6382,13 @@ Spack provides the ``spack graph`` command for graphing dependencies.
The command by default generates an ASCII rendering of a spec's
dependency graph. For example:
-.. command-output:: spack graph hdf5
+.. command-output:: spack graph hdf5 target=x86_64 os=SUSE
At the top is the root package in the DAG, with dependency edges emerging
from it. On a color terminal, the edges are colored by which dependency
they lead to.
-.. command-output:: spack graph --deptype=link hdf5
+.. command-output:: spack graph --deptype=link hdf5 target=x86_64 os=SUSE
The ``deptype`` argument tells Spack what types of dependencies to graph.
By default it includes link and run dependencies but not build
@@ -6403,7 +6403,7 @@ dependencies. The default is ``--deptype=all``, which is equivalent to
You can also use ``spack graph`` to generate graphs in the widely used
`Dot <http://www.graphviz.org/doc/info/lang.html>`_ format. For example:
-.. command-output:: spack graph --dot hdf5
+.. command-output:: spack graph --dot hdf5 target=x86_64 os=SUSE
This graph can be provided as input to other graphing tools, such as
those in `Graphviz <http://www.graphviz.org>`_. If you have graphviz
--
2.40.1