Skip to content

Commit

Permalink
Build h3 core using release flag, closes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme committed Apr 8, 2020
1 parent 0abc9bf commit ce67569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ avoid adding features or APIs which do not map onto the
Click to see more.
</summary>

- Build `h3` core using release flag for 2x/3x performance (see [#23], thanks [@komzpa])

</details>

## [3.6.2] - 2020-04-07
Expand Down Expand Up @@ -139,6 +141,7 @@ avoid adding features or APIs which do not map onto the
[#18]: https://github.com/bytesandbrains/h3-pg/pull/18
[#19]: https://github.com/bytesandbrains/h3-pg/pull/19
[#22]: https://github.com/bytesandbrains/h3-pg/pull/22
[#23]: https://github.com/bytesandbrains/h3-pg/issues/23
[#24]: https://github.com/bytesandbrains/h3-pg/pull/24
[#26]: https://github.com/bytesandbrains/h3-pg/pull/26
[@komzpa]: https://github.com/Komzpa
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ $(LIBH3_SOURCE):
$(LIBH3_BUILD): $(LIBH3_SOURCE)
mkdir -p $(LIBH3_BUILD)
cd $(LIBH3_BUILD) && cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=-fPIC \
-DBUILD_TESTING=OFF \
-DENABLE_COVERAGE=OFF \
Expand Down

0 comments on commit ce67569

Please sign in to comment.