diff options
Diffstat (limited to 'dev-libs/opencl-clang')
-rw-r--r-- | dev-libs/opencl-clang/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/opencl-clang/opencl-clang-18.1.0.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest index 170115b57d49..1dc7b89cd9e7 100644 --- a/dev-libs/opencl-clang/Manifest +++ b/dev-libs/opencl-clang/Manifest @@ -7,7 +7,9 @@ AUX opencl-clang-8.0.0-clang_library_dir.patch 468 BLAKE2B 09315ce9250920caf8c84 DIST opencl-clang-15.0.0.tar.gz 26212 BLAKE2B 02d3a8eb3964b6882bd94b676b4459412c753ac38e1e3012662021e98a8219225eaf6af4f62f4e0e97de428f55b0b698374dc39babff09a0fcc73213d5daacfe SHA512 a2ffce43493793524e9512be2e7bd46c0183b86b35a6f79018d355d07a83303a944e6dacebfb768e88ce75a7020a44939be872a2d4e754544198a9829f4febd4 DIST opencl-clang-16.0.0.tar.gz 28413 BLAKE2B c99f043171186f5d9e44618d5d637d6a5c7997f22577491f544e78d93edd5afe74ba88eaaea92a931dd87af71fb630fdf03d27f1a9f55d7c3b8bdf53dee54b07 SHA512 bf723edab7dc7a028eb79d01fd2306690a2169472760bf2783d593ffec4eb788f28f184c66b204cc074cb95a4149fcc63a1dcbee5563c620a9dc2c76bb5a2d5a DIST opencl-clang-17.0.0.tar.gz 28436 BLAKE2B dd86255e757d290fb0417d966098ad00ceb0440c83fa79d8bdaadc7ee9964b13810d27f93740f4b00b9c0e16e5c9b29213800d98042b6c211b45a9cd1402f038 SHA512 920e19c9c36fef1752bce46a1a240bfc0cdd22c09e5840520508c67ecd965524f5c1ce04d8879af146670377f758d3f457a8263338b84b6833e8916f10566698 +DIST opencl-clang-18.1.0.tar.gz 29006 BLAKE2B 7e115220a34f77a0291e8bfdb20850baebb17b61a69f4be8f4b3befafab6537daed3d0433916a0b6fa1a2b991eff40e3258ed11685375755ee2d9db14383304e SHA512 ce14b706b3624302008595e3104f299ef58d93a56ef95628f0f56c2e53a3a7ca1b1e5a989c41a33839fa5d4e126cca8537f2155113fd9781a43ac07f28b52ca4 EBUILD opencl-clang-15.0.0-r1.ebuild 862 BLAKE2B f8f5d1c1a3190d39d74e97d460bbec8b15aabb7d7a5c428d2ca4c4b32e634c55c6c274bab95c32f5b4eab37fe4aad478e8d22d0e4b683bfccc5c4473cbb798bf SHA512 7fd39946ec37811afb55a58f89ec23acd9c0a50819571151f5de3ac2165f91485fb360aaf81c1f70510e747103d0608990b56df6189096ef83a8acd17c1e7e7e EBUILD opencl-clang-16.0.0-r2.ebuild 988 BLAKE2B aaa96bcb131123cc928ebb6ab3ee0f9366ea4ba92504de73b2fa03e6ffb33cd7dcf7c15124a4bf94678d4ceb9a559015a8c8387a5db1b9a6cb972822b236c0e2 SHA512 604f8a98c1e33c7ea59b56e4725c048637b72c3c6c64211895e43c9861f5e4bb261ae3bf6230252f1593f1ff8580c34364bb1a572435d3c40ec4c25bc08f595c EBUILD opencl-clang-17.0.0.ebuild 964 BLAKE2B 9ad940ee6800548d863a976f7d542273bc4d461dffc9c8790940ebaad001c53da884f3e4c7cd265ea35c025a5be338bd34660cb86b85d352e164c99ed12fc5ce SHA512 8702d8fcca39a657b7ff9a4f789873ed701d69973c85381a6e59de45e24430229c5fd038ccf8d963245a146364cc8d22ec0ca52a67206bff4dca0d9873ee8e25 +EBUILD opencl-clang-18.1.0.ebuild 923 BLAKE2B 4419b61f77e5294e92ed3b4a27eb288287f6a6fc7709deac17e582cf082842808473702a867eb9e7664dc60e6263129ff4fcc96f282ecebb4c8f57b8f0770829 SHA512 b52305a7633723b5184a905e157a0ec28d097263571491290f4cc866fce9f7e9252316b22f9c24717746646879a08bc3d8681d80b402d86b902b723c2080b8f5 MISC metadata.xml 583 BLAKE2B a16519cc07cd2add030b90218d3cdcf9473c684e0a1a0149e7dd352881213c8579c3ed7ceee69db479264fca10561ac023c01be7451ce689fa6408b81cf8b032 SHA512 d3c3f41c5c5fdb4b6b85c737071540ef8d53e148d5f7e69367eeaa6cbe7cb84563d2381de851cc4da41b5300856dd7e6b1e67454a4fc9a9d890590e3a17526b5 diff --git a/dev-libs/opencl-clang/opencl-clang-18.1.0.ebuild b/dev-libs/opencl-clang/opencl-clang-18.1.0.ebuild new file mode 100644 index 000000000000..e71b7f5f6cb2 --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-18.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) + +inherit cmake llvm-r1 + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-util/spirv-llvm-translator:${SLOT}= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}=[static-analyzer] + sys-devel/llvm:${LLVM_SLOT}= + ') +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-17.0.0-clang_library_dir.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib + -DLLVM_VERSION_MAJOR="${LLVM_SLOT}" + -DUSE_PREBUILT_LLVM="ON" + -Wno-dev + ) + + cmake_src_configure +} |