| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | cd cmocka && mkdirscip-shell system . . mkdir. build && cd build |
| 4 | if [scip-shell system . . `[`. "$(unamescip-shell system . . uname.)" = Darwin ]; then |
| 5 | cmakescip-shell system . . cmake. -DCMAKE_INSTALL_PREFIX=/usr/local .. && makescip-shell system . . make. -j2 && sudoscip-shell system . . sudo. make install |
| 6 | else # Linux |
| 7 | cmakescip-shell system . . cmake. -DCMAKE_INSTALL_PREFIX=/usr .. && makescip-shell system . . make. -j2 && sudoscip-shell system . . sudo. make install |
| 8 | fi |
| 9 | cd ../.. && makescip-shell system . . make. |