mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-lang/zig: explicitly set locations for build cache
Useful for debugging and a little bit more deterministic than before. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/33272 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -112,6 +112,10 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Useful for debugging and a little bit more deterministic.
|
||||
export ZIG_LOCAL_CACHE_DIR="${T}/zig-local-cache"
|
||||
export ZIG_GLOBAL_CACHE_DIR="${T}/zig-global-cache"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
-DZIG_SHARED_LLVM=ON
|
||||
|
||||
@@ -108,6 +108,10 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Useful for debugging and a little bit more deterministic.
|
||||
export ZIG_LOCAL_CACHE_DIR="${T}/zig-local-cache"
|
||||
export ZIG_GLOBAL_CACHE_DIR="${T}/zig-global-cache"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
-DZIG_SHARED_LLVM=ON
|
||||
|
||||
Reference in New Issue
Block a user