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

From 65178df717a4c63e589145aa4f01a62c6d529625 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sun, 26 Feb 2023 20:16:04 +0100
Subject: [PATCH] ci: test ARM neon and simd on ci using vita toolchain

---
 .github/workflows/vita.yml |  2 ++
 CMakeLists.txt             | 15 ---------------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/vita.yml b/.github/workflows/vita.yml
index df7c9d48f972..f553e677edcb 100644
--- a/.github/workflows/vita.yml
+++ b/.github/workflows/vita.yml
@@ -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 \
diff --git a/CMakeLists.txt b/CMakeLists.txt
index facbf93c7245..81110ded9b72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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})