summaryrefslogtreecommitdiff
path: root/site_scons
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-30815 Library injections via LIBDEPS_DEPENDENTS should be privateAndrew Morrow2017-12-191-1/+12
| | | | But provide a way to force them public when needed
* SERVER-32130 stop printing arguments in code generation toolsMathias Stearn2017-12-081-1/+0
|
* SERVER-31800 Disable location information in ABI XMLAndrew Morrow2017-11-021-1/+1
|
* SERVER-30278 SCons icecream integrationAndrew Morrow2017-10-101-0/+161
|
* SERVER-31222 JSFile source member should not be a referenceJonathan Reams2017-09-291-4/+4
|
* SERVER-30815: fix string reprepresentation of libdeps librarytycho garen2017-09-221-0/+3
|
* SERVER-30661 Ignore non-truthy libdeps entriesAndrew Morrow2017-08-171-6/+6
|
* SERVER-30065 Do libdeps dependency types by section, not tupleAndrew Morrow2017-07-081-19/+16
|
* SERVER-29338 Switch to use Value node instead of Node class in compiledb toolWilliam Deegan2017-06-231-6/+39
| | | | | | Also use .write() and .read() methods on same to store entry information Signed-off-by: Gabriel Russell <gabriel.russell@mongodb.com>
* SERVER-27380 Revert "Revert "SERVER-27380 Re-enable the thin archive tool""Andrew Morrow2017-05-252-60/+74
| | | | This reverts commit b4e14a64d7f51846e7c7ed94047ac545e26dce25.
* Revert "SERVER-27380 Re-enable the thin archive tool"Max Hirschhorn2017-05-252-74/+60
| | | | This reverts commit 3e1461b80c42deda1f6b9478e2e574c6d88052f2.
* SERVER-27380 Re-enable the thin archive toolAndrew Morrow2017-05-242-60/+74
| | | | | | | | | | | | | | | | This refactors the thin_archive tool to use emitters and scanners to note that when linking to a thin archive, you must also depend on the children of that thin archive. Failing to do so is an error, because a changed .o does not necessarily lead to a different .a, which would subvert the SCons dependency mechanism. This also includes a refactoring of the ABILINK tool to use a similar mechanism, to achieve the opposite effect. For ABILINK, we want to depend not on the actual .so, but on the hash of its abidw result. We use emitters, actions, and scanners to produce an associated .abidw file for each .so we build, and then update the scanner to depend on the .abidw of our libraries, not the library itself. This allows us to elide needless relinks.
* SERVER-29220 Default to archive based linkingAndrew Morrow2017-05-241-0/+17
|
* SERVER-29042 Propagate DEVELOPER_DIR when setAndrew Morrow2017-05-221-0/+12
|
* SERVER-29110 Include IDL compiler output in the generated sources aliasAndrew Morrow2017-05-171-0/+2
|
* SERVER-29081 Add toBSON to IDL generated classesMark Benvenuto2017-05-121-7/+11
|
* SERVER-29036 The IDL compiler invocation must depend on the IDL compiler sourcesAndrew Morrow2017-05-021-1/+3
|
* SERVER-27320 Enable fine grained application of whole archive extractionAndrew Morrow2017-05-011-5/+24
|
* SERVER-28888 Ensure scanner stability across rebuildsAndrew Morrow2017-04-211-16/+7
| | | | | Also, a quick fix to eliminate a needless sort, since Node.sources is expected to be stable across rebuilds, unlike Node.sources_set
* SERVER-28515 Add import support to IDLMark Benvenuto2017-04-201-1/+19
|
* SERVER-28583 Split up mongo_scons_utils.py into site_scons/mongoAndrew Morrow2017-04-062-63/+72
|
* SERVER-28583 Move some functions down into site_scons modulesAndrew Morrow2017-04-062-0/+74
|
* SERVER-27505 Link libraries in topological orderAndrew Morrow2017-04-041-58/+92
|
* SERVER-28306 IDL Code GeneratorMark Benvenuto2017-03-291-0/+58
|
* SERVER-28390 Mark targets as Precious during incremental linksAndrew Morrow2017-03-211-0/+45
|
* SERVER-20540 Add an emitter for .dwo generated by -gsplit-dwarfAndrew Morrow2017-03-212-14/+85
|
* SERVER-28325 Clean up dependencies around unit and integration test list filesMathias Stearn2017-03-202-24/+14
| | | | | | | | | | * The integration_tests alias now depends on the individual tests directly rather than the whole directory. * Both list files now just depend on the list of tests rather than the tests themselves. * The string printed during execution is now evaluated at the right time so we don't need to print it separately. * Fix installing tests to the build/unitests/ directory on windows.
* SERVER-28324 Generate cpp files containing js strings outside of the scons ↵Mathias Stearn2017-03-201-9/+7
| | | | | | process This matches how the other python-generated source files work.
* SERVER-28099 Use key rather than cmp in libdeps.py sorted_by_strMathias Stearn2017-02-281-1/+1
| | | | | | | From the python docs: "In general, the key and reverse conversion processes are much faster than specifying an equivalent cmp function. This is because cmp is called multiple times for each list element while key and reverse touch each element only once."
* SERVER-14605 Make SYSLIBDEPS dependency order stable across SCons invocationsGabriel Russell2017-02-011-1/+1
|
* SERVER-27628 Use the overrided environment when generating compile_command.jsonKasper Laudrup2017-01-131-2/+3
| | | | | | | | | | | | | | | | When the compilation_db scons emitter saved compilation database entried it always used the "global" environment which might not match the compilation command line actually used to build the target. That meant that using eg.: env.Library("foo", ["foo.cpp"], CXXFLAGS=["-Dfoo"]) Would not write the extra "-Dfoo" flag actually used to build the foo library to the compile_commands.json file. Instead save the environment used to generate the target and use that when writing the compile_command.json entry.
* SERVER-27577 Only apply thin_archive handling to StaticLibraryAndrew Morrow2017-01-062-1/+1
| | | | | | | | | | | | | | By default on SCons, the Library and StaticLibrary builders are the same object, so adding the target_factory to StaticLibrary is sufficient. If they aren't the same, then even more important to only modify SaticLibrary, since Library may have been re-purposed to mean something else. In our case it does mean something different when using --link-model=dynamic, so this oversight inadvertently changed the signature calculations for dynamic libaries. Also includes a drive-by fix to add LoadableModule to the builders affected by the abilink.py tool, since a LoadableModule is also a shared library on the platforms where abidw is in play.
* SERVER-26642 use char arrays instead of str literals for js codeMatt Cotter2016-11-171-25/+25
|
* SERVER-26473 Implement the git based deciderAndrew Morrow2016-10-211-0/+69
|
* SERVER-26276 Enable thin static linking on binutils platformsAndrew Morrow2016-10-101-0/+83
|
* SERVER-25809 Add Executable Dependency Tracking for Dagger ProjectJuggls2016-08-254-13/+106
|
* SERVER-24838: add scons tool for capturing dependency graphJuggls2016-07-297-0/+1615
|
* SERVER-24988 Re-license useful SCons utilities as ApacheAndrew Morrow2016-07-123-30/+30
|
* SERVER-24555: make compilation_db compatible with scons 2.4Austin Steady2016-06-171-2/+3
| | | | Signed-off-by: Sam Kleinman <samk@10gen.com>
* SERVER-23103 Remove the unit test crutchAndrew Morrow2016-06-162-14/+0
|
* SERVER-16852 Print buildInfo in version output/allow override of buildInfoJonathan Reams2015-09-041-0/+63
|
* SERVER-9666 Tag cyclic or incomplete libraries, add more missing edgesAndrew Morrow2015-08-241-2/+10
|
* SERVER-9666 If abidw fails, fall back to contentsAndrew Morrow2015-08-241-4/+14
|
* SERVER-19447 implement SCons support for CPP integration testsAdam Midvidy2015-08-111-0/+50
| | | | - add evergreen tasks as well
* SERVER-9564 Honor user provided value for ABIDWAndrew Morrow2015-07-291-0/+1
|
* SERVER-13966 Differentiate library and program reverse dependenciesAndrew Morrow2015-07-281-26/+38
|
* SERVER-9564 When libabigail utils are present, minimize relinkingAndrew Morrow2015-07-242-2/+72
|
* SERVER-9564 Expose linking model choice as a build optionAndrew Morrow2015-07-231-5/+52
|
* 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
|