Debian Codegraph @

src/build_macos.sh

raw symbols SCIP
1 #!/bin/sh
2
3 # from Claus:
4 # with the new ARM platforms it seems to make sense to build macOS
5 # binaries as universal x86/arm in the future. I did not find an
6 # elegant way to do it in a Makefile, but maybe you want to add this
7 # handy script to your repo?
8
9 make clean
10 make CFLAGS="-target x86_64-apple-macos10.12"
11 mv acme acme_x86
12 make clean
13 make CFLAGS="-target arm64-apple-macos11"
14 mv acme acme_arm
15 lipo -create -output acme acme_x86 acme_arm
16 rm acme_x86
17 rm acme_arm