summaryrefslogtreecommitdiff
path: root/site_scons
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-19229 Only open tar archives in append mode if actually appendingJonathan Reams2015-07-011-3/+27
|
* SERVER-17789 Do not use option values to configure the variant directoryAndrew Morrow2015-06-121-0/+37
|
* SERVER-17782 SERVER-17329 Improve versioning and add distsrc to SConsJonathan Reams2015-05-212-0/+212
|
* SERVER-1424 Rewrite smoke.py.Max Hirschhorn2015-05-081-21/+0
| | | | | | | | | | | | | | Split out the passthrough tests into separate suites. The MongoDB deployment is started up by resmoke.py so that we can record the success/failure of each individual test in MCI. Added support for parallel execution of tests by dispatching to multiple MongoDB deployments. Added support for grouping different kinds of tests (e.g. C++ unit tests, dbtests, and jstests) so that they can be run together. This allows for customizability in specifying what tests to execute when changes are made to a particular part of the code.
* SERVER-17919 Add support for emitting a compilation databaseAndrew Morrow2015-04-131-0/+156
|
* SERVER-9560 Remove pre-compiled header support from sconsJonathan Reams2015-02-111-112/+0
|
* SERVER-1424 (re)smoke tag parsing and new test library, v0Greg Studer2014-09-181-0/+21
| | | | | | | | | Includes: - Smoke.py options for filtering by jstest tags - New resmoke.py test utility in v0 alpha - Lots of example resmoke configurations - SCons integration for unittests - Sample tagged jstests
* Revert "SERVER-1424 (re)smoke tag parsing and new test library, v0"Greg Studer2014-09-151-21/+0
| | | | This reverts commit fac5571f67e23a1339e20e0621bab0ba2a6b7163.
* SERVER-1424 (re)smoke tag parsing and new test library, v0Greg Studer2014-09-151-0/+21
| | | | | | | | | Includes: - Smoke.py options for filtering by jstest tags - New resmoke.py test utility in v0 alpha - Lots of example resmoke configurations - SCons integration for unittests - Sample tagged jstests
* SERVER-15190 Report detected libdeps cyclesAndrew Morrow2014-09-091-3/+3
|
* SERVER-14343 leaner include pathsAndrew Morrow2014-07-121-1/+5
|
* SERVER-13759: vcxproj generator improvementsMark Benvenuto2014-06-122-40/+57
| | | | | | | | | | 1. VCXProj now builds all .cpp files itself 2. Moved obj files to Build/ to keep repo clean 3. Split jstoh so that it can be called by vcxproj file 4. Make_Vcxproj - fixed to handle cl temp files, fixes now that vcxproj builds generated files, and fix _TARGET_ search and replace Note: Depends on python installation
* SERVER-13527 Eliminate unused module tests facilityAndrew Morrow2014-04-161-9/+1
|
* Have SCons print less when generating buildinfo.cpp and unittests.txt.Andy Schwerin2014-01-021-1/+3
|
* SERVER-9771 allow libdeps to process emitter intermediate output with ↵Eric Milkie2013-09-121-0/+5
| | | | targets that may be strings
* SERVER-9766 Don't fail the build on missing system libraries unless they are ↵Andrew Morrow2013-09-111-0/+24
| | | | in demand
* SERVER-9670 Use LIBDEPS to declare dependents in addition to prerequisites.Andy Schwerin2013-07-091-4/+21
| | | | | | | | | To achieve this, the "direct prerequisites" for a File node are stored in the node's attributes object, instead of in the build environment for the node. This allows the emitter for nodes to amend _other nodes_ prerequisites. After that, this change is trivial. Introduce a LIBDEPS_DEPENDENTS environment variable that sets the named dependents of a node, while the existing LIBDEPS variable may be considered the direct prerequisites.
* Fix SYSLIBDEPS to not add empty libraries to link list, to match LIBDEPS' ↵Eric Milkie2013-06-061-2/+3
| | | | behavior
* SERVER-7892 Do not strip indentation in JavaScript source codeTad Marshall2013-03-181-1/+1
| | | | | V8 displays source code "as-is", so if we remove indentation then it won't be there when users display "built-in" shell helper source code.
* SERVER-7490 Fix SYSLIBDEPS when a syslibdep is specified as a file path.Andy Schwerin2013-01-031-2/+12
| | | | Also, don't sort syslibdeps, since order matters on some OSes.
* SERVER-7473 Provide functionality for registering "module" tests in SCons.Andy Schwerin2012-10-311-0/+8
| | | | | | These tests exist to facilitate writing integration tests for MongoDB modules, and could also be used to register integration tests for core MongoDB components that are not written as jstests or dbtests.
* SERVER-7410 Fix SYSLIBDEPS functionalityAndy Schwerin2012-10-231-18/+36
| | | | | | | The previous implementation was not recursively following the LIBDEPS hierarchy, looking for SYSLIBDEPS to add. Instead, it was trying to walk a hierachy like LIBDEPS rooted in the SYSLIBDEPS variable. This isn't really a meaningful behavior, since SYSLIBDEPS always list system libraries, which are always leaf nodes in the dependency graph for our build system.
* Move StringData to base/string_data.hMathias Stearn2012-09-261-1/+1
|
* SERVER-6960 Always link object files and static archives in the same order.Andrew Schwerin2012-09-071-2/+2
| | | | | | | | | | | SCons (correctly) considers two link command lines different if the order of object files or static libraries changes. As a result, the libdeps system needs to produce consistent ordering of these files in the $_LIBDEPS expansion. This patch achieves this by sorting the _LIBDEPS candidate expansion by the string name of the expanded objects. This problem is akin to that from SERVER-5254, which was solved in a similar manner.
* Add libdeps to signatures for built items.Andy Schwerin2012-08-101-10/+0
|
* put unittess in build/unittests for simpler testingEliot Horowitz2012-06-131-0/+1
|
* add NO_CRUTCH option for CppUnit testsEliot Horowitz2012-06-131-2/+12
|
* SERVER-5702: Add ability to register unit tests in SCons.Andy Schwerin2012-06-041-0/+33
| | | | | | | | Tests are registered with env.RegisterUnitTest(), or by compiling a C++ unit test with env.CppUnitTest('test_name', [test_source_list], LIBDEPS=[...]) The result is that SCons knows how to build a file "build/unittests.txt", one line per test.
* SERVER-5254: Make LIBDEPS dependency order stable across SCons invocations.Andy Schwerin2012-03-301-2/+18
| | | | | | | Turns out that SCons.Node objects are compared on object identity (pointer), not some value that's stable across invocations of SCons. We now sort by the "name" of the node (its string representation), instead, which stops spurious builds.
* hopefully last 32-bit solaris hack, seems to work for all 3 types of binariesEliot Horowitz2012-01-301-1/+5
|
* fix windows python issueEliot Horowitz2012-01-301-1/+1
|
* different hack for 32-bit solarisEliot Horowitz2012-01-301-1/+8
|
* SCons: Change implementation of MergeLibrary, to make its behavior ↵Andy Schwerin2012-01-203-84/+16
| | | | | | consistent on Windows and Posix systems.
* SCons: Modify the libdeps module to support two methods for linking libdeps ↵Andy Schwerin2012-01-201-1/+13
| | | | | | | | | | | | | | | | | into programs. This is used to fix linking of programs on Windows that depend on static initializer execution in object files that don't contain symbols referenced directly by the program at compile time (i.e., Command registration). It also unifies the compilation of these sorts of programs on Windows and POSIX systems, eliminating the use of a MergeLibrary when linking mongod and mongos. This extension to libdeps could also be used to reimagine MergeLibrary to have an implementation shared between Posix and Windows systems. The existing MergeLibrary system uses relocatable objects on Posix systems, and thus could behave differently from the one on Windows, with respect to the exeuction of static initializers. That change is recommended future work.
* SCons: Fix Solaris 64-bit support.Andy Schwerin2012-01-181-1/+1
|
* Fix build break for old versions of SCons.Andy Schwerin2012-01-171-0/+1
| | | | | | Newer versions of SCons are more consistent about making lists out of TARGET and SOURCE fields than older (1.2.0 and older) versions. This patch bandaids that problem, which was exposed by the libdeps module.
* SCons updates to support variant directories.Andy Schwerin2012-01-176-0/+454
This patch is a reorganization of our build files, which brings them slightly closer in line with standard SCons organization. In particular, the SConstruct file sets up the various "build environment" objects, by examining the local system and command line parameters. Then, it delegates to some SConscript files, which describe build rules, like how to compile "mongod" from source. Typically, you would create several SConscript files for a project this large, after breaking the project into logical sub projects, such as "platform abstraction", "data manager", "query optimizer", etc. That will be future work. For now, we only separate out the special rules for executing smoke tests into SConscript.smoke. Pretty much all other build rules are in src/mongo/SConscript. "tools" are placed in site_scons/site_tools. This patch also includes better support for building and tracking dependencies among static libraries ("libdeps" and "MergeLibrary"), and some incumbent, minor restructuring. This patch introduces a "warning" message from SCons about framework.o having two rules that generate it. It is harmless, for now, and will be removed in future work. Future work also includes eliminating use of the SCons "Glob" utility, and restructuring the source code into sensible components.