configure: detect --cpu=mipsisa64r6
PATCH 1/1 configure: detect --cpu=mipsisa64r6
Treat it as a MIPS64 machine.
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -452,7 +452,7 @@ case "$cpu" in linux_arch=loongarch ;; - mips64*) + mips64*|mipsisa64*) cpu=mips64 host_arch=mips linux_arch=mips
Signature · 1 line
2.45.2
Quoted 1 line · Paolo Bonzini
Treat it as a MIPS64 machine.
Where did you encounter it?
Quoted 10 lines
Signed-off-by Paolo Bonzini <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
configure case "$cpu" in · line 455
Quoted 5 lines
configure +1
-1@@ -452,7 +452,7 @@ case "$cpu" in linux_arch=loongarch ;; - mips64*) + mips64*|mipsisa64*)
Maybe simply switch to mips*64*) ?
configure case "$cpu" in · line 458
Quoted 3 lines
configure +0
-0cpu=mips64 host_arch=mips linux_arch=mips
Thomas
Quoted 5 lines · Thomas Huth
Quoted 1 line · Paolo Bonzini
Treat it as a MIPS64 machine.
Where did you encounter it?
It is handled by "config.sub" (the GNU script to canonicalize target triples). and is also in the list produced by "rustc --print target-list" on Fedora 40. So it seems like something that could be passed to --cpu.
The argument to --cpu, plus an autodetected OS, is also as close as we can get to building the tuple for "cargo --target CPU-MACHINE-OS-VARIANT".
Quoted 13 lines
Quoted 13 lines
Signed-off-by Paolo Bonzini <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0@@ -452,7 +452,7 @@ case "$cpu" in linux_arch=loongarch ;;
Quoted 4 lines
configure case "$cpu" in · line 455
Quoted 2 lines
configure +1
-1- mips64*) + mips64*|mipsisa64*)Maybe simply switch to mips*64*) ?
Not sure if it's a good idea, since we know the exact prefixes.
Paolo
Thomas Huth
Reviewed-byQuoted 4 lines · Paolo Bonzini
Quoted 3 lines · Thomas Huth
Quoted 1 line · Paolo Bonzini
Treat it as a MIPS64 machine.
...
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
configure +0
-0@@ -452,7 +452,7 @@ case "$cpu" in linux_arch=loongarch ;;
Quoted 6 lines
Quoted 4 lines
configure case "$cpu" in · line 455
Quoted 2 lines
configure +1
-1- mips64*) + mips64*|mipsisa64*)Maybe simply switch to mips*64*) ?
Not sure if it's a good idea, since we know the exact prefixes.
Fair point.
Quoted 6 lines · Paolo Bonzini
Treat it as a MIPS64 machine.
Signed-off-by Paolo Bonzini <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)