{"id":20106936,"url":"https://github.com/egpbos/findfftw","last_synced_at":"2026-03-06T12:01:52.149Z","repository":{"id":39236816,"uuid":"109658690","full_name":"egpbos/findFFTW","owner":"egpbos","description":"CMake module for finding FFTW 3 using find_package","archived":false,"fork":false,"pushed_at":"2022-06-01T11:45:58.000Z","size":21,"stargazers_count":37,"open_issues_count":3,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-02T18:14:10.114Z","etag":null,"topics":["cmake","cmake-modules","fftw"],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egpbos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-06T06:56:00.000Z","updated_at":"2025-01-29T17:00:04.000Z","dependencies_parsed_at":"2022-08-09T13:11:00.882Z","dependency_job_id":null,"html_url":"https://github.com/egpbos/findFFTW","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/egpbos/findFFTW","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egpbos%2FfindFFTW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egpbos%2FfindFFTW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egpbos%2FfindFFTW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egpbos%2FfindFFTW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egpbos","download_url":"https://codeload.github.com/egpbos/findFFTW/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egpbos%2FfindFFTW/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30175866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T11:48:51.886Z","status":"ssl_error","status_checked_at":"2026-03-06T11:48:51.460Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","cmake-modules","fftw"],"created_at":"2024-11-13T17:55:24.876Z","updated_at":"2026-03-06T12:01:52.124Z","avatar_url":"https://github.com/egpbos.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"CMake module for finding FFTW 3 using find_package\n\n# Usage\n\nOnce added to your project, this module allows you to find FFTW libraries and headers using the CMake `find_package` command:\n\n```cmake\nfind_package(FFTW [REQUIRED] [QUIET] [COMPONENTS component1 ... componentX] )\n```\n\nThis module sets the following variables:\n- `FFTW_FOUND`                  ... true if fftw is found on the system\n- `FFTW_[component]_LIB_FOUND`  ... true if the component is found on the system (see components below)\n- `FFTW_LIBRARIES`              ... full paths to all found fftw libraries\n- `FFTW_[component]_LIB`        ... full path to one of the components (see below)\n- `FFTW_INCLUDE_DIRS`           ... fftw include directory paths\n\nThe following variables will be checked by the module:\n- `FFTW_USE_STATIC_LIBS`        ... if true, only static libraries are found, otherwise both static and shared.\n- `FFTW_ROOT`                   ... if set, the libraries are exclusively searched under this path.\n\nThis package supports the following components:\n- `FLOAT_LIB`\n- `DOUBLE_LIB`\n- `LONGDOUBLE_LIB`\n- `FLOAT_THREADS_LIB`\n- `DOUBLE_THREADS_LIB`\n- `LONGDOUBLE_THREADS_LIB`\n- `FLOAT_OPENMP_LIB`\n- `DOUBLE_OPENMP_LIB`\n- `LONGDOUBLE_OPENMP_LIB`\n- `FLOAT_MPI_LIB`\n- `DOUBLE_MPI_LIB`\n- `LONGDOUBLE_MPI_LIB`\n\nand the following linking targets\n\n- `FFTW::Float`\n- `FFTW::Double`\n- `FFTW::LongDouble`\n- `FFTW::FloatThreads`\n- `FFTW::DoubleThreads`\n- `FFTW::LongDoubleThreads`\n- `FFTW::FloatOpenMP`\n- `FFTW::DoubleOpenMP`\n- `FFTW::LongDoubleOpenMP`\n- `FFTW::FloatMPI`\n- `FFTW::DoubleMPI`\n- `FFTW::LongDoubleMPI`\n\n# Adding to your project\n\n## Automatic download from CMake project\n\nCopy the following into the `CMakeLists.txt` file of the project you want to use FindFFTW in:\n```cmake\nconfigure_file(downloadFindFFTW.cmake.in findFFTW-download/CMakeLists.txt)\nexecute_process(COMMAND ${CMAKE_COMMAND} -G \"${CMAKE_GENERATOR}\" .\n        RESULT_VARIABLE result\n        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/findFFTW-download )\nif(result)\n    message(FATAL_ERROR \"CMake step for findFFTW failed: ${result}\")\n    else()\n    message(\"CMake step for findFFTW completed (${result}).\")\nendif()\nexecute_process(COMMAND ${CMAKE_COMMAND} --build .\n        RESULT_VARIABLE result\n        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/findFFTW-download )\nif(result)\n    message(FATAL_ERROR \"Build step for findFFTW failed: ${result}\")\nendif()\n\nset(findFFTW_DIR ${CMAKE_CURRENT_BINARY_DIR}/findFFTW-src)\n\nset(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} \"${findFFTW_DIR}\")\n```\n\nAnd add a file called `downloadFindFFTW.cmake.in` to your project containing the following:\n```cmake\ncmake_minimum_required(VERSION 2.8.2)\n\nproject(findFFTW-download NONE)\n\ninclude(ExternalProject)\n\nExternalProject_Add(findFFTW_download\n    GIT_REPOSITORY    \"https://github.com/egpbos/findfftw.git\"\n    CONFIGURE_COMMAND \"\"\n    BUILD_COMMAND     \"\"\n    INSTALL_COMMAND   \"\"\n    TEST_COMMAND      \"\"\n    SOURCE_DIR        \"${CMAKE_CURRENT_BINARY_DIR}/findFFTW-src\"\n    BINARY_DIR        \"\"\n    INSTALL_DIR       \"\"\n)\n```\n\nAfter this, `find_package(FFTW)` can be used in the `CMakeLists.txt` file.\n\n## Manual\n\nClone the repository into directory `PREFIX/findFFTW`:\n```sh\ngit clone https://github.com/egpbos/findfftw.git PREFIX/findFFTW\n```\n\nThen add the following to your `CMakeLists.txt` to allow CMake to find the module:\n```cmake\nset(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} \"PREFIX/findFFTW\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegpbos%2Ffindfftw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegpbos%2Ffindfftw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegpbos%2Ffindfftw/lists"}