Skip to content

Commit

Permalink
small fixes in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming committed Sep 6, 2023
1 parent ebad8ac commit d84eb5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A recipe is comprised of the following yaml files in a directory:
* `repo`: _optional_ custom spack package definitions.
* `extra`: _optional_ additional meta data to copy to the meta data of the stack.
* `post-install`: _optional_ a script to run after Spack has been executed to build the stack.
* `pre-install`: _optional_ a script to run any packages have been built.
* `pre-install`: _optional_ a script to run before any packages have been built.

## Configuration

Expand Down Expand Up @@ -374,7 +374,7 @@ echo "export PATH=$gmx_path:$PATH" >> {{ env.mount }}/activate.sh
Similarly to the post-install hook, if a `pre-install` script is provided in the recipe, it will be run during the build process:

* directly after the initial test that Spack has been installed correctly;
* directly before the build cache is configured, or the first compiler environment is concretised.
* directly before the build cache is configured, and/or the first compiler environment is concretised.

The pre-install script is copied, templated and executed similarly to the post-install hook (see above).

Expand Down

0 comments on commit d84eb5f

Please sign in to comment.