Skip to content

Commit

Permalink
Keep ccache in the root scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
takameyer committed Dec 24, 2023
1 parent 6196462 commit 0a8a70c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration-tests/environments/react-native/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ target 'RealmReactNativeTests' do
# Applying https://github.com/facebook/folly/issues/1470#issuecomment-943123653
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'FOLLY_HAVE_CLOCK_GETTIME=1']
end
config.build_settings['CC'] = "../../../../../packages/realm/scripts/ccache-clang.sh"
config.build_settings['CXX'] = "../../../../../packages/realm/scripts/ccache-clang++.sh"
config.build_settings['CC'] = "../../../../../scripts/ccache-clang.sh"
config.build_settings['CXX'] = "../../../../../scripts/ccache-clang++.sh"
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions packages/realm/scripts/build-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ DEVELOPER_DIR="$DEVELOPER_DIR" xcodebuild build \
-scheme realm-js-ios \
"${DESTINATIONS[@]}" \
-configuration $CONFIGURATION \
CC="$PROJECT_ROOT/scripts/ccache-clang.sh" \
CXX="$PROJECT_ROOT/scripts/ccache-clang++.sh" \
CC="$PROJECT_ROOT/../../scripts/ccache-clang.sh" \
CXX="$PROJECT_ROOT/../../scripts/ccache-clang++.sh" \
ONLY_ACTIVE_ARCH=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
SUPPORTS_MACCATALYST=YES
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 0a8a70c

Please sign in to comment.