You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/buildspecs/spack.rst
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -373,10 +373,13 @@ for buildtest to install spack in the environment.
373
373
Loading Specs
374
374
---------------
375
375
376
-
We can load specs using ``spack load`` which can be used for running tests or simply loading the package once it is installed,
377
-
Let's say if we were to test ``m4``, we can load the package prior to testing it. The ``load`` refers to ``spack load`` and ``options`` refers to options
378
-
that can be passed to ``spack load`` command with a list of specs defined by ``specs`` property. The below command would translate to
379
-
``spack load --only package m4``
376
+
We can load specs into our user environment via ``spack load`` which can be used for running tests or
377
+
simply loading the package once it is installed. In this next example, we will test ``m4`` package,
378
+
where we load the package first prior to testing it. The ``load`` refers to ``spack load`` and ``options``
379
+
refers to command options passed to ``spack load`` command with a list of specs to load defined
380
+
by ``specs`` property.
381
+
382
+
In this test, the command would translate to ``spack load --only package m4``
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
27
-
This is free software: you are free to change and redistribute it.
28
-
There is NO WARRANTY, to the extent permitted by law.
29
-
Written by Rene' Seindal.
30
-
PASSED
31
-
==> [2023-08-08-18:10:45.282548] test: ensuring m4 example succeeds
─────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_load/spack_load_example/60d45649/spack_load_example.sh ────────────────────────────────
0 commit comments