rocksdb/build_tools
Andrew Kryczka be421b0b16 portable sched_getcpu calls
Summary:
- added a feature test in build_detect_platform to check whether sched_getcpu() is available. glibc offers it only on some platforms (e.g., linux but not mac); this way should be easier than maintaining a list of platforms on which it's available.
- refactored PhysicalCoreID() to be simpler / less repetitive. ordered the conditional compilation clauses from most-to-least preferred
Closes https://github.com/facebook/rocksdb/pull/2272

Differential Revision: D5038093

Pulled By: ajkr

fbshipit-source-id: 81d7db3cc620250de220bdeb3194b2b3d7673de7
2017-05-10 12:29:23 -07:00
..
amalgamate.py New amalgamation target 2015-10-01 08:29:31 +13:00
build_detect_platform portable sched_getcpu calls 2017-05-10 12:29:23 -07:00
cont_integration.sh Fix the directory path for RocksDB repo 2016-12-27 22:24:16 -08:00
dependencies_4.8.1.sh Introduce Lua Extension: RocksLuaCompactionFilter 2016-11-16 15:39:12 -08:00
dependencies.sh Set VALGRIND_VER 2017-05-01 16:35:15 -07:00
dockerbuild.sh Move dockerbuild.sh to build_tools/ 2015-06-17 14:09:12 -07:00
error_filter.py Run release build for CLANG and GCC 4.8.1 in pre-commit tests too 2016-07-20 13:46:32 -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 portable sched_getcpu calls 2017-05-10 12:29:23 -07:00
fbcode_config.sh portable sched_getcpu calls 2017-05-10 12:29:23 -07:00
format-diff.sh updated solution if "make format" command fails 2017-03-21 11:09:10 -07:00
gnu_parallel Testing out parallel sandcastle changes 2016-07-27 11:58:57 -07:00
make_new_version.sh Pass in remote as a param to branch creation script 2017-04-13 16:12:04 -07:00
make_package.sh Update documentation to point at gcc 4.8 2016-10-29 12:09:17 -07: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 Remove disableDataSync option 2017-02-13 11:09:13 -08:00
rocksdb-lego-determinator non_shm CI should run tests on /tmp 2017-03-23 15:24:12 -07:00
run_ci_db_test.ps1 Fix suite exclisions 2017-05-10 11:12:38 -07:00
update_dependencies.sh Change Build Env to gcc-5 2017-04-14 11:12:56 -07:00
version.sh Version librocksdb.so 2017-01-24 11:09:10 -08:00