aboutsummaryrefslogtreecommitdiff
blob: e4792c997acbcbd28f702e4de9bb2480661cb77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="C++ parallel agorithms library"
HOMEPAGE="https://github.com/NVIDIA/thrust"
SRC_URI="https://github.com/NVIDIA/thrust/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

src_configure() {
	local mycmakeargs=(
		-DTHRUST_ENABLE_HEADER_TESTING=OFF
		-DTHRUST_ENABLE_TESTING=OFF
		-DTHRUST_ENABLE_EXAMPLES=OFF
		-DTHRUST_INCLUDE_CUB_CMAKE=OFF
	)
	cmake_src_configure
}