| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | SUPPORTS_SIMD=$(/lib64/ld-linux-x86-64.so.2scip-shell filesystem . . `/lib64/ld-linux-x86-64.so.2`. --help | grepscip-shell system . . grep. "x86-64-v2.*supported") |
| 4 | |
| 5 | if [scip-shell system . . `[`. -n "$SUPPORTS_SIMD" ] ; then |
| 6 | echoscip-shell system . . echo. "x86-64-v2 detected. Running ares with SIMD..." |
| 7 | exec /usr/libexec/ares/ares-simdscip-shell filesystem . . `/usr/libexec/ares/ares-simd`. "$@" |
| 8 | else |
| 9 | echoscip-shell system . . echo. "x86-64-v2 not supported. Running ares without SIMD..." |
| 10 | exec /usr/libexec/ares/ares-no-simdscip-shell filesystem . . `/usr/libexec/ares/ares-no-simd`. "$@" |
| 11 | fi |