rocksdb/build_tools
Igor Canadi 51023c3911 Make RocksDB compile for iOS
Summary:
I had to make number of changes to the code and Makefile:
* Add `make lib`, that will create static library without debug info. We need this to avoid growing binary too much. Currently it's 14MB.
* Remove cpuinfo() function and use __SSE4_2__ macro. We actually used the macro as part of Fast_CRC32() function.
As a result, I also accidentally fixed this issue: https://www.facebook.com/groups/rocksdb.dev/permalink/549700778461774/?stream_ref=2
* Remove __thread locals in OS_MACOSX

Test Plan: `make lib PLATFORM=IOS`

Reviewers: ljin, haobo, dhruba, sdong

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D17475
2014-04-04 13:11:44 -07:00
..
build_detect_platform Make RocksDB compile for iOS 2014-04-04 13:11:44 -07:00
build_detect_version
fbcode.clang31.sh
fbcode.gcc471.sh
fbcode.gcc481.sh Revert "Moving to glibc-fb" 2014-01-24 11:50:38 -08:00
format-diff.sh Misc cleanup on performance branch 2014-01-17 14:26:29 -08:00
mac-install-gflags.sh
make_new_version.sh Canonicalize "RocksDB" in make_new_version.sh 2014-01-29 10:19:34 -08:00
regression_build_test.sh Readrandom with tailing iterator 2014-02-07 09:47:47 -08:00
valgrind_test.sh