Debian Codegraph @

src/build_macos.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/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 makescip-shell system . . make. clean
10 makescip-shell system . . make. CFLAGS="-target x86_64-apple-macos10.12"
11 mvscip-shell system . . mv. acme acme_x86
12 makescip-shell system . . make. clean
13 makescip-shell system . . make. CFLAGS="-target arm64-apple-macos11"
14 mvscip-shell system . . mv. acme acme_arm
15 lipo -create -output acme acme_x86 acme_arm
16 rmscip-shell system . . rm. acme_x86
17 rmscip-shell system . . rm. acme_arm