Skip to content

Commit 83110c1

Browse files
fix: rakefile and Readme file (riscv-software-src#1068)
Fixes riscv-software-src#1039 --------- Signed-off-by: Shashank V M <[email protected]> Signed-off-by: Shashank V M <[email protected]> Co-authored-by: Paul Clarke <[email protected]>
1 parent b5d25b9 commit 83110c1

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ For convenience, running Rake inside the container is encapsulated in `do`. For
9595
# generate all versions of ISA manual, as an Antora static website
9696
./do gen:html_manual MANUAL_NAME=isa VERSIONS=all
9797
98+
# regenerate yaml files for the unresolved architecture
99+
./do gen:arch
100+
98101
# generate an implementation-specific spec for the 'example_rv64_with_overlay' config
99-
./do gen:arch[example_rv64_with_overlay]
102+
./do gen:resolved_arch CFG=example_rv64_with_overlay
100103
----

Rakefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,13 @@ namespace :gen do
8181
end
8282
end
8383

84-
desc "Resolve the standard in arch/, and write it to gen/resolved_arch/_"
84+
desc "Resolve the configuration CFG in arch/, and write it to gen/resolved_arch/<CFG>. Default CFG is the standard, \"_\"."
8585
task "resolved_arch" do
86-
$resolver.cfg_arch_for("_")
86+
cfg = ENV["CFG"]
87+
if cfg.nil?
88+
cfg = "_"
89+
end
90+
$resolver.cfg_arch_for(cfg)
8791
end
8892
end
8993

0 commit comments

Comments
 (0)