summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-07-15 22:31:24 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-07-15 22:31:44 +0200
commit04da893b8b5d020662172fdfa82cb3102789f3f1 (patch)
tree5494b8f1cb26e8ac0c619fb5b7b5d883560872a6 /dev-libs/intel-metrics-library
parentdev-libs/level-zero: add 1.13.1 (diff)
downloadgentoo-04da893b8b5d020662172fdfa82cb3102789f3f1.tar.gz
gentoo-04da893b8b5d020662172fdfa82cb3102789f3f1.tar.bz2
gentoo-04da893b8b5d020662172fdfa82cb3102789f3f1.zip
dev-libs/intel-metrics-library: add 1.0.133
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/intel-metrics-library')
-rw-r--r--dev-libs/intel-metrics-library/Manifest1
-rw-r--r--dev-libs/intel-metrics-library/intel-metrics-library-1.0.133.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/intel-metrics-library/Manifest b/dev-libs/intel-metrics-library/Manifest
index 548400db30cf..f37296cca38d 100644
--- a/dev-libs/intel-metrics-library/Manifest
+++ b/dev-libs/intel-metrics-library/Manifest
@@ -1 +1,2 @@
DIST intel-metrics-library-0_pre20230417.tar.gz 248881 BLAKE2B 83b3fb48fcb01668bda98c3a5fff1829d89686dd2731163f24a43614ac6b21c2f618be9d2f80115e2ceeffc4df0880e2dfea72a9255d3430f60a88ecd66a8893 SHA512 1b5878528e2146c9811b43b74ddb94f14b1127dc0e6231cc4ff0993d528c8ccea4d9ba52a8e50b409eb9f0e9776cbe04df7c0d1e94a8cf7020b97b822b430c13
+DIST metrics-library-1.0.133.tar.gz 248109 BLAKE2B c7d4444710e0f55bb930497891822f11ffb90ed115a9b7f8eac6128c2914b59a0628173f0b8d644418793a82bd5ae87753eaaf9efb0363a18717c811505c3fa6 SHA512 7b16cad2ddae7e9a2c38e408df378e0263e30e04365cec0554a8351b47455b63308564f65c37b8504f4f1bbd50ebd18e4e81470a010076c6f1805f4908389b25
diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.133.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.133.ebuild
new file mode 100644
index 000000000000..da9c0440f61e
--- /dev/null
+++ b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.133.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+MY_PN="${PN/intel-/}"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake
+
+DESCRIPTION="User mode driver helper library that provides access to GPU performance counters"
+HOMEPAGE="https://github.com/intel/metrics-library"
+SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${MY_P}"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+DEPEND="x11-libs/libdrm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -e '/-Werror/d' -i CMakeLists.txt || die
+ cmake_src_prepare
+}