Skip to content

Commit

Permalink
Add missing metaeuk_wrapper file for new docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jul 11, 2022
1 parent 9c40fc3 commit a5d39d9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions util/metaeuk_wrapper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
FLAGS="$(grep -m 1 '^flags' /proc/cpuinfo)"
case "${FLAGS}" in
*avx2*)
exec /usr/local/bin/metaeuk_avx2 "$@"
;;
*sse4_1*)
exec /usr/local/bin/metaeuk_sse41 "$@"
;;
*)
exec /usr/local/bin/metaeuk_sse2 "$@"
;;
esac

0 comments on commit a5d39d9

Please sign in to comment.