summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-11-01 17:35:14 +0100
committerGitHub <noreply@github.com>2021-11-01 17:35:14 +0100
commit02aa1d5d48f70e12b0423a595583c710b88456c3 (patch)
tree134814d48e740b6215596f8bc109cd3c2de8074e /var
parent8ca411c7490c3252835d557fad412e97c5a4af11 (diff)
downloadspack-02aa1d5d48f70e12b0423a595583c710b88456c3.tar.gz
spack-02aa1d5d48f70e12b0423a595583c710b88456c3.tar.bz2
spack-02aa1d5d48f70e12b0423a595583c710b88456c3.tar.xz
spack-02aa1d5d48f70e12b0423a595583c710b88456c3.zip
intel-gpu-tools: add v1.20 (#26588)
Add version 1.20, fix including the glib-2.0 header files and add missing dependencies: libunwind and kmod.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/intel-gpu-tools/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
index 85e852e5b3..0e452f4978 100644
--- a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
+++ b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
@@ -21,10 +21,13 @@ class IntelGpuTools(AutotoolsPackage, XorgPackage):
homepage = "https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/"
xorg_mirror_path = "app/intel-gpu-tools-1.16.tar.gz"
+ version('1.20', sha256='c6ee992301e43ec14ef810ef532e2601ecf7399315f942207ae0dd568fd9c2b7')
version('1.16', sha256='4874e6e7704c8d315deaf5b44cc9467ea5e502c7f816470a4a28827fcb34643f')
depends_on('libdrm@2.4.64:')
depends_on('libpciaccess@0.10:', when=(sys.platform != 'darwin'))
+ depends_on('libunwind')
+ depends_on('kmod')
depends_on('cairo@1.12.0:')
depends_on('glib')
@@ -34,10 +37,13 @@ class IntelGpuTools(AutotoolsPackage, XorgPackage):
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
+ def configure_args(self):
+ glib_include = join_path(self.spec['glib'].prefix.include, 'glib-2.0')
+ return ['CPPFLAGS=-I{0}'.format(glib_include)]
+
# xrandr ?
# gtk-doc-tools
- # libunwind-dev
# python-docutils
# x11proto-dri2-dev
# xutils-dev