diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2022-04-12 08:55:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 08:55:32 +0800 |
commit | df6ecbe4ddb2a1a261b44af822d22f1253d3f0e4 (patch) | |
tree | 3d5df48d546d06dcd284d2e351bf6df699e22bcf /configure | |
parent | 372e33ea8dbfc297466f679f68bb98da69a52d05 (diff) | |
parent | 44fedc5e1a8f202248fc0f2b39c84226d8f3d1e6 (diff) | |
download | riscv-gnu-toolchain-df6ecbe4ddb2a1a261b44af822d22f1253d3f0e4.zip riscv-gnu-toolchain-df6ecbe4ddb2a1a261b44af822d22f1253d3f0e4.tar.gz riscv-gnu-toolchain-df6ecbe4ddb2a1a261b44af822d22f1253d3f0e4.tar.bz2 |
Merge pull request #1054 from riscv-collab/with-isa-spec2022.04.12
Add --with-isa-spec option to configure
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -604,6 +604,7 @@ newlib_multilib_names glibc_multilib_names multilib_flags multilib_gen +WITH_ISA_SPEC WITH_TUNE WITH_ABI WITH_ARCH @@ -671,6 +672,7 @@ enable_linux with_arch with_abi with_tune +with_isa_spec enable_multilib with_multilib_generator enable_gcc_checking @@ -1333,6 +1335,8 @@ 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-multilib-generator Multi-libs configuration string, only supported for bare-metal/elf toolchaih, this option implied @@ -3301,6 +3305,16 @@ else fi + +# Check whether --with-isa-spec was given. +if test "${with_isa_spec+set}" = set; then : + withval=$with_isa_spec; +else + with_isa_spec=2.2 + +fi + + if test "x$with_abi" = xdefault; then : case $with_arch in #( *rv64g* | *rv64*d*) : @@ -3329,6 +3343,8 @@ WITH_ABI=--with-abi=$with_abi WITH_TUNE=--with-tune=$with_tune +WITH_ISA_SPEC=--with-isa-spec=$with_isa_spec + # Check whether --enable-multilib was given. if test "${enable_multilib+set}" = set; then : |