summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-10-02 01:15:51 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-10-02 01:15:51 +0200
commit71a44e761739fd32ad3352e898fa97e83d97bcac (patch)
treec332bc17e1c68dc14b0eb7ad8a2fd4204ca3ef47 /dev-libs/intel-vc-intrinsics
parentdev-lua/readline: add 3.2 (diff)
downloadgentoo-71a44e761739fd32ad3352e898fa97e83d97bcac.tar.gz
gentoo-71a44e761739fd32ad3352e898fa97e83d97bcac.tar.bz2
gentoo-71a44e761739fd32ad3352e898fa97e83d97bcac.zip
dev-libs/intel-vc-intrinsics: add 0.7.1
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.7.1.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 d9d3e6c01f99..8fb857eabf20 100644
--- a/dev-libs/intel-vc-intrinsics/Manifest
+++ b/dev-libs/intel-vc-intrinsics/Manifest
@@ -1,2 +1,3 @@
DIST intel-vc-intrinsics-0.4.2.tar.gz 136366 BLAKE2B 2f8b1a6ad8edb720f322668226224b23cc80c4a64b8ac300ff95a470e97f9af8e3317ddc45be668895e86b13074aab2d1846c2dd634f0466f39c9a77ec436851 SHA512 5312dbd06d4af5a4e18f99da867af4b7292daba92186c9de5208280dfe735b7563b73ac8f77f48f9d2f10f2a0d9654abf39c82cf07d829f568f41b3210af22d4
DIST intel-vc-intrinsics-0.5.0.tar.gz 136657 BLAKE2B d1e946aa82713eaedb13e692045b9e765c50f226a87f7b909d1be1ffe93217af1fa0cdc80b0db752760b66eae5f7bc6ce29ba643af4a50b1013b9b1a3c00a614 SHA512 9204b4e2e0f860d1daf98872c897d98a00a0baeb069503d052464f47892b0fcb90c51f47c07f8fb3545f42ca688168924e829d84063da1894d72be3dff7a9e35
+DIST intel-vc-intrinsics-0.7.1.tar.gz 138162 BLAKE2B 6a3aa8dcec358dd2f19688a57e5efd267eb6fd208f21c0bbda12baae4b73b4a85462e930f06fb34d22fe15103af368e8763031b2ef668a677104c57231740ff4 SHA512 278c67e277c09a2a8f5d6aed77e4c7d7dfd7fc54f9e34b8fae2154641785b66eec298e02bffa84f8cf4d0824e0272f7fb659d0ea19d2a993b5c44bb2e6f5a076
diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.ebuild
new file mode 100644
index 000000000000..120d3968bcd9
--- /dev/null
+++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.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..11} )
+
+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
+}