Skip to content

Commit 6e10ed6

Browse files
author
Doug Coleman
committed
build-script-impl: Don't let distcc farm out cmake to run on other machines.
If cmake is run on another machine, the default Xcode path and more in the cmake cache and ninja files will be of that machine's configuration, not the local machine's. Test with: ./utils/build-script -r -- --distcc --verbose The cmake lines should start with ``/usr/local/bin/cmake`` instead of with ``/opt/distcc/pump``. rdar://problem/29942258
1 parent bbecb33 commit 6e10ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ if [[ -n "${DISTCC}" ]]; then
15441544
fi
15451545
fi
15461546

1547-
eval CMAKE_BUILD=("${DISTCC_PUMP}" "${CMAKE}" "--build")
1547+
eval CMAKE_BUILD=("${CMAKE}" "--build")
15481548

15491549

15501550
if [[ "${CMAKE_GENERATOR}" == "Xcode" ]]; then

0 commit comments

Comments
 (0)