Skip to content

Commit a5d39d9

Browse files
committed
Add missing metaeuk_wrapper file for new docker images
1 parent 9c40fc3 commit a5d39d9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

util/metaeuk_wrapper.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
FLAGS="$(grep -m 1 '^flags' /proc/cpuinfo)"
3+
case "${FLAGS}" in
4+
*avx2*)
5+
exec /usr/local/bin/metaeuk_avx2 "$@"
6+
;;
7+
*sse4_1*)
8+
exec /usr/local/bin/metaeuk_sse41 "$@"
9+
;;
10+
*)
11+
exec /usr/local/bin/metaeuk_sse2 "$@"
12+
;;
13+
esac

0 commit comments

Comments
 (0)