Skip to content

Commit

Permalink
Merge pull request #340 from pangenome/fix_libwfa2cpp
Browse files Browse the repository at this point in the history
Fix libwfa2cpp in the Docker image
  • Loading branch information
AndreaGuarracino authored Oct 23, 2023
2 parents 81efdfe + 9a7ca17 commit b2843d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ RUN git clone --recursive https://github.com/waveygang/wfmash \
&& 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) \
&& 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/ \
&& cd ../ \
&& rm -rf wfmash

Expand Down

0 comments on commit b2843d0

Please sign in to comment.