| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -eu |
| 4 | |
| 5 | os=$(unamescip-shell system . . uname.) |
| 6 | mach=$(unamescip-shell system . . uname. -m) |
| 7 | |
| 8 | echoscip-shell system . . echo. "** configuring for ${os} on ${mach}" |
| 9 | if [scip-shell system . . `[`. "${os}" = "Darwin" ] && [scip-shell system . . `[`. "${mach}" = "x86_64" ]; then |
| 10 | echoscip-shell system . . echo. "** selecting C++17 as compilation standard" |
| 11 | sedscip-shell system . . sed. -e 's|@CXX_STD@|CXX_STD=CXX17|' src/Makevars.in > src/Makevars |
| 12 | else |
| 13 | # Defaults are fine elsewhere |
| 14 | sedscip-shell system . . sed. -e 's|@CXX_STD@||' src/Makevars.in > src/Makevars |
| 15 | fi |