Applying accepted fix from spack/spack.io#4
This commit is contained in:
parent
bdb92f2d91
commit
19e6f55647
1 changed files with 4 additions and 4 deletions
|
@ -60,14 +60,14 @@ Customize dependencies
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Spack allows *dependencies* of a particular installation to be
|
Spack allows *dependencies* of a particular installation to be
|
||||||
customized extensively. Suppose that ``mpileaks`` depends indirectly
|
customized extensively. Suppose that ``hdf5`` depends
|
||||||
on ``libelf`` and ``libdwarf``. Using ``^``, users can add custom
|
on ``openmpi`` and indirectly on ``hwloc``. Using ``^``, users can add custom
|
||||||
configurations for the dependencies:
|
configurations for the dependencies:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# Install mpileaks and link it with specific versions of libelf and libdwarf
|
# Install hdf5 and link it with specific versions of openmpi and hwloc
|
||||||
$ spack install mpileaks@1.1.2 %gcc@4.7.3 +debug ^libelf@0.8.12 ^libdwarf@20130729+debug
|
$ spack install hdf5@1.10.1 %gcc@4.7.3 +debug ^openmpi+cuda fabrics=auto ^hwloc+gl
|
||||||
|
|
||||||
------------------------
|
------------------------
|
||||||
Non-destructive installs
|
Non-destructive installs
|
||||||
|
|
Loading…
Reference in a new issue