Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nhse d30 eldb275 #1

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Nhse d30 eldb275 #1

merged 3 commits into from
Nov 9, 2023

Conversation

martinsumner
Copy link

@martinsumner martinsumner commented Sep 6, 2023

The process for installing eleveldb is as follows:

The issues this PR addresses are:

  • a failure to export the FLAGS from eleveldb/c_src/Makefile means that those flags were not set for downstream Makefiles, and so the test for snappy presence would not compile due to the absence of the include directives in the CFLAGS
  • on OSX snappy would silently fail to compile due to a requirement to enforce support for at least the c++11 standard. Fixing this requires changes to both the OS-specific setting in build_detect_platform (for compiling snappy/leveldb) and the rebar.config.script (for compiling eleveldb)
  • snappy will no longer compile on OSX 10.8, as there is no intention to build portable packages for OSX, the OSX min version is instead defaulted to the current version (avoiding warnings)

@martinsumner
Copy link
Author

Depends on OpenRiak/leveldb#1

@martinsumner
Copy link
Author

Allows for merge of test OpenRiak/riak_test#2

@martinsumner
Copy link
Author

Resolution to basho#275. Corrected resolution to basho#273

@martinsumner
Copy link
Author

As an aside there are issues with snappy 1.1.10 in OSX, so that release will not work:

snappy-1.1.10/snappy.cc:1293:37: error: comparison of integers of different signs: 'unsigned long' and 'ptrdiff_t' (aka 'long') [-Werror,-Wsign-compare]
             (op + deferred_length) < op_limit_min_slop);

The same errors appear to be warnings on Ubuntu, so compile will complete.

After merge
@martinsumner martinsumner merged commit a3d7aad into nhse-develop-3.0 Nov 9, 2023
@martinsumner martinsumner deleted the nhse-d30-eldb275 branch November 9, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants