-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
### Changelog: | ||
|
||
#### v2.0.8 | ||
|
||
- Improve build scripts | ||
|
||
#### v2.0.7 | ||
|
||
- Fix compilation error under elixir 1.13 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,14 @@ PROJECT_NIF_NAME=erlkaf_nif | |
include nif.mk | ||
|
||
ifeq ($(UNAME_SYS), darwin) | ||
CXXFLAGS += -I/usr/local/opt/openssl/include | ||
LDFLAGS += -L/usr/local/opt/openssl/lib \ | ||
OPENSSL_ROOT := $(shell brew --prefix [email protected]) | ||
LZ4_ROOT := $(shell brew --prefix lz4) | ||
ZSTD_ROOT := $(shell brew --prefix zstd) | ||
|
||
CXXFLAGS += -I$(OPENSSL_ROOT)/include | ||
LDFLAGS += -L$(OPENSSL_ROOT)/lib \ | ||
-L$(LZ4_ROOT)/lib \ | ||
-L$(ZSTD_ROOT)/lib \ | ||
-L/usr/local/lib | ||
|
||
LDFLAGS += -Wl,-U,_enif_alloc \ | ||
|
@@ -64,11 +70,11 @@ ifeq ($(UNAME_SYS), darwin) | |
endif | ||
|
||
CXXFLAGS += -DNDEBUG \ | ||
-I ../deps/librdkafka/src \ | ||
-I ../deps \ | ||
-I ../_build/deps/librdkafka/src \ | ||
-I ../_build/deps \ | ||
-g -Wextra -Werror -Wno-missing-field-initializers -fno-exceptions -fno-rtti -std=c++11 | ||
|
||
LDFLAGS += -L ../deps/librdkafka/src \ | ||
LDFLAGS += -L ../_build/deps/librdkafka/src \ | ||
-lrdkafka \ | ||
-lsasl2 \ | ||
-lz \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters