From 3ec15bcdf1e33a93f052cb6ad692de58c05f09b7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 19 Jan 2026 22:51:34 +0900 Subject: [PATCH] internal/rosa/cmake: use hardcoded build directory This eliminates some nondeterminism. Still getting 3-stage non-determinism in runtimes and clang, though. Signed-off-by: Ophestra --- internal/rosa/cmake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index b586fea..08fc02a 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -109,7 +109,7 @@ chmod -R +w "${ROSA_CMAKE_SOURCE}" "ROSA_CMAKE_SOURCE=" + sourcePath.Append(attr.Append...).String(), "ROSA_INSTALL_PREFIX=/work" + prefix.String(), }, attr.Env), scriptEarly+` -cd "$(mktemp -d)" +mkdir /cure && cd /cure cmake -G Ninja \ -DCMAKE_C_COMPILER_TARGET="${ROSA_TRIPLE}" \ -DCMAKE_CXX_COMPILER_TARGET="${ROSA_TRIPLE}" \