summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Haag2017-12-22 23:06:29 +0100
committerChristoph Haag2017-12-22 23:08:33 +0100
commit34f2da1d85d82d4817207053860570576a82281c (patch)
treee050b1d820ae6a7d072c862744e6411304b96539
parentd0fb1478748c8d1aef8de99a00b35f53b8d57f24 (diff)
downloadaur-34f2da1d85d82d4817207053860570576a82281c.tar.gz
add required settings & first makedep
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD14
-rw-r--r--amdPalSettings.cfg1
3 files changed, 16 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 163c48f63b9..042428f2a4f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
# Generated by mksrcinfo v8
-# Fri Dec 22 13:02:03 UTC 2017
+# Fri Dec 22 22:08:30 UTC 2017
pkgbase = amdvlk-git
pkgdesc = AMD's standalone Vulkan driver
- pkgver = r6.a17a806
+ pkgver = r6.2820967
pkgrel = 1
url = https://github.com/GPUOpen-Drivers
arch = x86_64
license = MIT
+ makedepends = dri2proto
depends = vulkan-icd-loader
provides = vulkan-amdvlk
source = git+https://github.com/GPUOpen-Drivers/llvm.git
@@ -16,6 +17,7 @@ pkgbase = amdvlk-git
source = 0001-workaround-remove-invalid-constexpr-modifier.patch
source = 0001-fix-compile-error-on-clang.patch
source = 0001-remove-linking-with-whole-archive.patch
+ source = amdPalSettings.cfg
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
@@ -23,6 +25,7 @@ pkgbase = amdvlk-git
sha256sums = 784f2f61f8fbaab84a9015b7f9ade26ece43ccda20fd42b357fe911af5233a2b
sha256sums = 9d2399c3cfd424c5c0645892306f1794de61a8270f95683ea1785a78e0326c5c
sha256sums = 4669fda7c492ae6f655e9ad3bb2c4782753b49350a29af29883d43c02d627f46
+ sha256sums = 5f798911bf1cbbe5a83f5ae4886107ef0d02be5753450753ae2d3fc6f80e7012
pkgname = amdvlk-git
diff --git a/PKGBUILD b/PKGBUILD
index 86605ca7070..eab66e23ab1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=amdvlk-git
-pkgver=r6.a17a806
+pkgver=r6.2820967
pkgrel=1
pkgdesc="AMD's standalone Vulkan driver"
arch=(x86_64)
@@ -13,6 +13,7 @@ provides=(vulkan-amdvlk)
#conflicts=()
#TODO: makedepends=('libdrm' 'dri2proto' 'glproto' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libxmu'
# 'talloc' 'wayland' 'pkgconfig' 'imake' 'xorg-server-devel' 'python2-mako' 'python' 'git')
+makedepends=('dri2proto')
source=('git+https://github.com/GPUOpen-Drivers/llvm.git'
'git+https://github.com/GPUOpen-Drivers/xgl.git'
@@ -20,14 +21,16 @@ source=('git+https://github.com/GPUOpen-Drivers/llvm.git'
'git+https://github.com/GPUOpen-Drivers/AMDVLK.git'
'0001-workaround-remove-invalid-constexpr-modifier.patch'
'0001-fix-compile-error-on-clang.patch' # TODO: maybe not necessary on gcc
- '0001-remove-linking-with-whole-archive.patch')
+ '0001-remove-linking-with-whole-archive.patch'
+ 'amdPalSettings.cfg')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'784f2f61f8fbaab84a9015b7f9ade26ece43ccda20fd42b357fe911af5233a2b'
'9d2399c3cfd424c5c0645892306f1794de61a8270f95683ea1785a78e0326c5c'
- '4669fda7c492ae6f655e9ad3bb2c4782753b49350a29af29883d43c02d627f46')
+ '4669fda7c492ae6f655e9ad3bb2c4782753b49350a29af29883d43c02d627f46'
+ '5f798911bf1cbbe5a83f5ae4886107ef0d02be5753450753ae2d3fc6f80e7012')
pkgver() {
XGL_VER=$(cd xgl; printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
#PAL_VER=$(cd pal; printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
@@ -54,6 +57,7 @@ build() {
package() {
install -m755 -d "${pkgdir}"/etc/vulkan/icd.d
+ install -m755 -d "${pkgdir}"/etc/amd
install -m755 -d "${pkgdir}"/usr/lib
install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
@@ -65,5 +69,7 @@ echo '{
"abi_versions": "0.9.0"
}
}
-' >> "${pkgdir}"/etc/vulkan/icd.d/amd_icd64.json
+' >> "${pkgdir}"/etc/vulkan/icd.d/amd_icd64.json
+
+ install amdPalSettings.cfg "${pkgdir}"/etc/amd
}
diff --git a/amdPalSettings.cfg b/amdPalSettings.cfg
new file mode 100644
index 00000000000..5cf510a0817
--- /dev/null
+++ b/amdPalSettings.cfg
@@ -0,0 +1 @@
+MaxNumCmdStreamsPerSubmit,4