aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-10 16:19:30 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-10 16:19:30 +0100
commita4a5080edd63b80e21729d084234be9a1d3f5873 (patch)
tree5f5edf9a599536e6835bfb2135db7c8a0ac12c39 /sci-libs/arrayfire/arrayfire-9999.ebuild
parentFix arrayfire's metadata.xml (diff)
downloadsci-a4a5080edd63b80e21729d084234be9a1d3f5873.tar.gz
sci-a4a5080edd63b80e21729d084234be9a1d3f5873.tar.bz2
sci-a4a5080edd63b80e21729d084234be9a1d3f5873.zip
Drop userpriv; Add independent USE flag
Diffstat (limited to 'sci-libs/arrayfire/arrayfire-9999.ebuild')
-rw-r--r--sci-libs/arrayfire/arrayfire-9999.ebuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 0a241169a..b2d1099e9 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -13,7 +13,7 @@ KEYWORDS="~amd64"
LICENSE="ArrayFire"
SLOT="0"
-IUSE="+examples +cpu cuda test"
+IUSE="+examples +cpu cuda independent test"
RDEPEND="
>=sys-devel/gcc-4.7.3-r1
@@ -28,12 +28,6 @@ S="${WORKDIR}/${P}"
BUILD_DIR="${S}/build"
CMAKE_BUILD_TYPE=Release
-# We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage
-# user is (usually) not in the video group
-if use cuda; then
- RESTRICT="userpriv"
-fi
-
src_prepare() {
if use cpu; then
epatch "${FILESDIR}/FindCBLAS.patch"