[DISTCC] Runner MUST have DISTCC configured
This commit is contained in:
Родитель
df4f52b10e
Коммит
5e3172ad8c
|
@ -23,19 +23,12 @@ endif
|
|||
export LIBRARY_PATH="$(SYSROOT)/$(PREFIX)/$(LIBDIR):$(SYSROOT)/usr/lib64"
|
||||
|
||||
ifneq ($(shell which distcc 2> /dev/null),)
|
||||
export DISTCC_HOSTS=10.1.0.16/4 10.1.0.24/32 10.1.0.40/20 10.1.0.48/16
|
||||
ifdef DISTCC_HOSTS
|
||||
export CC:=distcc $(CC)
|
||||
export CXX:=distcc $(CXX)
|
||||
export CLANG:=distcc $(CLANG)
|
||||
export CLANGXX:=distcc $(CLANGXX)
|
||||
endif
|
||||
|
||||
ifneq ($(shell which distcc 2> /dev/null),)
|
||||
ifdef DISTCC_HOSTS
|
||||
BUILD_JOBS=-j $$(distcc -j)
|
||||
testy:
|
||||
echo $(BUILD_JOBS)
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче