Skip to content
Permalink
Browse files

Somewhat faster builds

- Try not to make Make SVN Rev rebuild every time
- Don't build ebml/matroska as x86-64
- Slightly fewer prefix headers

800MB->600MB prefix headers. Still too many - it might be worth making
Prefix.h empty for C-only.

git-svn-id: https://svn.perian.org/trunk@1368 621663c8-3916-0410-8f58-edc14a8543d5
  • Loading branch information...
astrange
astrange committed Dec 11, 2010
1 parent 91c570a commit 69169ba80d9cfbc650320b4b46faa583899c2b56
Showing with 48 additions and 14 deletions.
  1. +44 −12 Perian.xcodeproj/project.pbxproj
  2. +4 −2 scripts/getSVNRevision.sh
@@ -1711,6 +1711,7 @@
};
buildConfigurationList = 11D4ED470A3CE59A0066D45F /* Build configuration list for PBXProject "Perian" */;
compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
@@ -2261,6 +2262,8 @@
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_FORCE_CPU_SUBTYPE_ALL = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
HEADER_SEARCH_PATHS = (
"\"$(BUILT_PRODUCTS_DIR)\"/$(arch)",
libmatroska,
@@ -2284,7 +2287,7 @@
OTHER_REZFLAGS = "-rd -d ppc_$(ppc) -d i386_$(i386) -d TARGET_REZ_CARBON_MACHO=1 -i \"$(SRCROOT)\" -i \"$(DERIVED_FILE_DIR)\"";
PRODUCT_NAME = Perian;
REZ_PREPROCESSOR_DEFINITIONS = "";
VALID_ARCHS = "i386 ppc";
VALID_ARCHS = "ppc i386";
WRAPPER_EXTENSION = component;
};
name = Development;
@@ -2300,6 +2303,8 @@
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_FORCE_CPU_SUBTYPE_ALL = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
HEADER_SEARCH_PATHS = (
"\"$(BUILT_PRODUCTS_DIR)\"/$(arch)",
libmatroska,
@@ -2322,7 +2327,7 @@
);
OTHER_REZFLAGS = "-rd -d ppc_$(ppc) -d i386_$(i386) -d TARGET_REZ_CARBON_MACHO=1 -i \"$(SRCROOT)\" -i \"$(DERIVED_FILE_DIR)\"";
PRODUCT_NAME = Perian;
VALID_ARCHS = "i386 ppc";
VALID_ARCHS = "ppc i386";
WRAPPER_EXTENSION = component;
};
name = Deployment;
@@ -2435,20 +2440,34 @@
3D4BBE470B59EE0A000EDE04 /* Deployment+Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = ebml;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = "Deployment+Debug";
};
3D4BBE480B59EE0A000EDE04 /* Deployment+Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = matroska;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libmatroska $(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = "Deployment+Debug";
};
@@ -2463,6 +2482,8 @@
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_FORCE_CPU_SUBTYPE_ALL = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
HEADER_SEARCH_PATHS = (
"\"$(BUILT_PRODUCTS_DIR)\"/$(arch)",
libmatroska,
@@ -2485,7 +2506,7 @@
);
OTHER_REZFLAGS = "-rd -d ppc_$(ppc) -d i386_$(i386) -d TARGET_REZ_CARBON_MACHO=1 -i \"$(SRCROOT)\" -i \"$(DERIVED_FILE_DIR)\"";
PRODUCT_NAME = Perian;
VALID_ARCHS = "i386 ppc";
VALID_ARCHS = "ppc i386";
WRAPPER_EXTENSION = component;
};
name = "Deployment+Debug";
@@ -2568,22 +2589,13 @@
GCC_FORCE_CPU_SUBTYPE_ALL = YES;
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.h;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG_BUILD;
GCC_STRICT_ALIASING = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
libmatroska,
libebml,
"ffmpeg/**",
"\"$(BUILT_PRODUCTS_DIR)\"",
);
LIBRARY_SEARCH_PATHS = $SYMROOT/Universal;
MACOSX_DEPLOYMENT_TARGET = 10.4;
"MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.5;
OTHER_CFLAGS_i386 = "-march=pentium-m -frerun-cse-after-loop $(OTHER_CFLAGS)";
@@ -2724,40 +2736,60 @@
61CB11040ACDF37C007994BD /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = ebml;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = Development;
};
61CB11050ACDF37C007994BD /* Deployment */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = ebml;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = Deployment;
};
61CB11B10ACDF4FF007994BD /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = matroska;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libmatroska $(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = Development;
};
61CB11B20ACDF4FF007994BD /* Deployment */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = matroska;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/libmatroska $(SRCROOT)/libebml";
VALID_ARCHS = "ppc i386";
};
name = Deployment;
};
@@ -10,9 +10,11 @@ ffmpeg_rev=`svnversion -n ./ffmpeg/`
REV=`svnversion -n ./`
echo $REV

cat > $SCRIPT_OUTPUT_FILE_0 <<EOF
cat > $SCRIPT_OUTPUT_FILE_0.tmp <<EOF
#define SVNREVISION $REV
#define SVNREVISION_C_STRING "$REV"
#define FFMPEGREVISION $ffmpeg_rev
#define FFMPEGREVISION_C_STRING "$ffmpeg_rev"
EOF
EOF

cmp -s $SCRIPT_OUTPUT_FILE_0 $SCRIPT_OUTPUT_FILE_0.tmp || mv $SCRIPT_OUTPUT_FILE_0.tmp $SCRIPT_OUTPUT_FILE_0

0 comments on commit 69169ba

Please sign in to comment.
You can’t perform that action at this time.