We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev
When setting ROCKSDB_LITE=On in cmake, the compiler should be passed one -O flag (probably -Os?) regardless of the CMAKE_BUILD_TYPE.
ROCKSDB_LITE=On
-O
-Os
CMAKE_BUILD_TYPE
Multiple -O flags may be passed, while only the last one takes effect. This results in unpredictable behavior.
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DROCKSDB_LITE=On && make -j48 VERBOSE=1 db_bench ... [ 2%] Building CXX object CMakeFiles/rocksdb-shared.dir/cache/cache.cc.o /bin/c++ ... -Os -O2 ... ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
When setting
ROCKSDB_LITE=On
in cmake, the compiler should be passed one-O
flag (probably-Os
?) regardless of theCMAKE_BUILD_TYPE
.Actual behavior
Multiple
-O
flags may be passed, while only the last one takes effect. This results in unpredictable behavior.Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: