Commit b17c2b6
committed
Introduce macOS toolchain setup for CMake
It was mentioned in the commit 89ac4bf
("Upgrade to macOS 12 in GitHub Actions"), macos-13 runners use Clang 15
compiler toolchain, that requires to tweak compiler flags the same way
it was done in the commit 3ac8f71
("Suppress -Wgnu-null-pointer-arithmetics for Clang"). At the same time,
we only support the one version on macOS (unlike Linux distributions),
so the compiler to be used is well-defined.
Taking into account all of the above, this patch introduces the new
CMake toolchain file with a tiny tweak (and a huge reasoning for it) to
make AppleClang happy on macOS-13. There are no other issues found by
the upgrade, but the whole macOS pipeline still should be refined.
Follows up #63
Signed-off-by: Igor Munkin <imun@cpan.org>1 parent 52858bc commit b17c2b6
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments