Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

build: add fftw3 #2120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions FFTW3/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package:
id: fftw3
name: fftw3
version: 3.3.7
kind: lib
description: |
the FFTW library for computing Fourier transforms (version 3.x), maintained by the FFTW authors.

runtime:
id: org.deepin.Runtime
version: 23.0.0

depends:

source:
kind: git
url: https://github.com/FFTW/fftw3.git
commit: 34082eb5d6ed7dc9436915df69f376c06fc39762
patch: patches/0001-install.patch

build:
kind: cmake
25 changes: 25 additions & 0 deletions FFTW3/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 75f73a2d7071ca7fe5a543766512098d6f6d0ae8 Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Fri, 26 Apr 2024 14:08:32 +0800
Subject: [PATCH] install

---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index add12829..412d8242 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ if (POLICY CMP0042)
endif ()

option (BUILD_SHARED_LIBS "Build shared libraries" ON)
-option (BUILD_TESTS "Build tests" ON)
+option (BUILD_TESTS "Build tests" OFF)

option (ENABLE_OPENMP "Use OpenMP for multithreading" OFF)
option (ENABLE_THREADS "Use pthread for multithreading" OFF)
--
2.33.1

Loading