MoonchildProductions/UXP#2897: Import upstream libyuv fixes to fix Clang compilation on Loongarch64

This commit is contained in:
Basilisk-Dev 2026-01-08 13:01:25 -05:00 • committed by ownedbywuigi
commit 5dc90752dd
4 changed files with 1377 additions and 156 deletions

View file

@ -35,6 +35,13 @@ if CONFIG['CPU_ARCH'] == 'aarch64':
'source/row_neon64.cc',
'source/scale_neon64.cc',
]
if CONFIG['CPU_ARCH'] == 'loongarch64':
libyuv_non_unified_sources += [
'source/rotate_lsx.cc',
'source/row_lasx.cc',
'source/row_lsx.cc',
'source/scale_lsx.cc',
]
GYP_DIRS['.'].input = 'libyuv.gyp'
GYP_DIRS['.'].variables = gyp_vars