Skip to content

Commit

Permalink
Specify mmseqs2 commit to use
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Sep 10, 2018
1 parent ec4cc8b commit 53bd5d1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ win: resources/win/mmseqs.bat resources/win/mmseqs-web-backend.exe resources/win
mac: resources/mac/mmseqs-sse41 resources/mac/mmseqs-avx2 resources/mac/mmseqs-web-backend resources/mac/cpu-check
linux: resources/linux/mmseqs-sse41 resources/linux/mmseqs-avx2 resources/linux/mmseqs-web-backend resources/linux/cpu-check

mmseqshash := 879703227b3fbb8afc4b4cde473b1bb88e8aee72

resources/icons/256x256.png:
mkdir -p resources/icons
./node_modules/.bin/svg2png frontend/assets/marv1-square.svg --output=resources/icons/256x256.png --width=256 --height=256
Expand Down Expand Up @@ -46,27 +48,27 @@ resources/win/cpu-check.exe:

resources/mac/mmseqs-sse41:
mkdir -p resources/mac
cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-osx-static_sse41.tar.gz\
cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-osx-static_sse41.tar.gz\
&& tar --strip-components=2 -xf mmseqs.tar.gz mmseqs/bin/mmseqs && mv mmseqs mmseqs-sse41 && rm mmseqs.tar.gz

resources/mac/mmseqs-avx2:
mkdir -p resources/mac
cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-osx-static_avx2.tar.gz \
cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-osx-static_avx2.tar.gz \
&& tar --strip-components=2 -xf mmseqs.tar.gz mmseqs/bin/mmseqs && mv mmseqs mmseqs-avx2 && rm mmseqs.tar.gz

resources/linux/mmseqs-sse41:
mkdir -p resources/linux
cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz \
cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-static_sse41.tar.gz \
&& tar --strip-components=2 -xf mmseqs.tar.gz mmseqs2/bin/mmseqs && mv mmseqs mmseqs-sse41 && rm mmseqs.tar.gz

resources/linux/mmseqs-avx2:
mkdir -p resources/linux
cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-static_avx2.tar.gz \
cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-static_avx2.tar.gz \
&& tar --strip-components=2 -xf mmseqs.tar.gz mmseqs2/bin/mmseqs && mv mmseqs mmseqs-avx2 && rm mmseqs.tar.gz

resources/win/mmseqs.bat:
mkdir -p resources/win
cd resources/win && wget -nv https://mmseqs.com/latest/mmseqs-win64.zip && unzip mmseqs-win64.zip && mv mmseqs/* . && rmdir mmseqs && rm mmseqs-win64.zip
cd resources/win && wget -nv https://mmseqs.com/archive/$(mmseqshash)/mmseqs-win64.zip && unzip mmseqs-win64.zip && mv mmseqs/* . && rmdir mmseqs && rm mmseqs-win64.zip

clean:
rm -f build/icons/256x256.png build/icons/icon.icns build/icons/icon.ico
Expand Down

0 comments on commit 53bd5d1

Please sign in to comment.