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 3621F138334 for ; Wed, 3 Jul 2019 16:12:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39A71E0887; Wed, 3 Jul 2019 16:12:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 0D391E0887 for ; Wed, 3 Jul 2019 16:12:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5698A346EB8 for ; Wed, 3 Jul 2019 16:12:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7CF76A1 for ; Wed, 3 Jul 2019 16:12:01 +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: <1562170308.a4749674721f792eccb5e794a61e1e49ddcc3351.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel-graphics-compiler/, dev-util/intel-graphics-compiler/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/intel-graphics-compiler/Manifest dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-no_Werror.patch dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild X-VCS-Directories: dev-util/intel-graphics-compiler/files/ dev-util/intel-graphics-compiler/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a4749674721f792eccb5e794a61e1e49ddcc3351 X-VCS-Branch: master Date: Wed, 3 Jul 2019 16:12:01 +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: 40a6e37d-da6c-4139-8cde-f9387b5aca97 X-Archives-Hash: db185a6272acb121edd701d6a4aa9f43 commit: a4749674721f792eccb5e794a61e1e49ddcc3351 Author: Marek Szuba gentoo org> AuthorDate: Wed Jul 3 16:10:40 2019 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Jul 3 16:11:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4749674 dev-util/intel-graphics-compiler: bump to 1.0.9 Signed-off-by: Marek Szuba gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-util/intel-graphics-compiler/Manifest | 1 + .../intel-graphics-compiler-1.0.9-no_Werror.patch | 10 ++++++ .../intel-graphics-compiler-1.0.9.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index 2033ddd9879..606121b059a 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -1 +1,2 @@ DIST intel-graphics-compiler-1.0.8.tar.gz 6428984 BLAKE2B 1835f86da24162af0f568794fd084c12cf8950601a74d3aaef928739d7ef942a23b2309713976b2fd67684d7360706155610ee7a80db0dbc217ff5b502b254d2 SHA512 43c54858fcc5ec5941d79ed34774077bcd5ece80d6d2bb28526b15ffe5237dddbcef2c13e4cc21faf35851174ed5a5b1af65db9bdd3281657e1e09456b761c18 +DIST intel-graphics-compiler-1.0.9.tar.gz 5684971 BLAKE2B c3a07773f1ee4ef53bae4af61a85e8ac60f3ddde3573fa853c12c887f94191b344b905bfb0d6ef7e489b2bbb05c01719981199fa85397c87f4ef74b0338bfffe SHA512 67c9efafab1cce4c34fb00cf9b20660c2107daeff27e3837a52c9f24405cb5c11c46366662692d47b4490584890cc5a5791de358196dcabc6e566e22b1aafd53 diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-no_Werror.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-no_Werror.patch new file mode 100644 index 00000000000..433b0e9caae --- /dev/null +++ b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-no_Werror.patch @@ -0,0 +1,10 @@ +--- a/IGC/CMakeLists.txt ++++ b/IGC/CMakeLists.txt +@@ -2769,7 +2769,6 @@ + -march=corei7 + -mstackrealign + -fms-extensions +- -Werror + -Wno-unused-parameter + -Wno-missing-field-initializers + -Wwrite-strings diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild new file mode 100644 index 00000000000..54d2ad4034c --- /dev/null +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.0.1:8=[${MULTILIB_USEDEP}]" +DEPEND="${COMMON}" +RDEPEND="${COMMON}" + +LLVM_MAX_SLOT=8 + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.9-no_Werror.patch +) + +S="${WORKDIR}"/${PN}-igc-${PV} + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_LIBRARY_PATH=$(get_llvm_prefix)/$(get_libdir) + -DIGC_OPTION__FORCE_SYSTEM_LLVM=ON + -DIGC_PREFERRED_LLVM_VERSION=8 + ) + cmake-utils_src_configure +}