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: 03_building_and_packaging/spack_demo.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ To make things simpler from Step 2 onwards, create a container from the [spack/u
70
70
spack install --reuse zlib
71
71
```
72
72
73
-
This installs the package `zlib` by downloading and compiling it. `--reuse` tells spack to reuse already existing packages if possible
73
+
This installs the package `zlib` by downloading and compiling it. `--reuse` tells spack to reuse already existing packages if possible.
74
74
75
75
- List installed packages
76
76
@@ -90,7 +90,7 @@ To make things simpler from Step 2 onwards, create a container from the [spack/u
90
90
91
91
Spack will fetch the archive and try to deduce some basic settings. It will also check for other releases and asks whether to add checksums. We want all checksums.
92
92
93
-
- Spack immediately drops you in a boilerplate package file.
93
+
- Spack immediately drops you in a boilerplate package file
94
94
95
95
```Python
96
96
classHelloworld(CMakePackage):
@@ -126,7 +126,7 @@ To make things simpler from Step 2 onwards, create a container from the [spack/u
126
126
- There are 3 releases of the software
127
127
- The URL to download the package
128
128
- The name of the package we work with `class Helloworld`. This is also the name of the software now within Spack.
129
-
- We want to fix/extend the package with some standard information
129
+
- We want to fix/extend the package with some standard information.
130
130
- Package description
131
131
- Set URL to SSE homepage
132
132
- Add GitHub username as maintainer
@@ -174,15 +174,15 @@ To make things simpler from Step 2 onwards, create a container from the [spack/u
174
174
spack install helloworld@0.2.0
175
175
```
176
176
177
-
This will concretize (internally, i.e. no output on terminal) and then build the software.
177
+
This will concretize (internally, i.e., no output on terminal) and then build the software.
178
178
179
179
- If one wants to edit the package later, there are two options
180
180
181
181
```bash
182
182
spack edit helloworld
183
183
```
184
184
185
-
or open `package.py` file in `.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/helloworld/package.py`
185
+
or open `package.py` file in `.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/helloworld/package.py`.
0 commit comments