diff --git a/changelog.d/+variant-submit-carveout.doc.md b/changelog.d/+variant-submit-carveout.doc.md new file mode 100644 index 0000000..2eb462d --- /dev/null +++ b/changelog.d/+variant-submit-carveout.doc.md @@ -0,0 +1 @@ +Document in the command reference that `--variant` is accepted before an easyconfig and before `submit`. `submit` keeps the option and puts it on the batch command. Another command refuses it. diff --git a/docs/orgmode/reference/cli.org b/docs/orgmode/reference/cli.org index 04a157d..06d5db8 100644 --- a/docs/orgmode/reference/cli.org +++ b/docs/orgmode/reference/cli.org @@ -247,7 +247,7 @@ After =eb=, every word goes to =eb= except =-h= and =--help=; after =eb --=, eve | =--workstation= | Force managed recipe builds to use private local workspace storage on this machine, even when Slurm is present. | | =--config FILE= | Read FILE in place of the site file when root or the owner of this program owns it; otherwise in place of =~/.config/eb-local/config.toml=, when you own it. The other file is still read. | | =--explain= | Before an easyconfig, or before =eb=: print what would run, and create and run nothing. | -| =--variant NAME= | Before an easyconfig: build it as the =perf= or =debug= variant, described in the =--variant= section below. | +| =--variant NAME= | Before an easyconfig: build it as the =perf= or =debug= variant, described in the =--variant= section below. Before =submit=: =submit= keeps the option and puts it on the batch command. Another command refuses it. | | =--cpu-target TARGET= | Before an easyconfig: build for the CPU target TARGET on this machine, described in the =--cpu-target= section below. | | =--mask ROUTE= | With =--cpu-target=: =auto=, =cpuid=, =kvm= or =tcg=. | | =--mask-allow-archspec-mismatch= | With =--cpu-target= on the kvm or tcg route: accept an archspec name that differs from the target. archspec reports =aarch64= under qemu-user for lack of =evtstrm=, so an aarch64 =--mask tcg= build needs it. | diff --git a/docs/reference/cli.md b/docs/reference/cli.md index e49eedb..11e51b5 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -249,7 +249,7 @@ After `eb`, every word goes to `eb` except `-h` and `--help`; after `eb --`, eve | `--workstation` | Force managed recipe builds to use private local workspace storage on this machine, even when Slurm is present. | | `--config FILE` | Read FILE in place of the site file when root or the owner of this program owns it; otherwise in place of `~/.config/eb-local/config.toml`, when you own it. The other file is still read. | | `--explain` | Before an easyconfig, or before `eb`: print what would run, and create and run nothing. | -| `--variant NAME` | Before an easyconfig: build it as the `perf` or `debug` variant, described in the `--variant` section below. | +| `--variant NAME` | Before an easyconfig: build it as the `perf` or `debug` variant, described in the `--variant` section below. Before `submit`: `submit` keeps the option and puts it on the batch command. Another command refuses it. | | `--cpu-target TARGET` | Before an easyconfig: build for the CPU target TARGET on this machine, described in the `--cpu-target` section below. | | `--mask ROUTE` | With `--cpu-target`: `auto`, `cpuid`, `kvm` or `tcg`. | | `--mask-allow-archspec-mismatch` | With `--cpu-target` on the kvm or tcg route: accept an archspec name that differs from the target. archspec reports `aarch64` under qemu-user for lack of `evtstrm`, so an aarch64 `--mask tcg` build needs it. |