summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-23 20:12:42 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-23 20:33:32 +0200
commit617dbf5d47b1d71aa0686f46f16daee39da8340c (patch)
tree873a58af363c17ad20949ced7f6405b096898e7e /dev-libs/intel-vc-intrinsics
parentdev-util/intel-graphics-system-controller: update deps (diff)
downloadgentoo-617dbf5d47b1d71aa0686f46f16daee39da8340c.tar.gz
gentoo-617dbf5d47b1d71aa0686f46f16daee39da8340c.tar.bz2
gentoo-617dbf5d47b1d71aa0686f46f16daee39da8340c.zip
dev-libs/intel-vc-intrinsics: add 0.3.0
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.3.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/intel-vc-intrinsics/Manifest b/dev-libs/intel-vc-intrinsics/Manifest
index 7f3932c9ffc5..913475d38538 100644
--- a/dev-libs/intel-vc-intrinsics/Manifest
+++ b/dev-libs/intel-vc-intrinsics/Manifest
@@ -1,2 +1,3 @@
DIST intel-vc-intrinsics-0.1.0.tar.gz 135780 BLAKE2B cb7c84c14a1fb9655e59ad559e24b3d1072f88390bc2b29ea614217049225dc371395849a7af81607a098a42228a249bdfa09fa72874eee4e20a78a0c4371087 SHA512 683c012900acfe331f29c4e88c0a0b0a4e5d84b146faed56757a70d5f9a94678a03c18bd46e269606761e0da4cad5b31f12cb50101d5f810044615971d2b5b9f
DIST intel-vc-intrinsics-0.2.0.tar.gz 135891 BLAKE2B 6118dbc43ca8e3363384f3ea6442480cd353758233f144717888e4c61f5d02ffe97be6f2936f74564da9aacc662e832be6f2371d86472a131232e2abd490c1cb SHA512 1a1b34a5a030141825c906a321b39da32b2cc989f1f3ad034881f4c5c55f27e7e63be7d5db264ba1b1249b589d7eee679061a9704ece610b4f29bdb88f0f19d5
+DIST intel-vc-intrinsics-0.3.0.tar.gz 136326 BLAKE2B 8f0c5a43638aff227cccf381b88e9f9cdd7e151b133c221487686419eab6d5e1b15e605da51b12f9366da3ae12bfee87bc3421c415f3b7265eea7d9905df5a13 SHA512 881cd3c4bfbe3483878cee62990f1765713cddddbe279a263cc91f60e3f27545cfbbc49addf2f8d9ffe6db4dda057110ce2ae0ac39251bc5d0d3c17676a21493
diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.3.0.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.3.0.ebuild
new file mode 100644
index 000000000000..365759d0b864
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.3.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
+}