mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 16:52:53 +08:00
[soxr] fix arm64-osx
build (#25439)
* [soxr] detect arm64 on macOS * [soxr] update versions
This commit is contained in:
parent
0d209ca968
commit
ad606d66cd
@ -7,7 +7,7 @@ index 0686bef..e4cb094 100644
|
|||||||
ARM NEON support macros
|
ARM NEON support macros
|
||||||
*/
|
*/
|
||||||
-#elif !defined(PFFFT_SIMD_DISABLE) && defined(__arm__)
|
-#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>
|
# include <arm_neon.h>
|
||||||
typedef float32x4_t v4sf;
|
typedef float32x4_t v4sf;
|
||||||
# define SIMD_SZ 4
|
# define SIMD_SZ 4
|
@ -6,7 +6,7 @@ vcpkg_from_sourceforge(
|
|||||||
PATCHES
|
PATCHES
|
||||||
001_initialize-resampler.patch
|
001_initialize-resampler.patch
|
||||||
002_disable_warning.patch
|
002_disable_warning.patch
|
||||||
003_detect_arm_on_windows.patch
|
003_detect_arm.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_check_features(
|
vcpkg_check_features(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "soxr",
|
"name": "soxr",
|
||||||
"version": "0.1.3",
|
"version": "0.1.3",
|
||||||
"port-version": 6,
|
"port-version": 7,
|
||||||
"description": "High quality audio resampling",
|
"description": "High quality audio resampling",
|
||||||
"homepage": "https://sourceforge.net/projects/soxr/",
|
"homepage": "https://sourceforge.net/projects/soxr/",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -6706,7 +6706,7 @@
|
|||||||
},
|
},
|
||||||
"soxr": {
|
"soxr": {
|
||||||
"baseline": "0.1.3",
|
"baseline": "0.1.3",
|
||||||
"port-version": 6
|
"port-version": 7
|
||||||
},
|
},
|
||||||
"spaceland": {
|
"spaceland": {
|
||||||
"baseline": "7.8.2",
|
"baseline": "7.8.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "9eaa72e750312e0bacbd2a02e1a16fcc680489dd",
|
||||||
|
"version": "0.1.3",
|
||||||
|
"port-version": 7
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "fca92eeca8f38c1662193dd443e401c5fe7fbfc7",
|
"git-tree": "fca92eeca8f38c1662193dd443e401c5fe7fbfc7",
|
||||||
"version": "0.1.3",
|
"version": "0.1.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user