mirror of
https://github.com/blender/blender.git
synced 2026-01-14 03:19:40 +00:00
Libmv: Add loong64 support in build_config.h
Following #130916. Add definitions for LoongArch64 to build_config.h as well to allow proper detection of CPU type when building on loongarch64 platforms. Pull Request: https://projects.blender.org/blender/blender/pulls/152100
This commit is contained in:
@ -321,6 +321,11 @@
|
||||
#elif defined(__pnacl__) || defined(__asmjs__) || defined(__wasm__)
|
||||
# define ARCH_CPU_32_BITS 1
|
||||
# define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
#elif defined(__loongarch_lp64)
|
||||
# define ARCH_CPU_LOONG_FAMILY 1
|
||||
# define ARCH_CPU_LOONG64 1
|
||||
# define ARCH_CPU_64_BITS 1
|
||||
# define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
#elif defined(__MIPSEL__)
|
||||
# if defined(__LP64__)
|
||||
# define ARCH_CPU_MIPS_FAMILY 1
|
||||
@ -389,6 +394,9 @@
|
||||
#if !defined(ARCH_CPU_ARM_FAMILY)
|
||||
# define ARCH_CPU_ARM_FAMILY 0
|
||||
#endif
|
||||
#if !defined(ARCH_CPU_LOONG_FAMILY)
|
||||
# define ARCH_CPU_LOONG_FAMILY 0
|
||||
#endif
|
||||
#if !defined(ARCH_CPU_MIPS_FAMILY)
|
||||
# define ARCH_CPU_MIPS_FAMILY 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user