rocksdb/build_tools
Evan Shaw 7a23e4d8ca New amalgamation target
This commit adds two new targets to the Makefile: rocksdb.cc and rocksdb.h

These files, when combined with the c.h header, are a self-contained RocksDB
source distribution called an amalgamation. (The name comes from SQLite's, which
is similar in concept.)

The main benefit of an amalgamation is that it's very easy to drop into a
new project. It also compiles faster compared to compiling individual source
files and potentially gives the compiler more opportunity to make optimizations
since it can see all functions at once.

rocksdb.cc and rocksdb.h are generated by a new script, amalgamate.py.
A detailed description of how amalgamate.py works is in a comment at the top of
the file.

There are also some small changes to existing files to enable the amalgamation:
* Use quotes for includes in unity build
* Fix an old header inclusion in util/xfunc.cc
* Move some includes outside ifdef in util/env_hdfs.cc
* Separate out tool sources in Makefile so they won't be included in unity.cc
* Unity build now produces a static library

Closes #733
2015-10-01 08:29:31 +13:00
..
amalgamate.py New amalgamation target 2015-10-01 08:29:31 +13:00
build_detect_platform Add gflags dependency to Travis script 2015-09-14 14:30:17 -07:00
dockerbuild.sh Move dockerbuild.sh to build_tools/ 2015-06-17 14:09:12 -07:00
fb_compile_mongo.sh set -e in fb_compile_mongo.sh 2015-06-29 11:43:25 -07:00
fbcode_config.sh Add ZSTD (not final format) compression type 2015-08-28 11:01:13 -07:00
fbcode_config4.8.1.sh Add ZSTD (not final format) compression type 2015-08-28 11:01:13 -07:00
format-diff.sh Check formatting in Travis 2015-09-17 22:02:05 -07:00
make_new_version.sh Fix make_new_version.sh 2015-03-10 17:24:33 -07: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
rocksdb-lego-determinator Minor fix to CI job definition 2015-09-25 14:54:51 -07:00
run_ci_db_test.ps1 Improve CI build and build switches 2015-09-29 12:22:48 -07:00
version.sh Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00