ci: test ARM neon and simd on ci using vita toolchain

This commit is contained in:
Anonymous Maarten 2023-02-26 20:16:04 +01:00 committed by Anonymous Maarten
parent d27db3defa
commit 65178df717
2 changed files with 2 additions and 15 deletions

View File

@ -93,6 +93,8 @@ jobs:
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
-DVIDEO_VITA_PIB=${{ !!matrix.platform.pib }} \
-DVIDEO_VITA_PVR=${{ !!matrix.platform.pvr }} \
-DSDL_ARMNEON=ON \
-DSDL_ARMSIMD=ON \
-DSDL_WERROR=ON \
-DSDL_TESTS=ON \
-DSDL_INSTALL_TESTS=ON \

View File

@ -2602,23 +2602,8 @@ elseif(VITA)
)
endif()
set(HAVE_ARMSIMD TRUE)
# set(SDL_ARM_SIMD_BLITTERS 1)
# file(GLOB ARMSIMD_SOURCES ${SDL3_SOURCE_DIR}/src/video/arm/pixman-arm-simd*.S)
# list(APPEND SOURCE_FILES ${ARMSIMD_SOURCES})
set(HAVE_ARMNEON TRUE)
# set(SDL_ARM_NEON_BLITTERS 1)
# file(GLOB ARMNEON_SOURCES ${SDL3_SOURCE_DIR}/src/video/arm/pixman-arm-neon*.S)
# list(APPEND SOURCE_FILES ${ARMNEON_SOURCES})
# set_property(SOURCE ${SDL3_SOURCE_DIR}/src/video/arm/pixman-arm-simd-asm.S PROPERTY LANGUAGE C)
# set_property(SOURCE ${SDL3_SOURCE_DIR}/src/video/arm/pixman-arm-neon-asm.S PROPERTY LANGUAGE C)
target_compile_definitions(sdl-build-options INTERFACE "__VITA__")
# CheckPTHREAD()
elseif(PSP)
file(GLOB PSP_CORE_SOURCES ${SDL3_SOURCE_DIR}/src/core/psp/*.c)
list(APPEND SOURCE_FILES ${PSP_CORE_SOURCES})