Skip to content

Commit 886bc67

Browse files
committed
Missing calling script for Dockerfile
1 parent f2dacc8 commit 886bc67

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ONBUILD ADD https://mmseqs.com/archive/${FOLDSEEK_COMMIT}/foldseek-linux-arm64.t
1515

1616
FROM $downloader AS downloader
1717

18-
FROM --platform=$BUILDPLATFORM debian:stable-backports as builder
18+
FROM --platform=$BUILDPLATFORM debian:stable-backports AS builder
1919
ARG TARGETARCH
2020
ARG APP
2121
ARG FOLDSEEK_COMMIT

util/spacedust_wrapper.sh

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

0 commit comments

Comments
 (0)