rocksdb/build_tools
Igor Sugak 4d98e29352 rocksdb: Enable scan-build static analysis
Summary:
Added new target ##make analyze## into Makefile. This command runs clang static analyzer and builds the sources as ##make all##. The result report is put into ##$(RocksDbSourceRoot)/can_build_report/##

If the development environment is a Facebook devserver and ##ROCKSDB_NO_FBCODE## is not set, then scan-build is used from fbcode. If it is run not on a Facebook devserver, scan-build should be available in ##$PATH##. I'll add details to wiki how to install scan-build on a non Facebook devserver environment.

Test Plan:
Run the fallowing commands on a Facebook devserver and Mac OS, and ensure no build or test errors.

```
% make all check -j32
% make clean
% USE_CLANG=1 make all -j32
% make analyze
% USE_CLANG=1 make analyze
```

Reviewers: sdong, lgalanis, leveldb, igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D32799
2015-02-03 21:43:06 -08:00
..
build_detect_platform rocksdb: Enable scan-build static analysis 2015-02-03 21:43:06 -08:00
build_detect_version Refactor build_tools/build_detect_version 2014-01-06 08:44:43 +02:00
fbcode_config4.8.1.sh Return the build with 4.8.1 2015-01-23 14:51:27 -08:00
fbcode_config.sh rocksdb: Enable scan-build static analysis 2015-02-03 21:43:06 -08:00
format-diff.sh Misc cleanup on performance branch 2014-01-17 14:26:29 -08:00
make_new_version.sh Create new branch instead of tag in make_new_version 2014-04-29 13:22:34 -04:00
make_package.sh Package generation for Ubuntu and CentOS 2014-09-29 16:09:46 -07:00
regression_build_test.sh Add db_bench with lots of column families to regression tests 2014-09-05 14:20:18 -07:00
unity Compile MemEnv with standard RocksDB library 2015-01-29 16:33:11 -08:00
valgrind_test.sh Clean up the Makefile and the build scripts 2013-08-15 12:59:45 -07:00
version.sh Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00