mirror of https://git.ffmpeg.org/ffmpeg.git
configure: add initial RISC-V support
OpenBSD only supports riscv64 but this is an attempt at adding some of the initial bits for RISC-V support. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ba0ba5539a
commit
dbfafe11ae
|
@ -2026,6 +2026,7 @@ ARCH_LIST="
|
||||||
parisc
|
parisc
|
||||||
ppc
|
ppc
|
||||||
ppc64
|
ppc64
|
||||||
|
riscv
|
||||||
s390
|
s390
|
||||||
sh4
|
sh4
|
||||||
sparc
|
sparc
|
||||||
|
@ -2636,7 +2637,7 @@ for ext in $(filter_out mmx $ARCH_EXT_LIST_X86_SIMD); do
|
||||||
done
|
done
|
||||||
|
|
||||||
aligned_stack_if_any="aarch64 ppc x86"
|
aligned_stack_if_any="aarch64 ppc x86"
|
||||||
fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
|
fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 riscv64 sparc64 x86_64"
|
||||||
fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
|
fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
|
||||||
fast_unaligned_if_any="aarch64 ppc x86"
|
fast_unaligned_if_any="aarch64 ppc x86"
|
||||||
simd_align_16_if_any="altivec neon sse"
|
simd_align_16_if_any="altivec neon sse"
|
||||||
|
@ -4945,6 +4946,9 @@ case "$arch" in
|
||||||
"Power Macintosh"|ppc*|powerpc*)
|
"Power Macintosh"|ppc*|powerpc*)
|
||||||
arch="ppc"
|
arch="ppc"
|
||||||
;;
|
;;
|
||||||
|
riscv*)
|
||||||
|
arch="riscv"
|
||||||
|
;;
|
||||||
s390|s390x)
|
s390|s390x)
|
||||||
arch="s390"
|
arch="s390"
|
||||||
;;
|
;;
|
||||||
|
@ -5338,6 +5342,10 @@ case "$arch" in
|
||||||
check_64bit ppc ppc64
|
check_64bit ppc ppc64
|
||||||
enabled shared && enable_weak pic
|
enabled shared && enable_weak pic
|
||||||
;;
|
;;
|
||||||
|
riscv)
|
||||||
|
check_64bit riscv32 riscv64
|
||||||
|
enabled shared && enable_weak pic
|
||||||
|
;;
|
||||||
s390)
|
s390)
|
||||||
check_64bit s390 s390x
|
check_64bit s390 s390x
|
||||||
enabled shared && enable_weak pic
|
enabled shared && enable_weak pic
|
||||||
|
|
Loading…
Reference in New Issue