Skip to content

Commit

Permalink
v9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanxw committed Oct 1, 2024
1 parent 67ce4a7 commit e671241
Show file tree
Hide file tree
Showing 8 changed files with 98,566 additions and 43,359 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-09-30 Xiaowei Zhan <zhanxw@bunny.swmed.edu>

* Update SQLite C codes

2024-09-30 Xiaowei Zhan <zhanxw@bunny.swmed.edu>

* Revise URL used in README
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: seqminer
Type: Package
Title: Efficiently Read Sequence Data (VCF Format, BCF Format, METAL
Format and BGEN Format) into R
Version: 9.6
Version: 9.7
Date: 2024-09-30
Authors@R: c(person("Xiaowei", "Zhan", email = "zhanxw@gmail.com", role = c("aut", "cre")),
person("Dajiang", "Liu", email = "dajiang.liu@gmail.com", role = "aut"),
Expand Down
4 changes: 4 additions & 0 deletions src/BGenIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

#include <string>

#ifdef HAVE_SQLITE
#include "sqlite3.h"
#else
#include "sqlite/sqlite3.h"
#endif

#include "RangeList.h"

Expand Down
6 changes: 6 additions & 0 deletions src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ PKG_LIBS=@PKG_LIBS@
## That will crash our program. So we wont use PCRE (@LIB_PCRE@).

## use SQLITE
ifeq (@HAVE_SQLITE@,1)
$(info have SQLite)
PKG_CPPFLAGS+=-DHAVE_SQLITE
else
$(info do not have SQLite)
endif
PKG_CPPFLAGS+=-I. \
-DRSQLITE_USE_BUNDLED_SQLITE \
-DSQLITE_ENABLE_RTREE \
Expand Down
Loading

0 comments on commit e671241

Please sign in to comment.