adium 4480:ccef3ee414cb: An attempt to fix the nightly builds fa...

commits at adium.im commits at adium.im
Mon Jan 9 21:04:38 UTC 2012


details:	http://hg.adium.im/adium/rev/ccef3ee414cb
revision:	4480:ccef3ee414cb
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Mon Jan 09 23:04:17 2012 +0200

An attempt to fix the nightly builds failing due to inclusion of wrong precompiled headers.

diffs (35 lines):

diff -r 62403b7e52d5 -r ccef3ee414cb Makefile
--- a/Makefile	Mon Jan 09 21:47:41 2012 +0200
+++ b/Makefile	Mon Jan 09 23:04:17 2012 +0200
@@ -15,10 +15,10 @@
 .PHONY: all adium clean localizable-strings latest test astest install
 
 adium:
-	xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" build
+	xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" $(ADIUM_NIGHTLY_FLAGS) build
 
 test:
-	xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" -target "Unit tests" build
+	xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" $(ADIUM_NIGHTLY_FLAGS) -target "Unit tests" build
 astest:
 	osascript unittest\ runner.applescript | tr '\r' '\n'
 
diff -r 62403b7e52d5 -r ccef3ee414cb Release/Makefile
--- a/Release/Makefile	Mon Jan 09 21:47:41 2012 +0200
+++ b/Release/Makefile	Mon Jan 09 23:04:17 2012 +0200
@@ -65,6 +65,7 @@
 	VERSION:=$(VERSION)$(REVISION)
 	BUILD_IN_DEBUG_MODE=TRUE
 	BUILDFLAGS+="ADIUM_CFLAGS=-DNIGHTLY_RELEASE"
+	BUILDFLAGS+="ADIUM_NIGHTLY_FLAGS=CACHE_ROOT=/var/folders/buildbot/com.apple.Xcode.$(strip $(shell id -u))/nightly/$(strip $(NIGHTLY_REPO))/$(strip $(NIGHTLY_BRANCH))" # Required, otherwise wrong precompiled headers are used.
 endif
 
 ifeq ($(BUILD_IN_DEBUG_MODE),TRUE)
@@ -74,6 +75,7 @@
 endif
 
 BUILDFLAGS+="BUILDCONFIGURATION=$(BUILDSTYLE)"
+
 ifeq ($(BETA),TRUE)
 	BUILDFLAGS+="ADIUM_CFLAGS=-DBETA_RELEASE"
 endif




More information about the commits mailing list