mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 17:02:48 +08:00
[pffft] fix supports (#25403)
* fix supports * fix invalid command * update patch
This commit is contained in:
parent
23f346e780
commit
ca0f810f4f
17
ports/pffft/fix-invalid-command.patch
Normal file
17
ports/pffft/fix-invalid-command.patch
Normal 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
|
@ -6,6 +6,8 @@ vcpkg_from_bitbucket(
|
|||||||
REF ed78751d751e51bbd94c41d24f748b400f272d69
|
REF ed78751d751e51bbd94c41d24f748b400f272d69
|
||||||
SHA512 44f65c7f7e5b71f549dca2e03d58b1fd64e698858f79e4c2833a9ae3dff8a835cf9d5e14be2341c6370f800012cb69b05b9226d6918b12e67f7f7e81ed8e9ad4
|
SHA512 44f65c7f7e5b71f549dca2e03d58b1fd64e698858f79e4c2833a9ae3dff8a835cf9d5e14be2341c6370f800012cb69b05b9226d6918b12e67f7f7e81ed8e9ad4
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES
|
||||||
|
fix-invalid-command.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "pffft",
|
"name": "pffft",
|
||||||
"version-date": "2021-10-09",
|
"version-date": "2021-10-09",
|
||||||
|
"port-version": 1,
|
||||||
"description": "PFFFT, a pretty fast Fourier Transform.",
|
"description": "PFFFT, a pretty fast Fourier Transform.",
|
||||||
"homepage": "https://bitbucket.org/jpommier/pffft/",
|
"homepage": "https://bitbucket.org/jpommier/pffft/",
|
||||||
"supports": "static",
|
"license": null,
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
{
|
{
|
||||||
"name": "vcpkg-cmake",
|
"name": "vcpkg-cmake",
|
||||||
|
@ -5426,7 +5426,7 @@
|
|||||||
},
|
},
|
||||||
"pffft": {
|
"pffft": {
|
||||||
"baseline": "2021-10-09",
|
"baseline": "2021-10-09",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"pfring": {
|
"pfring": {
|
||||||
"baseline": "2019-10-17",
|
"baseline": "2019-10-17",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "525bc1ec4fd9aa77feeaba44fc6f0cf717716ae1",
|
||||||
|
"version-date": "2021-10-09",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "c425b1091069b34450a9b7e524f1cad202e4e709",
|
"git-tree": "c425b1091069b34450a9b7e524f1cad202e4e709",
|
||||||
"version-date": "2021-10-09",
|
"version-date": "2021-10-09",
|
||||||
|
Loading…
Reference in New Issue
Block a user