Created
February 14, 2019 10:47
-
-
Save aprell/ff1528c5982bb805b0f150fd02623ae4 to your computer and use it in GitHub Desktop.
Small patch for IKOS 2.1 + LLVM 7.0.1 under macOS Mojave
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /usr/local/Cellar/ikos/2.1/lib/python3.7/site-packages/ikos/analyzer_orig.py 2019-02-14 11:21:52.000000000 +0100 | |
| +++ /usr/local/Cellar/ikos/2.1/lib/python3.7/site-packages/ikos/analyzer.py 2019-02-14 10:09:09.000000000 +0100 | |
| @@ -525,6 +525,8 @@ | |
| return [ | |
| # enable clang warnings | |
| '-Wall', | |
| + # silence nullability warnings | |
| + '-Wno-nullability-completeness', | |
| # disable source code fortification | |
| '-U_FORTIFY_SOURCE', | |
| '-D_FORTIFY_SOURCE=0', | |
| @@ -536,6 +538,8 @@ | |
| # see https://bugs.llvm.org/show_bug.cgi?id=35950#c10 | |
| '-Xclang', | |
| '-disable-O0-optnone', | |
| + # point /usr/local/opt/llvm/bin/clang to Mojave system headers | |
| + '-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include', | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment