[openal-soft] Enable NEON on arm64 targets (#26452)

* [openal] Enable NEON on arm64 targets

* Add versions

* Typo

* Update version database
This commit is contained in:
Stephen Just 2022-08-22 09:44:24 -07:00 committed by GitHub
parent 3f7e013c4d
commit 0f089d02bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -20,6 +20,7 @@ endif()
set(ALSOFT_REQUIRE_LINUX OFF)
set(ALSOFT_REQUIRE_WINDOWS OFF)
set(ALSOFT_REQUIRE_APPLE OFF)
set(ALSOFT_CPUEXT_NEON OFF)
if(VCPKG_TARGET_IS_LINUX)
set(ALSOFT_REQUIRE_LINUX ON)
@ -30,6 +31,9 @@ endif()
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
set(ALSOFT_REQUIRE_APPLE ON)
endif()
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
set(ALSOFT_CPUEXT_NEON ON)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
@ -54,7 +58,7 @@ vcpkg_cmake_configure(
-DALSOFT_BACKEND_WINMM=OFF
-DALSOFT_BACKEND_DSOUND=OFF
-DALSOFT_REQUIRE_WASAPI=${ALSOFT_REQUIRE_WINDOWS}
-DALSOFT_CPUEXT_NEON=OFF
-DALSOFT_CPUEXT_NEON=${ALSOFT_CPUEXT_NEON}
-DCMAKE_DISABLE_FIND_PACKAGE_WindowsSDK=ON
MAYBE_UNUSED_VARIABLES
ALSOFT_AMBDEC_PRESETS

View File

@ -1,7 +1,7 @@
{
"name": "openal-soft",
"version-semver": "1.22.2",
"port-version": 2,
"port-version": 3,
"description": "OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.",
"homepage": "https://github.com/kcat/openal-soft",
"license": "GPL-2.0-or-later",

View File

@ -5154,7 +5154,7 @@
},
"openal-soft": {
"baseline": "1.22.2",
"port-version": 2
"port-version": 3
},
"openblas": {
"baseline": "0.3.20",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a0e8008cd2061bcaeaf0ed725438edae4386aac1",
"version-semver": "1.22.2",
"port-version": 3
},
{
"git-tree": "a964545a6c1ea12eb653de3d4739431ddf1cce85",
"version-semver": "1.22.2",