opencl was failing unless certain depends were installed, added optdepends to clarify.

This commit is contained in:
Lone_Wolf 2020-04-10 22:46:10 +02:00
parent 6bfd09ff5b
commit c18e2a4175
2 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgbase = mesa-git pkgbase = mesa-git
pkgdesc = an open-source implementation of the OpenGL specification, git version pkgdesc = an open-source implementation of the OpenGL specification, git version
pkgver = 20.1.0_devel.121982.dbdd0149ed5 pkgver = 20.1.0_devel.122181.7aa6720ba4e
pkgrel = 1 pkgrel = 1
url = https://www.mesa3d.org url = https://www.mesa3d.org
arch = x86_64 arch = x86_64
@ -21,7 +21,8 @@ pkgbase = mesa-git
makedepends = wayland-protocols makedepends = wayland-protocols
makedepends = meson makedepends = meson
makedepends = ninja makedepends = ninja
makedepends = llvm-minimal-git makedepends = llvm=9.0.1
makedepends = clang=9.0.1
depends = libdrm depends = libdrm
depends = libxxf86vm depends = libxxf86vm
depends = libxdamage depends = libxdamage
@ -36,8 +37,10 @@ pkgbase = mesa-git
depends = glslang depends = glslang
depends = vulkan-icd-loader depends = vulkan-icd-loader
depends = zstd depends = zstd
depends = llvm-libs-minimal-git depends = llvm-libs=9.0.1
optdepends = opengl-man-pages: for the OpenGL API man pages optdepends = opengl-man-pages: for the OpenGL API man pages
optdepends = clang: opencl
optdepends = compiler-rt: opencl
provides = mesa provides = mesa
provides = opencl-mesa provides = opencl-mesa
provides = vulkan-intel provides = vulkan-intel

View File

@ -11,7 +11,7 @@
pkgname=mesa-git pkgname=mesa-git
pkgdesc="an open-source implementation of the OpenGL specification, git version" pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=20.1.0_devel.121982.dbdd0149ed5 pkgver=20.1.0_devel.122181.7aa6720ba4e
pkgrel=1 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('git' 'python-mako' 'xorgproto' makedepends=('git' 'python-mako' 'xorgproto'
@ -54,22 +54,26 @@ case $MESA_WHICH_LLVM in
# aur llvm-minimal-git # aur llvm-minimal-git
makedepends+=('llvm-minimal-git') makedepends+=('llvm-minimal-git')
depends+=('llvm-libs-minimal-git') depends+=('llvm-libs-minimal-git')
optdepends+=('llvm-minimal-git: opencl')
;; ;;
2) 2)
# aur llvm-git # aur llvm-git
# depending on aur-llvm-* to avoid mixup with LH llvm-git # depending on aur-llvm-* to avoid mixup with LH llvm-git
makedepends+=('aur-llvm-git') makedepends+=('aur-llvm-git')
depends+=('aur-llvm-libs-git') depends+=('aur-llvm-libs-git')
optdepends+=('llvm-git: opencl')
;; ;;
3) 3)
# mesa-git/llvm-git (lordheavy unofficial repo) # mesa-git/llvm-git (lordheavy unofficial repo)
makedepends+=('llvm-git' 'clang-git') makedepends+=('llvm-git' 'clang-git')
depends+=('llvm-libs-git') depends+=('llvm-libs-git')
optdepends+=('clang-git: opencl' 'compiler-rt: opencl')
;; ;;
4) 4)
# extra/llvm # extra/llvm
makedepends+=(llvm=9.0.1 clang=9.0.1) makedepends+=(llvm=9.0.1 clang=9.0.1)
depends+=(llvm-libs=9.0.1) depends+=(llvm-libs=9.0.1)
optdepends+=('clang: opencl' 'compiler-rt: opencl')
;; ;;
*) *)
esac esac