Code Monkey home page Code Monkey logo

Comments (3)

ajsutton avatar ajsutton commented on August 16, 2024 1

If you're still around, I've been working to get a more recent build of leveldbjni working and with better platform support. So far I have Linux x86_64, Mac x86_64 and Mac aarch64 as fully automated builds in CircleCI (https://github.com/ConsenSys/leveldbjni-native) but it still uses the old leveldb and I haven't managed to get a Windows build working at all. I'd love some help if you still remember the details.

Will try and test out your branches of updated snappy and leveldb on Linux and Mac soon too. Thanks for sharing.

from leveldbjni.

ajsutton avatar ajsutton commented on August 16, 2024

So one thing I do notice with these branches is that when building leveldb, it fails to find snappy so I don't think it's building a snappy enabled version of leveldb. That seems to be true on Linux, Mac and Windows.

And on Windows it would be really helpful to know if there's a way to build the actual leveldbjni native library from the command line (and with a recent visual studio).

from leveldbjni.

ajsutton avatar ajsutton commented on August 16, 2024

Ok, managed to get snappy found on Mac and Linux by setting some env vars - probably not the "right" way to do it with cmake but effective:

CXXFLAGS="${CXXFLAGS:-} -I${BUILD_DIR}/snappy/" \
  LDFLAGS="${LDFLAGS:-} -L${BUILD_DIR}/snappy/ -lstdc++" \
  cmake ...

Consensys/leveldbjni-native#2 has the changes to build these new branches for Mac and Linux.

from leveldbjni.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.