Skip to content

Commit f16445a

Browse files
committed
testing
1 parent c3eabe6 commit f16445a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: .ci/ci_build.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ if [[ "$CI_NAME" == 'osx' || "$CI_NAME" == 'darwin' ]]; then
4343
echo "Start: osx or darwin"
4444

4545
if [ ${USE_CCACHE} = true ]; then
46-
echo "Using ccache"
47-
BUILD_OPTION=""
46+
echo "Using ccache"
47+
if [[ $(uname -m) == 'arm64' ]]; then
48+
BUILD_OPTION=""
49+
else
50+
BUILD_OPTION="-DUSE_PRECOMPILED_HEADERS=OFF"
51+
fi
4852
else
4953
echo "Not using ccache"
5054
BUILD_OPTION="-DUSE_CCACHE_CACHING=OFF"

0 commit comments

Comments
 (0)