rocksdb/build_tools
Fosco Marotto d518fe1da6 uint64_t and size_t changes to compile for iOS
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
2018-03-06 12:43:51 -08:00
..
amalgamate.py New amalgamation target 2015-10-01 08:29:31 +13:00
build_detect_platform uint64_t and size_t changes to compile for iOS 2018-03-06 12:43:51 -08:00
cont_integration.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
dependencies_4.8.1.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
dependencies.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
dockerbuild.sh Fix /bin/bash shebangs 2017-08-03 15:56:46 -07:00
error_filter.py Change RocksDB License 2017-07-15 16:11:23 -07:00
fb_compile_mongo.sh set -e in fb_compile_mongo.sh 2015-06-29 11:43:25 -07:00
fbcode_config4.8.1.sh revert fbcode build behavior 2017-12-07 16:12:52 -08:00
fbcode_config.sh revert fbcode build behavior 2017-12-07 16:12:52 -08:00
format-diff.sh Fix /bin/bash shebangs 2017-08-03 15:56:46 -07:00
gnu_parallel Testing out parallel sandcastle changes 2016-07-27 11:58:57 -07:00
make_package.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
precommit_checker.py Use gcc-4.9-glibc-2.20-fb python in precommit_checker 2017-02-03 13:39:18 -08:00
regression_build_test.sh Fix /bin/bash shebangs 2017-08-03 15:56:46 -07:00
rocksdb-lego-determinator Legocastle job to report lite build binary size to scuba 2018-02-15 17:27:24 -08:00
RocksDBCommonHelper.php Update RocksDBCommonHelper to use escapeshellarg 2017-08-15 06:56:31 -07:00
run_ci_db_test.ps1 Windows cumulative patch 2018-03-06 11:57:43 -08:00
setup_centos7.sh Adding CentOS 7 Vagrantfile & build script 2018-02-26 15:27:17 -08:00
update_dependencies.sh update dependencies.sh 2017-08-31 15:26:24 -07:00
version.sh Version librocksdb.so 2017-01-24 11:09:10 -08:00