From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0DBF138334 for ; Fri, 24 May 2019 10:33:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA49FE08D9; Fri, 24 May 2019 10:33:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC7DDE08D9 for ; Fri, 24 May 2019 10:33:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1FFC344F47 for ; Fri, 24 May 2019 10:33:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32E075E7 for ; Fri, 24 May 2019 10:33:32 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1558694000.c9eec3005686be69dc90c65568754835283046f0.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel-graphics-compiler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/intel-graphics-compiler/Manifest dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4.ebuild X-VCS-Directories: dev-util/intel-graphics-compiler/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: c9eec3005686be69dc90c65568754835283046f0 X-VCS-Branch: master Date: Fri, 24 May 2019 10:33:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9603c2ab-cbe0-43f5-885f-09a55e4eb304 X-Archives-Hash: 56b7f92ecfd9829269df02fc674b26a2 commit: c9eec3005686be69dc90c65568754835283046f0 Author: Marek Szuba gentoo org> AuthorDate: Fri May 24 10:31:46 2019 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri May 24 10:33:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9eec300 dev-util/intel-graphics-compiler: bump to version 1.0.4 and EAPI-7 Moreover, explicitly reject the use of gcc-9+ because they are known to fail. Bug: https://bugs.gentoo.org/685790 Signed-off-by: Marek Szuba gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-util/intel-graphics-compiler/Manifest | 1 + .../intel-graphics-compiler-1.0.4.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index 74cb134a495..7c277441e46 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -1 +1,2 @@ DIST intel-graphics-compiler-1.0.3.tar.gz 6721202 BLAKE2B 2934778e931a4b38a239ede5944757cc42c0a965e700ba471272ba8e9ca08b1c1c790c920ed6896a870985b1d2819a182a9aaf5a5a8cbfc13038ecd7cf1def1e SHA512 c0c0cc21263b71bc57aed43a3e8bd641ea7853db0a574823a70abb592a69b7f8a9f426e88e7fddea4cf6a14de44e064f80abcfa3ea709701e5003e0d4b7adfb0 +DIST intel-graphics-compiler-1.0.4.tar.gz 6720515 BLAKE2B 2f9ac9a2435bac785b6a9f3cb8c63eb570ee1a87eca9682fa1c09363f5da3b258e22ad1c5b1628a1537b36afb7c6f6e66f2052b31ef7fdff0bc43cf67fad55ba SHA512 0b748b33c4c1822d8fb159dbbbeb35f0573d3eb464e3be0a94771069e47a019d6cbe878d2d2a1969ec87b051d62ff2f77db88b02238e9a74d8f62fc71f07e264 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4.ebuild new file mode 100644 index 00000000000..2a30895b768 --- /dev/null +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib llvm toolchain-funcs + +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} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if tc-is-gcc && [[ $(gcc-major-version) -ge 9 ]]; then + # Bug #685790 + eerror "Compilation with gcc-9+ is not supported yet. Switch to an older version and try again." + die "Tried to use too new gcc." + fi + fi +} + +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 +}