From 12253f59fe30dd1490c8e1f9cf8156bffa5a3910 Mon Sep 17 00:00:00 2001 From: Tuomas Koskela Date: Mon, 25 Mar 2024 15:59:26 +0000 Subject: [PATCH] Add note on spack recipes to address issue 231 --- docs/contributing.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/contributing.md b/docs/contributing.md index bcca808d..d8a312e1 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -23,6 +23,11 @@ This is in the `spack/repo` directory, create a subdirectory inside `spack/repo/ with the name of the package you want to add, and place into it the `package.py` Spack recipe. On supported HPC systems, this repo is automatically added to the provided Spack environments. +In Spack recipes, please avoid cloning the head of a branch. The state of the +branch at the time it was cloned will not get recorded by Spack or ReFrame which leads to +issues with reproducibility. It is strongly recommended to only build tagged versions of +packages with Spack. + ### ReFrame benchmark New benchmarks should be added in the `apps/` directory, under the specific