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"