Skip to content

Commit 6776010

Browse files
authored
support Apple M1 build (#86)
1 parent 661bea1 commit 6776010

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ file [H3Core.java](./src/main/java/com/uber/h3core/H3Core.java), and support
77
for the Linux x64 and Darwin x64 platforms.
88

99
## [Unreleased]
10+
## Fixed
11+
- Fixes local build script to support Apple M1
1012

1113
## [3.7.1] - 2021-08-18
1214
## Fixed

src/main/c/h3-java/build-h3.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ case "$(uname -sm)" in
9898
"Linux i786") LIBRARY_DIR=linux-x86 ;;
9999
"Linux i886") LIBRARY_DIR=linux-x86 ;;
100100
"Darwin x86_64") LIBRARY_DIR=darwin-x64 ;;
101+
"Darwin arm64") LIBRARY_DIR=darwin-arm64 ;;
101102
"FreeBSD amd64") LIBRARY_DIR=freebsd-x64 ;;
102103
# TODO: Detect others
103104
*) LIBRARY_DIR="" ;;

0 commit comments

Comments
 (0)