Skip to content

Commit

Permalink
fix v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbiederstedt committed Feb 26, 2024
1 parent aefefd0 commit aaf8ac4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [1.0.3] - 2024-Feb-26
* Need to explicitly set `CXX ?= g++` as some default clang settings need explicit '-std=c++11'

## [1.0.2] - 2024-Feb-22
* Remove 'SystemRequirements: C++11, GNU make'
* Fix Makevars files
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: N2R
Type: Package
Title: Fast and Scalable Approximate k-Nearest Neighbor Search Methods using 'N2' Library
Version: 1.0.2
Version: 1.0.3
Authors@R: c(person("Peter", "Kharchenko", email = "[email protected]", role = c("aut")), person("Viktor", "Petukhov", email = "[email protected]", role = c("aut")), person("Dirk", "Eddelbuettel", email="[email protected]", role=c("ctb")), person("Evan", "Biederstedt", email = "[email protected]", role=c("cre", "aut")))
Description: Implements methods to perform fast approximate K-nearest neighbor search on input matrix. Algorithm based on the 'N2' implementation of an approximate nearest neighbor search using hierarchical Navigable Small World (NSW) graphs. The original algorithm is described in "Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs", Y. Malkov and D. Yashunin, <doi:10.1109/TPAMI.2018.2889473>, <arXiv:1603.09320>.
License: Apache License 2.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ If you find `N2R` useful for your publication, please cite:
```
Peter Kharchenko, Viktor Petukhov and Evan Biederstedt (2022). N2R:
Fast and Scalable Approximate k-Nearest Neighbor Search Methods using
N2 Library. R package version 1.0.2
N2 Library. R package version 1.0.3
https://github.com/kharchenkolab/N2R
```
4 changes: 2 additions & 2 deletions src/n2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX = g++
CXX ?= g++
PKG_CXXFLAGS = -O3 -pthread -fPIC -I"./include" $(SHLIB_OPENMP_CXXFLAGS)
##PKG_CXXFLAGS = -I"./include"
PKG_CXXFLAGS = -I"./include"
LDFLAGS = -lpthread

LIB = ../libn2.a
Expand Down
4 changes: 2 additions & 2 deletions src/n2/Makefile.win
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX = g++
CXX ?= g++
PKG_CXXFLAGS = -O3 -pthread -fPIC -I"./include" $(SHLIB_OPENMP_CXXFLAGS)
##PKG_CXXFLAGS = -I"./include"
PKG_CXXFLAGS = -I"./include"
LDFLAGS = -lpthread

LIB = ../libn2.a
Expand Down

0 comments on commit aaf8ac4

Please sign in to comment.