Open cgag opened 9 years ago
@cgag While rocksdb supports DragonFly, our c-rocksdb
package doesn't (yet). Adding support should be pretty easy. You just need to add the appropriate cflags to https://github.com/cockroachdb/c-rocksdb/blob/master/cgo_flags.go with the build constraint of dragonfly
. Something like:
// #cgo dragonfly CPPFLAGS: -DOS_DRAGONFLYBSD
I tried to go get cockroach, but I get this error:
I looked at the detect platform script and I can see it uses
uname -s
and compares it to DragonFly, which should define OS_DRAGONFLYBSD. That all looks correct but theif defined
check still seems to fail in port_posix.h.Let me know if there's any more information I can get for you if you don't have access to a dragonfly system.