Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit cf587e9

Browse files
author
Grant Erickson
committed
Leverage the configuration cache to speed up the configuration phase of the build.
1 parent 23f3957 commit cf587e9

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.travis/script.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ gcc_check_happy()
6060
case "${BUILD_TARGET}" in
6161

6262
linux-auto-clang)
63-
./configure && make && make check
63+
./configure -C && make && make check
6464
;;
6565

6666
linux-auto-gcc-check)
67-
./configure --enable-coverage && make && make check
67+
./configure -C --enable-coverage && make && make check
6868
;;
6969

7070
linux-auto-gcc-check-happy)
@@ -76,13 +76,13 @@ case "${BUILD_TARGET}" in
7676
;;
7777

7878
linux-lwip-clang)
79-
./configure --with-target-network=lwip --with-lwip=internal --disable-java && make
79+
./configure -C --with-target-network=lwip --with-lwip=internal --disable-java && make
8080
;;
8181

8282
linux-lwip-gcc-check)
8383
# Note, LwIP requires sudo prior to running 'make check' to ensure the appropriate TUN and bridge interfaces
8484
# may be created.
85-
./configure --enable-coverage --with-target-network=lwip --with-lwip=internal --disable-java && make && sudo make check
85+
./configure -C --enable-coverage --with-target-network=lwip --with-lwip=internal --disable-java && make && sudo make check
8686
;;
8787

8888
osx-auto-clang)
@@ -102,11 +102,11 @@ case "${BUILD_TARGET}" in
102102
;;
103103

104104
linux-auto-*-distcheck)
105-
./configure && make distcheck
105+
./configure -C && make distcheck
106106
;;
107107

108108
linux-auto-*-lint)
109-
./configure && make pretty-check
109+
./configure -C && make pretty-check
110110
;;
111111

112112
*)

Makefile-Android

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#
2+
# Copyright (c) Project openweave-core Authors
23
# Copyright (c) 2014-2017 Nest Labs, Inc.
34
# All rights reserved.
45
#
@@ -259,7 +260,7 @@ AMFILES = src/system/SystemLayer.am \
259260
#
260261
define configure-action
261262
$(ECHO) " CONFIG $(ABI_CONFIG_TUPLE_$(1))..."
262-
(cd $(BuildPath)/$(ABI_CONFIG_TUPLE_$(1)) && $(AbsTopSourceDir)/configure \
263+
(cd $(BuildPath)/$(ABI_CONFIG_TUPLE_$(1)) && $(AbsTopSourceDir)/configure -C \
263264
CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)" OBJC="$(OBJC)" OBJCXX="$(OBJCXX)" AR="$(AR)" RANLIB="$(RANLIB)" NM="$(NM)" STRIP="$(STRIP)" \
264265
INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
265266
CPPFLAGS="$(CPPFLAGS)" \

Makefile-Standalone

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#
2+
# Copyright (c) Project openweave-core Authors
23
# Copyright (c) 2014-2017 Nest Labs, Inc.
34
# All rights reserved.
45
#
@@ -319,7 +320,7 @@ AMFILES = src/system/SystemLayer.am \
319320
#
320321
define configure-target
321322
$(ECHO) " CONFIG $(1)..."
322-
(cd $(BuildPath)/$(1) && $(AbsTopSourceDir)/configure \
323+
(cd $(BuildPath)/$(1) && $(AbsTopSourceDir)/configure -C \
323324
INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
324325
--prefix=/ \
325326
--exec-prefix=/$(1) \

Makefile-iOS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#
2+
# Copyright (c) Project openweave-core Authors
23
# Copyright (c) 2014-2017 Nest Labs, Inc.
34
# All rights reserved.
45
#
@@ -279,7 +280,7 @@ AMFILES = src/system/SystemLayer.am \
279280
#
280281
define configure-arch
281282
$(ECHO) " CONFIG $(1)-$(TargetTuple)..."
282-
(cd $(BuildPath)/$(1)-$(TargetTuple) && $(AbsTopSourceDir)/configure \
283+
(cd $(BuildPath)/$(1)-$(TargetTuple) && $(AbsTopSourceDir)/configure -C \
283284
CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)" OBJC="$(OBJC)" OBJCXX="$(OBJCXX)" AR="$(AR)" RANLIB="$(RANLIB)" NM="$(NM)" STRIP="$(STRIP)" \
284285
INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
285286
CPPFLAGS="$(CPPFLAGS)" \

0 commit comments

Comments
 (0)