DataDog/gorocksdb

Name: gorocksdb

Owner: Datadog, Inc.

Description: gorocksdb is a Go wrapper for RocksDB

Forked from: tecbot/gorocksdb

Created: 2016-11-28 22:42:53.0

Updated: 2016-11-28 22:42:54.0

Pushed: 2016-11-28 22:49:06.0

Homepage: http://rocksdb.org

Size: 163

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gorocksdb, a Go wrapper for RocksDB

Build Status GoDoc

Install

There exist two options to install gorocksdb. You can use either a own shared library or you use the embedded RocksDB version from CockroachDB.

To install the embedded version (it might take a while):

go get -tags=embed github.com/tecbot/gorocksdb

If you want to go the way with the shared library you'll need to build RocksDB before on your machine. If you built RocksDB you can install gorocksdb now:

CGO_CFLAGS="-I/path/to/rocksdb/include" \
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4" \
  go get github.com/tecbot/gorocksdb

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.