* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2021-04-23 16:46 David Seifert
0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2021-04-23 16:46 UTC (permalink / raw
To: gentoo-commits
commit: 395eb9c6329ad0d2790d190b0441928563b116ad
Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
AuthorDate: Fri Apr 23 16:46:36 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 16:46:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395eb9c6
sci-libs/kissfft: new fft library
* new dependency of vtk
Closes: https://github.com/gentoo/gentoo/pull/20513
Closes: https://bugs.gentoo.org/754690
Bug: https://bugs.gentoo.org/754684
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/kissfft/Manifest | 1 +
sci-libs/kissfft/kissfft-131.1.0.ebuild | 54 +++++++++++++++++++++++++++++++++
sci-libs/kissfft/kissfft-9999.ebuild | 54 +++++++++++++++++++++++++++++++++
sci-libs/kissfft/metadata.xml | 16 ++++++++++
4 files changed, 125 insertions(+)
diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest
new file mode 100644
index 00000000000..12e96cdb00e
--- /dev/null
+++ b/sci-libs/kissfft/Manifest
@@ -0,0 +1 @@
+DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B 74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df SHA512 bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
new file mode 100644
index 00000000000..ad2bc1ff31a
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse openmp test tools"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
new file mode 100644
index 00000000000..ad2bc1ff31a
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse openmp test tools"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml
new file mode 100644
index 00000000000..1dd34da24f4
--- /dev/null
+++ b/sci-libs/kissfft/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <use>
+ <flag name="alloca">Use alloca(3) instead of malloc(3) for memory management</flag>
+ <flag name="tools">Build command line tools</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2021-05-15 19:33 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-05-15 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 352cc4248b47db1d7b72d2e653612b71566940c0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 15 19:32:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 15 19:32:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352cc424
sci-libs/kissfft: Keyword 131.1.0 arm, #787380
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index ad2bc1ff31a..6a30a96033a 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2021-05-15 19:33 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-05-15 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 1c0ffc309f55b5d8076c6df85712d59f05535963
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 15 19:33:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 15 19:33:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0ffc30
sci-libs/kissfft: Keyword 131.1.0 arm64, #787380
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 6a30a96033a..d85c68aee2c 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2021-05-17 22:25 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-05-17 22:25 UTC (permalink / raw
To: gentoo-commits
commit: ba2eb87c865d17a690ed0db9dacdb957a5b3f2c4
Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
AuthorDate: Mon May 17 22:23:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 17 22:25:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2eb87c
sci-libs/kissfft: fix tests
Closes: https://bugs.gentoo.org/790302
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/20857
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
sci-libs/kissfft/kissfft-9999.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index d85c68aee2c..71928527528 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -43,7 +43,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index ad2bc1ff31a..71928527528 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="BSD"
@@ -43,7 +43,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2022-05-16 8:12 David Seifert
0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2022-05-16 8:12 UTC (permalink / raw
To: gentoo-commits
commit: 4fd9cba02c85e6a99cadae42dcef198ac14dcc84
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:19 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd9cba0
sci-libs/kissfft: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 6 +++++-
sci-libs/kissfft/kissfft-9999.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 719285275283..bc06fee4c8e0 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -36,6 +36,10 @@ python_check_deps() {
has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index 719285275283..bc06fee4c8e0 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -36,6 +36,10 @@ python_check_deps() {
has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2022-05-19 12:12 Joonas Niilola
0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2022-05-19 12:12 UTC (permalink / raw
To: gentoo-commits
commit: 3d8b98664e9f771d493c7ac52f63dc27b7a57a53
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 12:10:52 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu May 19 12:10:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8b9866
sci-libs/kissfft: Stabilize 131.1.0 amd64, #829841
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index bc06fee4c8e0..76993eb680fd 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2022-10-05 14:31 Andrew Ammerlaan
0 siblings, 0 replies; 15+ messages in thread
From: Andrew Ammerlaan @ 2022-10-05 14:31 UTC (permalink / raw
To: gentoo-commits
commit: 0be531f69a84588ff8712fb80bee2654a6061654
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 5 14:30:00 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Oct 5 14:31:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be531f6
sci-libs/kissfft: enable py3.10, py3.11 and disable py3.7
Closes: https://bugs.gentoo.org/846266
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4 ++--
sci-libs/kissfft/kissfft-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 76993eb680fd..900a50486450 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit cmake python-any-r1 toolchain-funcs
@@ -33,7 +33,7 @@ DEPEND="
"
python_check_deps() {
- has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
pkg_pretend() {
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index bc06fee4c8e0..814cce24e11a 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit cmake python-any-r1 toolchain-funcs
@@ -33,7 +33,7 @@ DEPEND="
"
python_check_deps() {
- has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
pkg_pretend() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2023-12-24 16:43 James Le Cuirot
0 siblings, 0 replies; 15+ messages in thread
From: James Le Cuirot @ 2023-12-24 16:43 UTC (permalink / raw
To: gentoo-commits
commit: a864e26922f45315b1d723fed369142711d8e62c
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 16:42:35 2023 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 16:42:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a864e269
sci-libs/kissfft: Fix cross-compiling with patch
Submitted upstream but sadly upstream looks a bit dead.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4 ++++
sci-libs/kissfft/kissfft-9999.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 8cd5a54a6850..a06cd743a6c7 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index 9bd7014dd1fb..238fe43ab8ee 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-01-23 22:59 Jakov Smolić
0 siblings, 0 replies; 15+ messages in thread
From: Jakov Smolić @ 2024-01-23 22:59 UTC (permalink / raw
To: gentoo-commits
commit: 1b97a23a2cd56c9855a76dd19fbca5b1808db774
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 22:59:19 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 22:59:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b97a23a
sci-libs/kissfft: Keyword 131.1.0 riscv, #922617
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index a06cd743a6c7..453b134283b6 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-02-22 12:12 Yixun Lan
0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2024-02-22 12:12 UTC (permalink / raw
To: gentoo-commits
commit: 65862dd39aea472318251fa34b83ac67a006ddf9
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 1 10:43:20 2024 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 12:11:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65862dd3
sci-libs/kissfft: add github upstream metadata
Closes: https://github.com/gentoo/gentoo/pull/35132
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
sci-libs/kissfft/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml
index 06198343b639..9cc777a3ea9c 100644
--- a/sci-libs/kissfft/metadata.xml
+++ b/sci-libs/kissfft/metadata.xml
@@ -9,4 +9,7 @@
<flag name="alloca">Use alloca(3) instead of malloc(3) for memory management</flag>
<flag name="tools">Build command line tools</flag>
</use>
+ <upstream>
+ <remote-id type="github">mborgerding/kissfft</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-08-29 19:42 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-08-29 19:42 UTC (permalink / raw
To: gentoo-commits
commit: a72c4ac6944d4c12d8bd81240644679a5f63f0d0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 19:40:19 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 19:40:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72c4ac6
sci-libs/kissfft: Stabilize 131.1.0-r1 arm64, #938697
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index 14e039c7eec1..ddf795e20e8c 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-08-30 2:30 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-08-30 2:30 UTC (permalink / raw
To: gentoo-commits
commit: 438a45b7ab3affb9aa93ddbe6b85661b51ed4e32
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 02:30:14 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 02:30:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438a45b7
sci-libs/kissfft: Stabilize 131.1.0-r1 amd64, #938697
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index ddf795e20e8c..fea82f5057b3 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-08-30 2:30 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-08-30 2:30 UTC (permalink / raw
To: gentoo-commits
commit: a933ed6261bc2852e543e97fbdbaacd875c87d0f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 02:30:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 02:30:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a933ed62
sci-libs/kissfft: Stabilize 131.1.0-r1 x86, #938697
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index fea82f5057b3..b4a8adf61398 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv x86"
fi
LICENSE="BSD"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-08-30 13:11 Andreas Sturmlechner
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Sturmlechner @ 2024-08-30 13:11 UTC (permalink / raw
To: gentoo-commits
commit: cfaf5bc8606de38042eefb54ab8ad8d98db474cb
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 19:47:18 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 13:11:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaf5bc8
sci-libs/kissfft: drop 131.1.0
Bug: https://bugs.gentoo.org/938697
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 62 ---------------------------------
1 file changed, 62 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild
deleted file mode 100644
index 9fb779d33ddd..000000000000
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-any-r1 toolchain-funcs
-
-DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
-HOMEPAGE="https://github.com/mborgerding/kissfft"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/mborgerding/kissfft"
- inherit git-r3
-else
- SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- sci-libs/fftw:3.0
- $(python_gen_any_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-131.1.0-cross.patch
-)
-
-python_check_deps() {
- python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
-}
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
- local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp 1 0)
- -DKISSFFT_TEST=$(usex test)
- -DKISSFFT_TOOLS=$(usex tools)
- -DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
- )
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
@ 2024-10-20 12:00 Andrew Ammerlaan
0 siblings, 0 replies; 15+ messages in thread
From: Andrew Ammerlaan @ 2024-10-20 12:00 UTC (permalink / raw
To: gentoo-commits
commit: dfb63cf60c75563bf69670cd168a16d2d4d8324c
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sat Oct 19 16:06:31 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 11:57:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb63cf6
sci-libs/kissfft: allow parallel installation of multiple datatypes
KissFFT can be built for five different primary datatypes: float,
double, int16_t, int32_t, and SIMD. Currently, we build the float
datatype by default and instead use SIMD if cpu_flags_x86_sse is
enabled. This can lead to awkwardness in programs that expect KissFFT to
be built with a specific data type, such as media-sound/TauonMusicBox in
GURU, which currently is forced to depend on
sci-libs/kissfft[-cpu_flags_x86_sse], which forces a rather irritating
package.use entry for anyone on an amd64 CPU who has set
CPU_FLAGS_X86 accordingly. Instead, always build the float datatype, and
additionally build the SIMD datatype based on cpu_flags_x86_sse. Also
add USE flags to enable the building of the double, int16_t, and int32_t
variants, which may enable more unbundling of KissFFT from other
packages.
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/39045
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
...ssfft-9999.ebuild => kissfft-131.1.0-r2.ebuild} | 28 ++++++++++++++++++----
sci-libs/kissfft/kissfft-9999.ebuild | 28 ++++++++++++++++++----
sci-libs/kissfft/metadata.xml | 3 +++
3 files changed, 51 insertions(+), 8 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
similarity index 71%
copy from sci-libs/kissfft/kissfft-9999.ebuild
copy to sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index 14e039c7eec1..8d8b1bb59f38 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake python-any-r1 toolchain-funcs
+inherit cmake multibuild python-any-r1 toolchain-funcs
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft"
@@ -20,7 +20,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
RESTRICT="!test? ( test )"
DEPEND="
@@ -46,18 +46,38 @@ pkg_pretend() {
}
pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_configure() {
+kissfft_configure() {
local mycmakeargs=(
-DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT}
)
cmake_src_configure
}
+
+src_configure() {
+ multibuild_foreach_variant kissfft_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}
diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild
index 14e039c7eec1..8d8b1bb59f38 100644
--- a/sci-libs/kissfft/kissfft-9999.ebuild
+++ b/sci-libs/kissfft/kissfft-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake python-any-r1 toolchain-funcs
+inherit cmake multibuild python-any-r1 toolchain-funcs
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft"
@@ -20,7 +20,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
RESTRICT="!test? ( test )"
DEPEND="
@@ -46,18 +46,38 @@ pkg_pretend() {
}
pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_configure() {
+kissfft_configure() {
local mycmakeargs=(
-DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT}
)
cmake_src_configure
}
+
+src_configure() {
+ multibuild_foreach_variant kissfft_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}
diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml
index 9cc777a3ea9c..5ffd94eab047 100644
--- a/sci-libs/kissfft/metadata.xml
+++ b/sci-libs/kissfft/metadata.xml
@@ -7,6 +7,9 @@
</maintainer>
<use>
<flag name="alloca">Use alloca(3) instead of malloc(3) for memory management</flag>
+ <flag name="double">Build library for primary data type of double</flag>
+ <flag name="int16">Build library for primary data type of int16_t</flag>
+ <flag name="int32">Build library for primary data type of int32_t</flag>
<flag name="tools">Build command line tools</flag>
</use>
<upstream>
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2024-10-20 12:00 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-15 19:33 [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-10-20 12:00 Andrew Ammerlaan
2024-08-30 13:11 Andreas Sturmlechner
2024-08-30 2:30 Sam James
2024-08-30 2:30 Sam James
2024-08-29 19:42 Sam James
2024-02-22 12:12 Yixun Lan
2024-01-23 22:59 Jakov Smolić
2023-12-24 16:43 James Le Cuirot
2022-10-05 14:31 Andrew Ammerlaan
2022-05-19 12:12 Joonas Niilola
2022-05-16 8:12 David Seifert
2021-05-17 22:25 Sam James
2021-05-15 19:33 Sam James
2021-04-23 16:46 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox