Skip to content

Commit

Permalink
fix wfmash build
Browse files Browse the repository at this point in the history
  • Loading branch information
ekg committed Jul 2, 2024
1 parent 0ff5fdb commit 8951c0a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@ RUN git clone --recursive https://github.com/waveygang/wfmash \
&& git pull \
&& git checkout 2243583d2f4272ce5254be9ffc508d492dd8b6f8 \
&& git submodule update --init --recursive \
&& sed -i 's/-march=native/-march=sandybridge/g' src/common/wflign/deps/WFA2-lib/Makefile \
&& cmake -H. -DCMAKE_BUILD_TYPE=Generic -DEXTRA_FLAGS='-march=sandybridge -Ofast' -Bbuild && cmake --build build -- -j $(nproc) \
&& cmake -H. -Bbuild -DBUILD_STATIC=ON -DBUILD_RETARGETABLE=ON && cmake --build build -- -j $(nproc) \
&& cp build/bin/wfmash /usr/local/bin/wfmash \
# Libraries aren't getting installed
&& cp build/lib/libwfa2cpp.so.0 /usr/local/lib/ \
&& cp build/lib/libwfa2cpp.so /usr/local/lib/ \
&& cp build/lib/libwfa2.so.0 /usr/local/lib/ \
&& cp build/lib/libwfa2.so /usr/local/lib/ \
&& cp build/lib/libwfa2cpp.a /usr/local/lib/ \
&& cp build/lib/libwfa2.a /usr/local/lib/ \
&& cd ../ \
&& rm -rf wfmash

Expand Down

0 comments on commit 8951c0a

Please sign in to comment.