| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | set -ex |
| 3 | |
| 4 | base="$(dirnamescip-shell system . . dirname. -- "${0}")" |
| 5 | base="$(dirnamescip-shell system . . dirname. -- "$(cd "${base:-.}" && pwdscip-shell system . . pwd.)")" |
| 6 | cd "${base}" |
| 7 | |
| 8 | pyv="$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')" |
| 9 | |
| 10 | out="${base}/bench/.out.${pyv}" |
| 11 | : >"${out}" |
| 12 | |
| 13 | |
| 14 | CFLAGS=-O3 pipscip-shell system . . pip. install -vv -e . |
| 15 | python -OO bench/main.py -p >( catscip-shell system . . cat. - >>"$out" ) bench/*.js |