summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-03-27 03:19:19 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-03-28 00:21:05 +0200
commiteb24a2c5b95914a7b15c3333ff712cb46dc2b3d2 (patch)
treedcd25752501b41c13b38d1494ca49836b0c6db4b /dev-libs/intel-vc-intrinsics
parentdev-util/intel-graphics-compiler: add 1.0.10713 (diff)
downloadgentoo-eb24a2c5b95914a7b15c3333ff712cb46dc2b3d2.tar.gz
gentoo-eb24a2c5b95914a7b15c3333ff712cb46dc2b3d2.tar.bz2
gentoo-eb24a2c5b95914a7b15c3333ff712cb46dc2b3d2.zip
dev-libs/intel-vc-intrinsics: initial import
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/intel-vc-intrinsics')
-rw-r--r--dev-libs/intel-vc-intrinsics/Manifest1
-rw-r--r--dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.1.0.ebuild37
-rw-r--r--dev-libs/intel-vc-intrinsics/metadata.xml24
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/intel-vc-intrinsics/Manifest b/dev-libs/intel-vc-intrinsics/Manifest
new file mode 100644
index 000000000000..51d94a688c1c
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/Manifest
@@ -0,0 +1 @@
+DIST intel-vc-intrinsics-0.1.0.tar.gz 135780 BLAKE2B cb7c84c14a1fb9655e59ad559e24b3d1072f88390bc2b29ea614217049225dc371395849a7af81607a098a42228a249bdfa09fa72874eee4e20a78a0c4371087 SHA512 683c012900acfe331f29c4e88c0a0b0a4e5d84b146faed56757a70d5f9a94678a03c18bd46e269606761e0da4cad5b31f12cb50101d5f810044615971d2b5b9f
diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.1.0.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.1.0.ebuild
new file mode 100644
index 000000000000..365759d0b864
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+LLVM_MAX_SLOT="13"
+MY_PN="${PN/intel-/}"
+MY_P="${MY_PN}-${PV}"
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake llvm python-any-r1
+
+DESCRIPTION="A set of new intrinsics on top of core LLVM IR instructions"
+HOMEPAGE="https://github.com/intel/vc-intrinsics"
+SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-libs/libxml2:2=
+ sys-devel/llvm:${LLVM_MAX_SLOT}
+ sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLVM_DIR="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+ )
+
+ cmake_src_configure
+}
diff --git a/dev-libs/intel-vc-intrinsics/metadata.xml b/dev-libs/intel-vc-intrinsics/metadata.xml
new file mode 100644
index 000000000000..923708506038
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>gentoo@taujhe.de</email>
+ <name>Jan Henke</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ VC Intrinsics project contains a set of new intrinsics on
+ top of core LLVM IR instructions that represent SIMD semantics
+ of a program targeting GPU.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">intel/vc-intrinsics</remote-id>
+ </upstream>
+</pkgmetadata>