Skip to content

Commit

Permalink
fix libdeflate missing on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Dec 22, 2024
1 parent dd5ef52 commit 8197b12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: vcfppR
Title: Rapid Manipulation of the Variant Call Format (VCF)
Version: 0.7.0
Version: 0.7.1
Authors@R: c(
person("Zilong", "Li", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-5859-2078")),
Expand Down
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 8197b12

Please sign in to comment.