Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10bba0c

Browse files
authored
CI: Use -O0 optimization flag with clang to reduce the runtime substantially (GH-7188)
1 parentc4ccb0f commit10bba0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Tools/ci-run.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ if [[ $OSTYPE == "msys" ]]; then # for MSVC cl
146146
# (off by default) 5045 warns that the compiler will insert Spectre mitigations for memory load if the /Qspectre switch is specified
147147
# (off by default) 4820 warns about the code in Python\3.9.6\x64\include ...
148148
CFLAGS="-Od /Z7 /MP /W4 /wd4711 /wd4127 /wd5045 /wd4820"
149+
elif [[$OSTYPE=="darwin"* ]];then
150+
CFLAGS="-O0 -g2 -Wall -Wextra -Wcast-qual -Wconversion -Wdeprecated -Wunused-result"
149151
else
150152
CFLAGS="-Og -g2 -Wall -Wextra -Wcast-qual -Wconversion -Wdeprecated -Wunused-result"
151153
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp