Revision 6fdda8ac4d59d5edfac42994e614c7cfddd0def2 authored by Igor Sugak on 24 February 2015, 01:45:25 UTC, committed by Igor Sugak on 24 February 2015, 01:45:25 UTC
Summary:
* Updated Makefile to exit `make analyze` with status 1 if scan-build detected any bugs.
* scan-build automatically detects which c++ compiler to use, and some times is uses wrong ones (from $CPP). Added implicit parameters to use $CC and $CXX.
* Added `scan_build_report` directory to .gitignore file.
* Added `scan_build_report` directory to clean target.

Test Plan:
Run `make analyze` and verify that exit status is 1, if there are scan-build bugs detected.
Run `make clean` and verify that files in `scan_build_report` directory are deleted.
After running `make analyze; git status` and verify that no untracked files in `scan_build_report` directory.

Reviewers: meyering, sdong, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D33831
1 parent 96d989f
History
File Mode Size
build_tools
coverage
db
doc
examples
hdfs
include
java
linters
port
table
third-party
tools
util
utilities
.arcconfig -rw-r--r-- 446 bytes
.clang-format -rw-r--r-- 138 bytes
.gitignore -rw-r--r-- 489 bytes
.travis.yml -rw-r--r-- 1.0 KB
AUTHORS -rw-r--r-- 247 bytes
CONTRIBUTING.md -rw-r--r-- 733 bytes
HISTORY.md -rw-r--r-- 15.6 KB
INSTALL.md -rw-r--r-- 3.3 KB
LICENSE -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 25.5 KB
PATENTS -rw-r--r-- 1.4 KB
README.md -rw-r--r-- 1.2 KB
ROCKSDB_LITE.md -rw-r--r-- 1020 bytes
Vagrantfile -rw-r--r-- 285 bytes

README.md

back to top