summaryrefslogtreecommitdiff
path: root/dev-libs/intel-vc-intrinsics
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/intel-vc-intrinsics')
-rw-r--r--dev-libs/intel-vc-intrinsics/Manifest3
-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, 64 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..b19c0c2f9e55
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/Manifest
@@ -0,0 +1,3 @@
+DIST intel-vc-intrinsics-0.1.0.tar.gz 135780 BLAKE2B cb7c84c14a1fb9655e59ad559e24b3d1072f88390bc2b29ea614217049225dc371395849a7af81607a098a42228a249bdfa09fa72874eee4e20a78a0c4371087 SHA512 683c012900acfe331f29c4e88c0a0b0a4e5d84b146faed56757a70d5f9a94678a03c18bd46e269606761e0da4cad5b31f12cb50101d5f810044615971d2b5b9f
+EBUILD intel-vc-intrinsics-0.1.0.ebuild 796 BLAKE2B 7aca53f0e4960198eea5c422fa1bc7c8fd55bf2ef66931f9e066b56a5757f9846db117df2c4694edf2452dd9a95b7db2ec5cdebadbda39c6249e0008fd300e4a SHA512 48767ec47155bd35ee1d9c3c4faa4ca18be7cb2364daa41312699aaccd7af949cd337e8e4dc22ccc3c0d2a530fc28a5f15014de38e597e37951ff985606c4497
+MISC metadata.xml 778 BLAKE2B 2e8e4d7f56f18f7e4eaa488cdab5d4578e779e8ac75fe96c3e7d5aeae5fc65291401d8ac54a0e89194c44a2146bca4cf9d321917bfab65a93f2118c688422cf4 SHA512 de2fc4d84a08fb98a41bb3e5f11d31535810e6f796aacaeacf784e1ed0fd7d99c5aa3a5e689fe22bbc7149518ea695979b4e66b6dd2b876e4cc9ad126564618c
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>