# c-rocksdb **Repository Path**: mirrors_cockroachdb/c-rocksdb ## Basic Information - **Project Name**: c-rocksdb - **Description**: 🚫 DEPRECATED - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2025-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RocksDB This is a go-gettable version of the RocksDB C++ library for use in Go code that needs to link against the C++ RocksDB library but wants to integrate with `go get` and `go build`. To use in your project you need to import the package and set appropriate cgo flag directives: ``` import _ "github.com/cockroachdb/c-rocksdb" // #cgo CXXFLAGS: -std=c++11 // #cgo CPPFLAGS: -I/c-rocksdb/internal/include // #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup // #cgo !darwin LDFLAGS: -Wl,-unresolved-symbols=ignore-all import "C" ``` To update the upstream version of RocksDB you'll want to follow the instructions in and run `./import.sh`.