1 |
commit: ed46712fd16a9d3634df32395f19324d892e0dfc |
2 |
Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 15 14:02:03 2021 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 18:09:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed46712f |
7 |
|
8 |
dev-util/spirv-tools: fix gentoo prefix cmake configure issue |
9 |
|
10 |
during cmake configuration, SPIRV-Headers_SOURCE_DIR sets to /usr |
11 |
causing cmake cannot find /usr/include/spirv/unified1/spirv.core.grammar.json |
12 |
|
13 |
Closes: https://bugs.gentoo.org/802240 |
14 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
15 |
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/21652 |
17 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
18 |
|
19 |
dev-util/spirv-tools/spirv-tools-2021.1.ebuild | 2 +- |
20 |
1 file changed, 1 insertion(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/dev-util/spirv-tools/spirv-tools-2021.1.ebuild b/dev-util/spirv-tools/spirv-tools-2021.1.ebuild |
23 |
index 9fb9e28bebd..1d32288308f 100644 |
24 |
--- a/dev-util/spirv-tools/spirv-tools-2021.1.ebuild |
25 |
+++ b/dev-util/spirv-tools/spirv-tools-2021.1.ebuild |
26 |
@@ -34,7 +34,7 @@ BDEPEND="${PYTHON_DEPS} |
27 |
|
28 |
multilib_src_configure() { |
29 |
local mycmakeargs=( |
30 |
- "-DSPIRV-Headers_SOURCE_DIR=/usr/" |
31 |
+ "-DSPIRV-Headers_SOURCE_DIR=${ESYSROOT}/usr/" |
32 |
"-DSPIRV_WERROR=OFF" |
33 |
"-DSPIRV_TOOLS_BUILD_STATIC=OFF" |
34 |
"-DBUILD_SHARED_LIBS=ON" |