Skip to content

Commit

Permalink
Disable the -march and -mtune CFLAGS on MacOS.
Browse files Browse the repository at this point in the history
Not sure why, but it causes "illegal instruction" errors in Savi.
  • Loading branch information
jemc committed Sep 12, 2022
1 parent 1693c30 commit fed83ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ build_task:
DEPS_INSTALL: ln -s $(brew --prefix llvm@12)/bin/llvm-link /usr/local/bin/llvm-link
SDKROOT: /Applications/Xcode-12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: "1" # optimizes brew install
# We skip the `-march` and `-mtune` CFLAGS on MacOS.
# Not sure why, but it causes "illegal instruction" errors in Savi.
CFLAGS: ${DEBUGINFO_CFLAGS}
macos_instance:
image: big-sur-xcode-12.5
# Caching some homebrew directories helps save some of the otherwise huge
Expand Down

0 comments on commit fed83ee

Please sign in to comment.