[pffft] fix supports (#25403)

* fix supports

* fix invalid command

* update patch
This commit is contained in:
Mengna Li 2022-06-25 06:00:50 +08:00 committed by GitHub
parent 23f346e780
commit ca0f810f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,17 @@
diff --git a/pffft.c b/pffft.c
index d12f572..7cc0546 100644
--- a/pffft.c
+++ b/pffft.c
@@ -173,7 +173,11 @@ typedef float32x4_t v4sf;
# define VALIGNED(ptr) ((((long long)(ptr)) & 0x3) == 0)
#else
# if !defined(PFFFT_SIMD_DISABLE)
-# warning "building with simd disabled !\n";
+# ifdef COMPILER_MSVC
+# pragma message ("building with simd disabled !\n");
+# else
+# warning "building with simd disabled !\n";
+# endif
# define PFFFT_SIMD_DISABLE // fallback to scalar code
# endif
#endif

View File

@ -6,6 +6,8 @@ vcpkg_from_bitbucket(
REF ed78751d751e51bbd94c41d24f748b400f272d69
SHA512 44f65c7f7e5b71f549dca2e03d58b1fd64e698858f79e4c2833a9ae3dff8a835cf9d5e14be2341c6370f800012cb69b05b9226d6918b12e67f7f7e81ed8e9ad4
HEAD_REF master
PATCHES
fix-invalid-command.patch
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

View File

@ -1,9 +1,10 @@
{
"name": "pffft",
"version-date": "2021-10-09",
"port-version": 1,
"description": "PFFFT, a pretty fast Fourier Transform.",
"homepage": "https://bitbucket.org/jpommier/pffft/",
"supports": "static",
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -5426,7 +5426,7 @@
},
"pffft": {
"baseline": "2021-10-09",
"port-version": 0
"port-version": 1
},
"pfring": {
"baseline": "2019-10-17",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "525bc1ec4fd9aa77feeaba44fc6f0cf717716ae1",
"version-date": "2021-10-09",
"port-version": 1
},
{
"git-tree": "c425b1091069b34450a9b7e524f1cad202e4e709",
"version-date": "2021-10-09",