Skip to content

Commit

Permalink
Merge pull request #1229 from pz9115/master
Browse files Browse the repository at this point in the history
Update --with-isa-spec default option.
  • Loading branch information
kito-cheng authored Apr 17, 2023
2 parents 29da22c + 0ae36fc commit cc3263a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,8 @@ LIBOBJS
qemu_targets
enable_libsanitizer
with_linux_headers_src
with_pk_src
with_dejagnu_src
with_pk_src
with_spike_src
with_qemu_src
with_gdb_src
Expand Down Expand Up @@ -1350,8 +1350,9 @@ Optional Packages:
--with-arch=rv64imafdc Sets the base RISC-V ISA, defaults to rv64imafdc
--with-abi=lp64d Sets the base RISC-V ABI, defaults to lp64d
--with-tune=rocket Set the base RISC-V CPU, defaults to rocket
--with-isa-spec=2.2 Set the default ISA spec version, default to 2.2,
available options: 2.2, 20190608, 20191213
--with-isa-spec=20191213
Set the default ISA spec version, default to
20191213, available options: 2.2, 20190608, 20191213
--with-sim=qemu Sets the base RISC-V Simulator, defaults to qemu
--with-multilib-generator
Multi-libs configuration string, only supported for
Expand All @@ -1377,6 +1378,8 @@ Optional Packages:
--with-qemu-src Set qemu source path, use builtin source by default
--with-spike-src Set spike source path, use builtin source by default
--with-pk-src Set pk source path, use builtin source by default
--with-dejagnu-src Set dejagnu source path, use builtin source by
default
--with-linux-headers-src
Set linux-headers source path, use builtin source by
default
Expand Down Expand Up @@ -3328,7 +3331,7 @@ fi
if test "${with_isa_spec+set}" = set; then :
withval=$with_isa_spec;
else
with_isa_spec=2.2
with_isa_spec=20191213
fi
Expand Down Expand Up @@ -3731,7 +3734,6 @@ else
fi
}
{
# Check whether --with-dejagnu-src was given.
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ AC_ARG_WITH(tune,
)

AC_ARG_WITH(isa-spec,
[AS_HELP_STRING([--with-isa-spec=2.2],
[Set the default ISA spec version, default to 2.2, available options: 2.2, 20190608, 20191213])],
[AS_HELP_STRING([--with-isa-spec=20191213],
[Set the default ISA spec version, default to 20191213, available options: 2.2, 20190608, 20191213])],
[],
[with_isa_spec=2.2]
[with_isa_spec=20191213]
)

AC_ARG_WITH(sim,
Expand Down

0 comments on commit cc3263a

Please sign in to comment.