[soxr] fix arm64-osx build (#25439)

* [soxr] detect arm64 on macOS

* [soxr] update versions
This commit is contained in:
Dylan Staley 2022-07-01 22:37:34 -07:00 committed by GitHub
parent 0d209ca968
commit ad606d66cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

View File

@ -7,7 +7,7 @@ index 0686bef..e4cb094 100644
ARM NEON support macros
*/
-#elif !defined(PFFFT_SIMD_DISABLE) && defined(__arm__)
+#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(_M_ARM))
+#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(_M_ARM) || defined(__aarch64__))
# include <arm_neon.h>
typedef float32x4_t v4sf;
# define SIMD_SZ 4

View File

@ -6,7 +6,7 @@ vcpkg_from_sourceforge(
PATCHES
001_initialize-resampler.patch
002_disable_warning.patch
003_detect_arm_on_windows.patch
003_detect_arm.patch
)
vcpkg_check_features(

View File

@ -1,7 +1,7 @@
{
"name": "soxr",
"version": "0.1.3",
"port-version": 6,
"port-version": 7,
"description": "High quality audio resampling",
"homepage": "https://sourceforge.net/projects/soxr/",
"dependencies": [

View File

@ -6706,7 +6706,7 @@
},
"soxr": {
"baseline": "0.1.3",
"port-version": 6
"port-version": 7
},
"spaceland": {
"baseline": "7.8.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9eaa72e750312e0bacbd2a02e1a16fcc680489dd",
"version": "0.1.3",
"port-version": 7
},
{
"git-tree": "fca92eeca8f38c1662193dd443e401c5fe7fbfc7",
"version": "0.1.3",