Skip to content

Commit

Permalink
document generate crates list
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Jan 16, 2025
1 parent fa1d504 commit 26c5970
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 26c5970

Please sign in to comment.