rocksdb/build_tools
Andrew Kryczka 9b89479e64 Pass -latomic to linker when using clang
Summary:
clang compilation is failing due to a4fb1f8c04. In that commit I added a call to `std::atomic::is_lock_free` which was evidently relying on a compiler builtin only present in gcc.

Drawbacks to this fix are:

- users may need to install libatomic
- there might be cases where clang is used even though USE_CLANG is unset (e.g., when clang is the only available compiler). I didn't figure out how to add -latomic in those cases...

An alternative fix mentioned in http://lists.llvm.org/pipermail/llvm-bugs/2017-August/057263.html is using -stdlib=libc++ with clang.
Closes https://github.com/facebook/rocksdb/pull/3769

Differential Revision: D7756261

Pulled By: ajkr

fbshipit-source-id: 26888300683fa9970ab5950239d1aa217e8efd49
2018-04-25 12:13:41 -07:00
..
amalgamate.py
build_detect_platform Pass -latomic to linker when using clang 2018-04-25 12:13:41 -07:00
cont_integration.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
dependencies_4.8.1.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
fbcode_config.sh revert fbcode build behavior 2017-12-07 16:12:52 -08:00
fbcode_config4.8.1.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
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 Some small improvements to the build_tools 2018-04-02 23:57:41 -07:00