diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /dev-libs/level-zero | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'dev-libs/level-zero')
-rw-r--r-- | dev-libs/level-zero/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-0.91.10.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/level-zero/metadata.xml | 12 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest new file mode 100644 index 000000000000..658116c76b4c --- /dev/null +++ b/dev-libs/level-zero/Manifest @@ -0,0 +1,3 @@ +DIST level-zero-0.91.10.tar.gz 291352 BLAKE2B eaec1aa89b529b84d312f21c91e03c9ae2911193ad25a3884b677108bd3cf18d70b56174f515ac6ec2d61de0a80bb70bdf98834e4f932729e5809855ba42d087 SHA512 d98caa0ec135dc111ba8d34c2102f704e384cf6f6eb8ff147642cb1ce1de2fc96804e4f35e68df41a7e5404ba3702e87ec29f2334b19d39752351af5f5c999cc +EBUILD level-zero-0.91.10.ebuild 884 BLAKE2B a8ab92c96765be2b7515ff63fa3c1e185ee7ee4a317cda770794caf520fcd33fa77e7becc577f58e7bac040bb5d6215f84672ab5550079ed3013fdc50a4d9d7c SHA512 44ce70eb8c71b9f462f376017d186d1c066d90c780f8200793866ee7ad501797add2d7c3bc97d1329bda39811a266660f556e6177d87524a04432f51e5133a5d +MISC metadata.xml 332 BLAKE2B fc1fda0254b44ee3a749ffca43baf6317073bbe9c992f520ebf8a7f2556c8380bad425644f0737d2db4e91316da39cef1e32e5e6ba56d9844cfaa0ca5b8236db SHA512 af6011c8ada6ad21e7e7b8b7f2aab8607ce3b2eb2284848e8168be35416b9f1be516b3b0980a1b6c57d8c8aaa86b31bc45375cc5b2778f1c509df3450c63a43a diff --git a/dev-libs/level-zero/level-zero-0.91.10.ebuild b/dev-libs/level-zero/level-zero-0.91.10.ebuild new file mode 100644 index 000000000000..99ac29609fcd --- /dev/null +++ b/dev-libs/level-zero/level-zero-0.91.10.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" +HOMEPAGE="https://github.com/oneapi-src/level-zero" +SRC_URI="https://github.com/oneapi-src/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-util/opencl-headers" + +RESTRICT="!test? ( test )" + +src_prepare() { + cmake_src_prepare + # According to upstream, release tarballs should contain this file + # - but at least some of them do not. Fortunately it is trivial + # to make one ourselves. + echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die "Failed to seed the version file" +} + +src_configure() { + local mycmakeargs=( + -Dlevel-zero_BUILD_TESTS=$(usex test) + -DOpenCL_INCLUDE_DIR="${EPREFIX}/usr/include" + ) + cmake_src_configure +} diff --git a/dev-libs/level-zero/metadata.xml b/dev-libs/level-zero/metadata.xml new file mode 100644 index 000000000000..9ca0b21dc7a7 --- /dev/null +++ b/dev-libs/level-zero/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <upstream> + <remote-id type="github">oneapi-src/level-zero</remote-id> + </upstream> +</pkgmetadata> + |