summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2019-08-28 12:24:50 +0200
committerLaurent Bachelier <laurent@bachelier.name>2019-08-28 12:24:50 +0200
commit363b7e6ea807e238b9bcfffd39e1fe9ce30cba76 (patch)
treedbd7f3f4a4a5fa1213ceb492ebf8dde49a92c8ca
parentAdjust various USE flags for new software and their kernel options (diff)
downloadpublic-dotfiles-363b7e6ea807e238b9bcfffd39e1fe9ce30cba76.tar.xz
Add vulkan and opencl where possible
-rw-r--r--gentoo/portage/make_conf/arch.p.py3
-rw-r--r--gentoo/portage/package.use/_x864
2 files changed, 7 insertions, 0 deletions
diff --git a/gentoo/portage/make_conf/arch.p.py b/gentoo/portage/make_conf/arch.p.py
index 46edada..7f57cdb 100644
--- a/gentoo/portage/make_conf/arch.p.py
+++ b/gentoo/portage/make_conf/arch.p.py
@@ -70,11 +70,14 @@ if ': i915' in lspci or ': i965' in lspci:
cards.append('intel')
cards.append('i915')
cards.append('i965')
+ use_cards.append('vulkan')
if ': radeon' in lspci:
cards.append('radeon')
cards.append('radeonsi')
cards.append('amdgpu')
llvm.append('AMDGPU')
+ use_cards.append('opencl')
+ use_cards.append('vulkan')
if ': nouveau' in lspci:
cards.append('nouveau')
diff --git a/gentoo/portage/package.use/_x86 b/gentoo/portage/package.use/_x86
index 0b1627c..0c2a005 100644
--- a/gentoo/portage/package.use/_x86
+++ b/gentoo/portage/package.use/_x86
@@ -240,3 +240,7 @@ media-libs/lv2 abi_x86_32
dev-libs/sord abi_x86_32
media-libs/sratom abi_x86_32
media-libs/lilv abi_x86_32
+virtual/opencl abi_x86_32
+dev-libs/ocl-icd abi_x86_32
+media-libs/vulkan-loader abi_x86_32
+sys-devel/clang abi_x86_32