mirror of https://github.com/facebook/rocksdb.git
d518fe1da6
Summary: In attempting to build a static lib for use in iOS, I ran in to lots of type errors between uint64_t and size_t. This PR contains the changes I made to get `TARGET_OS=IOS make static_lib` to succeed while also getting Xcode to build successfully with the resulting `librocksdb.a` library imported. This also compiles for me on macOS and tests fine, but I'm really not sure if I made the correct decisions about where to `static_cast` and where to change types. Also up for discussion: is iOS worth supporting? Getting the static lib is just part one, we aren't providing any bridging headers or wrappers like the ObjectiveRocks project, it won't be a great experience. Closes https://github.com/facebook/rocksdb/pull/3503 Differential Revision: D7106457 Pulled By: gfosco fbshipit-source-id: 82ac2073de7e1f09b91f6b4faea91d18bd311f8e |
||
---|---|---|
.. | ||
RocksDBCommonHelper.php | ||
amalgamate.py | ||
build_detect_platform | ||
cont_integration.sh | ||
dependencies.sh | ||
dependencies_4.8.1.sh | ||
dockerbuild.sh | ||
error_filter.py | ||
fb_compile_mongo.sh | ||
fbcode_config.sh | ||
fbcode_config4.8.1.sh | ||
format-diff.sh | ||
gnu_parallel | ||
make_package.sh | ||
precommit_checker.py | ||
regression_build_test.sh | ||
rocksdb-lego-determinator | ||
run_ci_db_test.ps1 | ||
setup_centos7.sh | ||
update_dependencies.sh | ||
version.sh |