From b351f772329ac828dd8c628ef399b7ed2da4dd23 Mon Sep 17 00:00:00 2001 From: Nick DeLuca Date: Mon, 13 Mar 2023 23:11:00 +0000 Subject: [PATCH] add arm64 support for make test using installed libs --- testing_linux_arm64.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testing_linux_arm64.go diff --git a/testing_linux_arm64.go b/testing_linux_arm64.go new file mode 100644 index 0000000..9f1b4b0 --- /dev/null +++ b/testing_linux_arm64.go @@ -0,0 +1,8 @@ +//go:build testing + +package grocksdb + +// #cgo CFLAGS: -I${SRCDIR}/dist/linux_arm64/include +// #cgo CXXFLAGS: -I${SRCDIR}/dist/linux_arm64/include +// #cgo LDFLAGS: -L${SRCDIR}/dist/linux_arm64/lib -L${SRCDIR}/dist/linux_arm64/lib64 -lrocksdb -pthread -lstdc++ -ldl -lm -lzstd -llz4 -lz -lsnappy +import "C"