Skip to content

Commit 591a0ba

Browse files
authored
Merge pull request #243 from branfosj/download
document `download_instructions` enhancements in EasyBuild 5.0
2 parents 7afb336 + 2b8b256 commit 591a0ba

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

docs/easybuild-v5/enhancements.md

+28-5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Various significant enhancements are included in EasyBuild v5.0, including:
2323
- [Revamp of easyconfig parameter `modextrapaths`][modextrapaths-revamp]
2424
- [Detect Fortran `.mod` files in `GCCcore` installations][mod-files]
2525
- [Let `ConfigureMake` generic easyblock error out on unknown `configure` options][configuremake-unknown-configure-options]
26+
- [Require `download_instructions` for non-public sources][require_download_instructions]
2627

2728
---
2829

@@ -341,11 +342,6 @@ which have become deprecated in EasyBuild 5.0:
341342
- [`allow_append_abs_path`][deprec_allow_append_abs]
342343
- [`allow_prepend_abs_path`][deprec_allow_prepend_abs]
343344

344-
---
345-
346-
## Let `ConfigureMake` generic easyblock error out on unrecognized `configure` options { : #configuremake-unrecognized-configure-options }
347-
348-
*(more info soon)*
349345

350346
---
351347

@@ -360,3 +356,30 @@ build failure with the command line option `--fail-on-mod-files-gcccore`.
360356

361357
If the software uses the `.mod` extension for a different type of file then the EasyConfig variable
362358
`skip_mod_files_sanity_check` can be set to mark that this use is expected.
359+
360+
---
361+
362+
## Let `ConfigureMake` generic easyblock error out on unrecognized `configure` options { : #configuremake-unrecognized-configure-options }
363+
364+
*(more info soon)*
365+
366+
367+
---
368+
369+
## Require `download_instructions` for non-public sources {: require_download_instructions }
370+
371+
[`download_instructions`][download_instructions] is a new easyconfig parameter
372+
in EasyBuild 5.0 used to specify instructions, or information, on
373+
how to obtain software sources that are not directly downloadable. This is
374+
usually the case for licensed software without public sources.
375+
376+
We've updated the testsuite for our `easybuild-easyconfigs` repository to
377+
require that all its easyconfigs must specify the download instructions
378+
of any non-public sources in them
379+
(see [easybuild-easyconfigs PR #19881](https://github.com/easybuilders/easybuild-easyconfigs/pull/19881)).
380+
381+
As part of this enhancement we also added `download_instructions` to all easyconfigs that require them (see the PRs linked from
382+
[easybuild-easyconfigs PR #19881](https://github.com/easybuilders/easybuild-easyconfigs/pull/19881)). In addition to the
383+
`download_instructions` we also clearly specify the active source path (see
384+
[easybuild-framework PR #4459](https://github.com/easybuilders/easybuild-framework/pull/4459)).
385+

docs/writing-easyconfig-files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ sources = [{
477477
in favour of the Python dictionary format described above; see also
478478
[Specifying source files as 2-element tuples to provide a custom extraction command][depr_sources_2_element_tuple].
479479

480-
#### Using `download_instructions` for user-side part of installation
480+
#### Using `download_instructions` for user-side part of installation {: download_instructions }
481481

482482
In some cases, getting some of the files required for an installation
483483
cannot be automated. Reasons for this include:

0 commit comments

Comments
 (0)