forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/intel-graphics-compiler: bump to 1.0.9
Signed-off-by: Marek Szuba <[email protected]> Package-Manager: Portage-2.3.66, Repoman-2.3.11
- Loading branch information
Marek Szuba
committed
Jul 3, 2019
1 parent
c5584f4
commit a474967
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
10 changes: 10 additions & 0 deletions
10
dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-no_Werror.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
36 changes: 36 additions & 0 deletions
36
dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |