diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-07-19 09:32:10 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-07-19 09:32:15 +0200 |
commit | 6f387b9a22858c9eaad524bf08f3dd4680cd3e0e (patch) | |
tree | f2ca4e4d719d9a5382493334f01fcd80253573bb /dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0.ebuild | |
parent | dev-libs/intel-vc-intrinsics: drop 0.1.0-r1, 0.2.0-r1, 0.3.0-r1 (diff) | |
download | gentoo-6f387b9a22858c9eaad524bf08f3dd4680cd3e0e.tar.gz gentoo-6f387b9a22858c9eaad524bf08f3dd4680cd3e0e.tar.bz2 gentoo-6f387b9a22858c9eaad524bf08f3dd4680cd3e0e.zip |
dev-libs/intel-vc-intrinsics: add 0.5.0
Bug: https://bugs.gentoo.org/859199
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0.ebuild')
-rw-r--r-- | dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0.ebuild new file mode 100644 index 000000000000..365759d0b864 --- /dev/null +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.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 +} |