Commit Graph
407 Commits
Author SHA1 Message Date
mborgerdingandGitHub 6398d8a1d0 Merge pull request #111 from HecaiYuan/master
loongarch: add loongarch simd opt
2026-05-11 20:03:41 -04:00
mborgerdingandGitHub 6e9e673e42 Merge pull request #128 from vulgraph/backport/CVE-2026-41445-master
Backport CVE-2026-41445: kiss_fftndr_alloc overflow check
2026-04-22 10:31:51 -04:00
Mark Borgerdingandvulgraph aea492e132 kiss_fftndr_alloc: check for overflow (and _perhaps_ let combined dims > INT_MAX)
(cherry picked from commit 8a8e66e33d)
2026-04-22 19:27:18 +08:00
Martin RysandMartin 1e56ac8166 ci: Bump actions, fetch depth 1, remove unneeded deps 2026-03-07 17:10:08 +01:00
niaandGitHub 39c9781711 Allow building on BSD/Solaris/etc with CMake (#64) 2025-11-28 20:58:39 +01:00
James Le CuirotandGitHub 1f5bbb1700 GNUInstallDirs is not supposed to be used conditionally (#91) 2025-11-28 20:41:52 +01:00
Martin RysandMartin 8e2620a597 Remove Python 2 mentions
Also fix up indents
2025-11-28 20:29:11 +01:00
Martin RysandMartin 45517b8a66 doit.c: Fix up indentation 2025-11-28 20:29:11 +01:00
Martin RysandMartin fe03ac54d6 ci: Add GitHub CI 2025-11-28 20:29:11 +01:00
Martin RysandMartin e47824731e Fix up README.md 2025-11-28 20:29:11 +01:00
Martin RysandMartin 3573584192 ci: Bump up versions and fix linting 2025-11-28 20:29:11 +01:00
dmoandGitHub 797c8ca9eb FIx python binary detection (#119) 2025-11-28 20:14:24 +01:00
Mark Borgerding 64fa219128 was unintentionally using abs(int) 2025-11-26 10:42:14 -05:00
Mark Borgerding 5899ee71c5 std::acosl was introduced in c++11, std::acos(long double) overload appears more robust 2025-11-26 10:41:21 -05:00
Mark Borgerding 1b08316582 check for overflow on 32 bit platform (closes #120) 2025-11-26 10:39:17 -05:00
Evan PorterandGitHub 7bce4153c6 README.md: Tweak wording (#100) 131.2.0 2025-09-12 07:55:11 +02:00
MartinandGitHub 6c56a03a6b tests/CMakeLists.txt: Fix CMP0148 (#108)
See `cmake --help-policy CMP0148`
2025-09-12 07:36:15 +02:00
Martin 6f8bc97c82 README.md: Correctly capitalize simd option 2025-09-12 07:17:48 +02:00
Martin 203dbd4eff Makefile: Do not fail creating pkgconfig directory if it already exists 2025-09-12 07:17:33 +02:00
c519408e76 kissfft-config.cmake: Bump minimum version to 3.10
---------

Co-authored-by: Martin <[email protected]>
2025-09-12 07:15:57 +02:00
MartinandGitHub b60dc8b9c7 CMakeLists.txt: Bump minimum version to 3.10 2025-09-12 07:13:27 +02:00
yuanhecai eeb2e98ff6 loongarch: add lasx simd opt 2025-09-01 18:07:43 +08:00
yuanhecai c94458d8f2 loongarch: add lsx simd opt 2025-09-01 18:07:39 +08:00
MartinandGitHub 3c1914bf10 CMakeLists.txt: Bump minimum version to 3.10 2025-07-31 20:41:14 +02:00
mborgerdingandGitHub 9feadb98a9 Merge pull request #96 from cmumford/m_pi
Use M_PI instead of M_PIl
2025-07-11 14:30:53 -04:00
Chris Mumford aff158e922 Create long double pi constant 2025-07-11 13:59:41 -04:00
mborgerdingandGitHub febd4caeed Merge pull request #99 from lanurmi/newline
Add newline to end of kiss_fft_log.h
2025-02-10 08:42:49 -05:00
Lauri Nurmi 26992ad1e4 Add newline to end of kiss_fft_log.h
Some C(++) standard versions require source files to end with
a newline. Some compiler versions may issue a warning about
a missing newline.
2025-02-10 15:12:08 +02:00
mborgerdingandGitHub 00cc50ebaa Merge pull request #98 from felixjogris/bsdmake
call $(MAKE) instead of make
2025-02-02 10:56:07 -05:00
Felix J. Ogris 1c3c9a5c94 call $(MAKE) instead of make 2025-02-01 18:19:23 +01:00
Chris Mumford d12c0e1206 Use M_PI instead of M_PIl
M_PIl is the double precision constant for pi (3.14...).
This is not defined in all toolchains, resulting in the
following build error:

```
test/testcpp.cc:46:35: error: use of undeclared identifier 'M_PIl'; did you mean 'P_PID'?
     46 |         long double phinc = 2*k0* M_PIl / nfft;
        |                                   ^~~~~
        |                                   P_PID
```

The double precision constants may be a GNU extension. See:
https://www.gnu.org/software/libc/manual/html_node/Mathematical-Constants.html_node

Switching the test to use the single precision M_PI avoids this
error. The test still passes as the added precision of the
double is not required.

This fixes #87.
2024-11-19 11:14:47 -05:00
mborgerdingandGitHub f5f2a3b2f2 Merge pull request #70 from razor7788/work
fixed test/Makefile line 137 missing ')'
2024-03-09 10:14:55 -05:00
razor_laptop 59c8cdfb08 fixed test/Makefile line 137 missing ')' 2021-10-18 00:43:05 +08:00
Mark Borgerding 8f47a67f59 removed kfc.h and kissfft_i32.hh from the install list since they are not as generally useful as the others 131.1.0 2021-02-09 20:29:17 -05:00
Mark Borgerding 0a4394045f no benefit to having both a README and README.md -- D.R.Y. 2021-02-06 10:55:44 -05:00
Vasyl Gello 478c35e653 Update documentation
Signed-off-by: Vasyl Gello <[email protected]>
2021-02-05 13:34:16 +02:00
Vasyl Gello 7c9a5586a9 testkiss.py: Do not depend on tools/fft_*
Fixes test run with -DKISSFFT_TOOLS=OFF

Signed-off-by: Vasyl Gello <[email protected]>
2021-02-05 13:34:16 +02:00
Vasyl Gello 7eeda21377 Add testsuite
Signed-off-by: Vasyl Gello <[email protected]>
2021-02-05 13:34:16 +02:00
Vasyl Gello cccf41adf2 Overhaul CMake makefiles
* Minimum CMake version lowered to 3.6 (tested on 3.6.1)
  * Refactored CMake configuration options

Signed-off-by: Vasyl Gello <[email protected]>
2021-02-05 13:34:16 +02:00
Vasyl Gello 2e2747c129 Overhaul Make makefiles
* Header files and correspondent C sources that define
    functions recently added to public API moved from
    'tools' directory to root

  * By default, install prefix is '/usr/local/', and header
    install path is '${PREFIX}/include/kissfft'

  * Added detection of external libraries like FFTW or libPNG

Signed-off-by: Vasyl Gello <[email protected]>
2021-02-05 13:34:16 +02:00
Mark Borgerding 7811f7d428 fixed switch-case fall-thru 2021-01-23 11:54:02 -05:00
Mark Borgerding e321f7a4d7 dropped -Waggregate-return from warning flags as it created spurious warnings for recent c++ compilation (found through cmake build on CentOS 8) 2021-01-23 11:53:53 -05:00
mborgerdingandGitHub d11f1a889c Merge pull request #57 from basilgello/debian-fixes
Modernize upstream package after inclusion to Debian
2021-01-21 20:00:15 -05:00
Vasyl Gello f88d5af578 Make kfc,fftnd,fftndr,fftr part of public API
Many programs explicitly use it, including those in Debian.
This was raised already in kissfft#39

Signed-off-by: Vasyl Gello <[email protected]>
2021-01-21 17:10:20 +02:00
Vasyl Gello c2e82a30e8 Build and install kissfft-tools
Signed-off-by: Vasyl Gello <[email protected]>
2021-01-21 17:08:33 +02:00
Vasyl Gello 7651bdaaa1 Increase CTest interval
* Fixes failing testcpp by timeout

Signed-off-by: Vasyl Gello <[email protected]>
2021-01-21 17:07:39 +02:00
mborgerdingandGitHub cc862cb0f2 Merge pull request #53 from madebr/makefile_AR_CC_variables
Use $(CC) and $(AR) in Makefile
2020-11-05 21:35:44 -05:00
mborgerdingandGitHub 15debe8ed3 Merge pull request #52 from madebr/cmake_install
Add cmake install + MSVC dll support
2020-11-05 21:34:50 -05:00
Anonymous Maarten 1487038a8a Use find_package COMPONENTS to select shared/static + datatype 2020-10-30 19:18:18 +01:00
Anonymous Maarten 2d5de8378c Print datatype while configuring cmake 2020-10-30 16:33:32 +01:00