Skip to content

Commit

Permalink
kram - turn on precompiled pch for libkram build for Xcode
Browse files Browse the repository at this point in the history
KramPrefix.pch is only including KramConfig.h for now.   Still need to enable in Cmake for Win build.  I also ran Aras's build analysis tool on the json output of -ftime-trace.  It reported 11s vs 78s of parsing time.  That may be spread across the 6+2 cores on my machine.

Here are M1 (6/2) timings for PCH vs. not from Xcode build timings.
Debug (arm64)  7s vs. 16s
Release (arm64+x64) 33s vs. 44s.
  • Loading branch information
alecazam committed Aug 11, 2022
1 parent 9b71727 commit 461aec6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build2/kram.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,6 @@
CLANG_X86_VECTOR_INSTRUCTIONS = avx;
CODE_SIGN_STYLE = Automatic;
EXECUTABLE_PREFIX = lib;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SYSTEM_HEADER_SEARCH_PATHS = "";
Expand All @@ -1923,7 +1922,6 @@
CLANG_X86_VECTOR_INSTRUCTIONS = avx;
CODE_SIGN_STYLE = Automatic;
EXECUTABLE_PREFIX = lib;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SYSTEM_HEADER_SEARCH_PATHS = "";
Expand All @@ -1938,7 +1936,6 @@
CLANG_X86_VECTOR_INSTRUCTIONS = default;
CODE_SIGN_STYLE = Automatic;
EXECUTABLE_PREFIX = lib;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -1956,7 +1953,6 @@
CLANG_X86_VECTOR_INSTRUCTIONS = default;
CODE_SIGN_STYLE = Automatic;
EXECUTABLE_PREFIX = lib;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand Down

0 comments on commit 461aec6

Please sign in to comment.