forked from security/hakurei
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 <cat@gensokyo.uk>
This commit is contained in:
@@ -109,7 +109,7 @@ chmod -R +w "${ROSA_CMAKE_SOURCE}"
|
|||||||
"ROSA_CMAKE_SOURCE=" + sourcePath.Append(attr.Append...).String(),
|
"ROSA_CMAKE_SOURCE=" + sourcePath.Append(attr.Append...).String(),
|
||||||
"ROSA_INSTALL_PREFIX=/work" + prefix.String(),
|
"ROSA_INSTALL_PREFIX=/work" + prefix.String(),
|
||||||
}, attr.Env), scriptEarly+`
|
}, attr.Env), scriptEarly+`
|
||||||
cd "$(mktemp -d)"
|
mkdir /cure && cd /cure
|
||||||
cmake -G Ninja \
|
cmake -G Ninja \
|
||||||
-DCMAKE_C_COMPILER_TARGET="${ROSA_TRIPLE}" \
|
-DCMAKE_C_COMPILER_TARGET="${ROSA_TRIPLE}" \
|
||||||
-DCMAKE_CXX_COMPILER_TARGET="${ROSA_TRIPLE}" \
|
-DCMAKE_CXX_COMPILER_TARGET="${ROSA_TRIPLE}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user