diff options
| author | Sam James <sam@gentoo.org> | 2025-05-29 13:33:49 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-29 13:33:49 +0100 |
| commit | a6abe55e28bd76fc58b79fac5f6f843ef10d3f8a (patch) | |
| tree | 26600a3a78698e8c1acbdf9adb9e9defe2449449 /dev-cpp/taskflow/taskflow-3.10.0.ebuild | |
| parent | 63f8947e8f7dcdbef199aca7794000da12dd17ba (diff) | |
| download | gentoo-a6abe55e28bd76fc58b79fac5f6f843ef10d3f8a.tar.gz gentoo-a6abe55e28bd76fc58b79fac5f6f843ef10d3f8a.tar.bz2 gentoo-a6abe55e28bd76fc58b79fac5f6f843ef10d3f8a.zip | |
dev-cpp/taskflow: add 3.10.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/taskflow/taskflow-3.10.0.ebuild')
| -rw-r--r-- | dev-cpp/taskflow/taskflow-3.10.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-cpp/taskflow/taskflow-3.10.0.ebuild b/dev-cpp/taskflow/taskflow-3.10.0.ebuild new file mode 100644 index 000000000000..2006c5eb2fa0 --- /dev/null +++ b/dev-cpp/taskflow/taskflow-3.10.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Modern C++ Parallel Task Programming" +HOMEPAGE="https://taskflow.github.io" +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/taskflow/${PN}.git" + inherit git-r3 + S="${WORKDIR}/taskflow-${PV}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/taskflow-${PV}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/doctest )" + +HTML_DOCS=( docs/. ) + +PATCHES=( +) + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + # TODO: enable CUDA via USE flag + local mycmakeargs=( + -DTF_BUILD_CUDA=OFF + -DTF_BUILD_EXAMPLES=$(usex examples) + -DTF_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} |
