diff options
Diffstat (limited to 'dev-util/intel-graphics-compiler')
-rw-r--r-- | dev-util/intel-graphics-compiler/Manifest | 3 | ||||
-rw-r--r-- | dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.3.ebuild | 35 | ||||
-rw-r--r-- | dev-util/intel-graphics-compiler/metadata.xml | 12 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest new file mode 100644 index 000000000000..966042409bc3 --- /dev/null +++ b/dev-util/intel-graphics-compiler/Manifest @@ -0,0 +1,3 @@ +DIST intel-graphics-compiler-1.0.3.tar.gz 6721202 BLAKE2B 2934778e931a4b38a239ede5944757cc42c0a965e700ba471272ba8e9ca08b1c1c790c920ed6896a870985b1d2819a182a9aaf5a5a8cbfc13038ecd7cf1def1e SHA512 c0c0cc21263b71bc57aed43a3e8bd641ea7853db0a574823a70abb592a69b7f8a9f426e88e7fddea4cf6a14de44e064f80abcfa3ea709701e5003e0d4b7adfb0 +EBUILD intel-graphics-compiler-1.0.3.ebuild 919 BLAKE2B b6bb9e5f2c49b110bcf771e10ad4ecdf04156e6c9e4fe0cc0c979daa0ad1efff4f1bc54fd4940e3e4f9f67beba22f85fcff79873edbef858459b15846cec4899 SHA512 2fbbc2ab3a22a4fd8637278e4e16a2b4be3dfd77b11e687948dc18ecd1401163e3d5a94ffc24ae2a1a29d53f8774139d2914b6197da9277af8384395dd88ef96 +MISC metadata.xml 340 BLAKE2B 6c0e5d932084dffd300a1dc70b29eb0871dfe2187ed8591a5a2f8cba001bf681e908c58a6f9471f7b08842ff538365258305da91004ed63ff97314a07fda529f SHA512 d24016b4ae0ffb05be475f86bb8d72ab4a85475655f409b8826dcd69726e048aa048e321f26ac36f2f52aec40abbfa66a95354a711332df94dc3e57e6c396a0c diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.3.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.3.ebuild new file mode 100644 index 000000000000..b15c94ceace5 --- /dev/null +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib llvm + +DESCRIPTION="LLVM-based OpenCL compiler targetting Intel Gen graphics hardware" +HOMEPAGE="https://github.com/intel/intel-graphics-compiler" +SRC_URI="https://github.com/intel/${PN}/archive/igc-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +COMMON="sys-devel/llvm:8=[${MULTILIB_USEDEP}] + dev-libs/opencl-clang:8=[${MULTILIB_USEDEP}]" +DEPEND="${COMMON}" +RDEPEND="${COMMON}" + +LLVM_MAX_SLOT=8 + +S="${WORKDIR}"/${PN}-igc-${PV} + +multilib_src_configure() { + local mycmakeargs=( + -DCCLANG_BUILD_INTREE_LLVM=OFF + -DCMAKE_LIBRARY_PATH=$(get_llvm_prefix)/$(get_libdir) + -DIGC_OPTION__FORCE_SYSTEM_LLVM=ON + -DIGC_PREFERRED_LLVM_VERSION=8 + # Until a new official release of opencl-clang + -DCOMMON_CLANG_LIBRARY_NAME=common_clang + ) + cmake-utils_src_configure +} diff --git a/dev-util/intel-graphics-compiler/metadata.xml b/dev-util/intel-graphics-compiler/metadata.xml new file mode 100644 index 000000000000..b124b9c53046 --- /dev/null +++ b/dev-util/intel-graphics-compiler/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <upstream> + <remote-id type="github">intel/intel-graphics-compiler</remote-id> + </upstream> +</pkgmetadata> + |