Skip to content

Commit

Permalink
Missing calling script for Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Feb 4, 2025
1 parent f2dacc8 commit 886bc67
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ONBUILD ADD https://mmseqs.com/archive/${FOLDSEEK_COMMIT}/foldseek-linux-arm64.t

FROM $downloader AS downloader

FROM --platform=$BUILDPLATFORM debian:stable-backports as builder
FROM --platform=$BUILDPLATFORM debian:stable-backports AS builder
ARG TARGETARCH
ARG APP
ARG FOLDSEEK_COMMIT
Expand Down
10 changes: 10 additions & 0 deletions util/spacedust_wrapper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
FLAGS="$(grep -m 1 '^flags' /proc/cpuinfo)"
case "${FLAGS}" in
*avx2*)
exec /usr/local/bin/spacedust_avx2 "$@"
;;
*)
exec /usr/local/bin/spacedust_sse41 "$@"
;;
esac

0 comments on commit 886bc67

Please sign in to comment.