gitian: omit ccache from gitian builds
It's just wasted overhead since the build VMs are always deleted and recreated fresh for each run.
This commit is contained in:
parent
8fde011dbe
commit
4ea7832ea7
|
@ -1,6 +1,9 @@
|
||||||
packages:=boost openssl zeromq libiconv
|
packages:=boost openssl zeromq libiconv
|
||||||
|
|
||||||
|
# ccache is useless in gitian builds
|
||||||
|
ifneq ($(GITIAN),1)
|
||||||
native_packages := native_ccache
|
native_packages := native_ccache
|
||||||
|
endif
|
||||||
|
|
||||||
hardware_packages := hidapi protobuf libusb
|
hardware_packages := hidapi protobuf libusb
|
||||||
hardware_native_packages := native_protobuf
|
hardware_native_packages := native_protobuf
|
||||||
|
|
|
@ -24,7 +24,6 @@ packages:
|
||||||
- "ca-certificates"
|
- "ca-certificates"
|
||||||
- "python"
|
- "python"
|
||||||
- "cmake"
|
- "cmake"
|
||||||
- "ccache"
|
|
||||||
- "protobuf-compiler"
|
- "protobuf-compiler"
|
||||||
- "libdbus-1-dev"
|
- "libdbus-1-dev"
|
||||||
- "libharfbuzz-dev"
|
- "libharfbuzz-dev"
|
||||||
|
@ -52,6 +51,7 @@ script: |
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
if test -n "$GBUILD_CACHE_ENABLED"; then
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
||||||
|
export GITIAN=1
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ packages:
|
||||||
- "ca-certificates"
|
- "ca-certificates"
|
||||||
- "python"
|
- "python"
|
||||||
- "cmake"
|
- "cmake"
|
||||||
- "ccache"
|
|
||||||
- "protobuf-compiler"
|
- "protobuf-compiler"
|
||||||
- "libdbus-1-dev"
|
- "libdbus-1-dev"
|
||||||
- "libharfbuzz-dev"
|
- "libharfbuzz-dev"
|
||||||
|
@ -52,6 +51,7 @@ script: |
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
if test -n "$GBUILD_CACHE_ENABLED"; then
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
||||||
|
export GITIAN=1
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ packages:
|
||||||
- "ca-certificates"
|
- "ca-certificates"
|
||||||
- "python"
|
- "python"
|
||||||
- "cmake"
|
- "cmake"
|
||||||
- "ccache"
|
|
||||||
- "protobuf-compiler"
|
- "protobuf-compiler"
|
||||||
- "libdbus-1-dev"
|
- "libdbus-1-dev"
|
||||||
- "libharfbuzz-dev"
|
- "libharfbuzz-dev"
|
||||||
|
@ -63,6 +62,7 @@ script: |
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
if test -n "$GBUILD_CACHE_ENABLED"; then
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
||||||
|
export GITIAN=1
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ script: |
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
if test -n "$GBUILD_CACHE_ENABLED"; then
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
||||||
|
export GITIAN=1
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ script: |
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
if test -n "$GBUILD_CACHE_ENABLED"; then
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
||||||
|
export GITIAN=1
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue