Skip to content

Commit

Permalink
fix libdeflate missing on mac M-chip
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Dec 21, 2024
1 parent dd5ef52 commit a2e9a91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR
## copy file instead of symbolic linking
cp htscodecs_bundled.mk htscodecs.mk
./configure CFLAGS="-O2 -fPIC"
cp htscodecs_bundled.mk htscodecs.mk
if [ "$(uname)" = "Darwin" ]; then
./configure --without-libdeflate CFLAGS="-O2 -fPIC"
else
./configure CFLAGS="-O2 -fPIC"
fi

make libhts.a

1 change: 1 addition & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
v0.7.0
* address issues on https://cran.r-project.org/web/checks/check_results_vcfppR.html
* fix parsing BCF when subsetting sample ids and the genomic region at the same time
* fix `vcfcomp` with `stats="nrc"` when the input vectors have different length
* use the latest version of htslib v1.21
Expand Down

0 comments on commit a2e9a91

Please sign in to comment.