Skip to content

Commit a778ca5

Browse files
author
Caspar van Leeuwen
committed
Actually use the long description, and add the known limitation we currently have with rebuilds
1 parent 567e23c commit a778ca5

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

eessi_software_reproduce_stack.py

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,21 @@
2626
If an argument is provided for --eb-override-version, installations of EasyBuild itself are performed before
2727
anything else, with the EasyBuild version provided as argument.
2828
29-
Example:
30-
31-
python3 eessi_software_reproduce_stack.py --reference-software-subdir=x86_64/amd/zen2 --eessi-version 2025.06
32-
will create easystacks that allow you to replicate the software installed in
33-
/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>, as
34-
provided the logs of these installations where backed up to
35-
/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>/reprod
36-
(which was standard practice starting with EESSI version 2025.06).
29+
Example:
30+
31+
python3 eessi_software_reproduce_stack.py --reference-software-subdir=x86_64/amd/zen2 --eessi-version 2025.06
32+
33+
will create easystacks that allow you to replicate the software installed in
34+
/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>,
35+
provided the logs of these installations where backed up to
36+
/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>/reprod
37+
(which was standard practice starting with EESSI version 2025.06).
38+
39+
Known limitations: if additional dependencies were added in rebuilds, building them at the original (first)
40+
build time will case a failure. See e.g. https://github.com/EESSI/software-layer/issues/1430
3741
"""
38-
parser = argparse.ArgumentParser(description='Reproduce EESSI software stack')
42+
# Use of formatter_class RawDescriptionHelpFormatter preserves newlines in the description, making it more readable
43+
parser = argparse.ArgumentParser(description=description, formatter_class=argparse.RawDescriptionHelpFormatter)
3944
parser.add_argument('-m', '--max-build-time', type=int, default=240, help='Maximum build time in minutes for each easystack file')
4045
parser.add_argument('-o', '--eb-override-version', type=str, default=None, help='EasyBuild version used to install other EasyBuild versions. The default (None) means it will attempt to use the EasyBuild that was used in the reference-software-subdir, but if this was a bootstrapped build (e.g. EB-5.1.1 building EB-5.1.1) in practice the latest EB will be used by the EESSI build scripts - creating a false suggestion about which version was used to install EasyBuild.')
4146
parser.add_argument('-r', '--reference-software-subdir', type=str, required=True, help='Reference software subdirectory, e.g. x86_64/amd/zen4')

0 commit comments

Comments
 (0)