Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/writing-easyconfig-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,19 @@ Here, the template strings `%(name)s` and `%(version)s` will be
substituted from the `exts_list` entry elements ("pyCAP" and "0.1",
respectively), not from the easyconfig values.

### Generate a crates list {: #generate_crates_list }

To generate a crates list for a package:

1. Download and unpack the source code for the package you wish to build
1. Change into the directory containing the top level `Cargo.toml`.
1. Run `python -m easybuild.easyblocks.generic.cargo .`

If there is not already a lockfile then you may need to do the following to generate it:

1. Load a recent Rust module
1. `cargo generate-lockfile`

### Configure/build/install command options {: #configure_build_install_command_options }

- **configopts**: options for configure command
Expand Down
Loading