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 Refactor build_tools/build_detect_version 2014-01-06 08:44:43 +02:00
fbcode.clang31.sh Remove libevent 2013-11-18 21:33:16 -08:00
fbcode.gcc471.sh Add -DROCKSDB_FALLOCATE_PRESENT to fbcode build 2014-01-02 02:00:04 -08:00
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 util/env_posix.cc work under mac 2013-11-16 23:44:39 -08:00
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 Clean up the Makefile and the build scripts 2013-08-15 12:59:45 -07:00