diff options
author | Tobias Markmann <tm@ayena.de> | 2018-07-13 15:20:36 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2018-09-26 14:05:36 (GMT) |
commit | 1536284a15743f6ec41d3230177a24d245158a9d (patch) | |
tree | 21216d18d93ddfc620e6b36dc28428c5d5b71775 /3rdParty | |
parent | 091f6e520694360a0407ab0cf3bb036fb461e6e3 (diff) | |
download | swift-1536284a15743f6ec41d3230177a24d245158a9d.zip swift-1536284a15743f6ec41d3230177a24d245158a9d.tar.bz2 |
Update SCons in 3rdParty from 2.4.0 to 3.0.1
This also has our scons patch in 3rdParty/SCons applied.
Test-Information:
Builds with unit tests on macOS 10.13.6.
Change-Id: I25d3662eeec27a76dab10d501ba46dc16f0bef4b
Diffstat (limited to '3rdParty')
1879 files changed, 515830 insertions, 81012 deletions
diff --git a/3rdParty/SCons/scons-2.4.0/CHANGES.txt b/3rdParty/SCons/scons-2.4.0/CHANGES.txt deleted file mode 100644 index 5f96a23..0000000 --- a/3rdParty/SCons/scons-2.4.0/CHANGES.txt +++ /dev/null @@ -1,5899 +0,0 @@ - - - SCons - a software construction tool - - Change Log - -RELEASE 2.4.0 - Mon, 21 Sep 2015 09:07:51 -0700 - - From Dirk Baechle: - - Switched several core classes to use "slots", to - reduce the overall memory consumption in large - projects (fixes #2180, #2178, #2198) - - Memoizer counting uses decorators now, instead of - the old metaclasses approach. - - From Andrew Featherstone - - Fixed typo in SWIGPATH description - -RELEASE 2.3.6 - Mon, 31 Jul 2015 14:35:03 -0700 - - From Rob Smith: - - Added support for Visual Studio 2015 - -RELEASE 2.3.5 - Mon, 17 Jun 2015 21:07:32 -0700 - - From Stephen Pollard: - - Documentation fixes for libraries.xml and - builders-writing.xml (#2989 and #2990) - - From William Deegan: - - Extended docs for InstallVersionedLib/SharedLibrary, - and added SKIP_WIN_PACKAGES argument to build script - bootstrap.py (PR #230, #3002). - - From William Blevins: - - Fixed symlink support (PR #227, #2395). - - Updated debug-count test case (PR #229). - - From Alexey Klimkin: - - Fixed incomplete LIBS flattening and substitution in - Program scanner(PR #205, #2954). - - From Dirk Baechle: - - Added new method rentry_exists_on_disk to Node.FS (PR #193). - - From Russel Winder: - - Fixed several D tests under the different OS. - - Add support for f08 file extensions for Fortran 2008 code. - - From Anatoly Techtonik: - - Show --config choices if no argument is specified (PR #202). - - Fixed build crash when XML toolchain isn't installed, and - activated compression for ZIP archives. - - From Alexandre Feblot: - - Fix for VersionedSharedLibrary under 'sunos' platform. - - Fixed dll link with precompiled headers on MSVC 2012 - - Added an 'exclude' parameter to Glob() - - From Laurent Marchelli: - - Support for multiple cmdargs (one per variant) in VS project files. - - Various improvements for TempFileMunge class. - - Added an implementation for Visual Studio users files (PR #209). - - From Dan Pidcock: - - Added support for the 'PlatformToolset' tag in VS project files (#2978). - - From James McCoy: - - Added support for '-isystem' to ParseFlags. - -RELEASE 2.3.4 - Mon, 27 Sep 2014 12:50:35 -0400 - - From Bernhard Walle and Dirk Baechle: - - Fixed the interactive mode, in connection with - Configure contexts (#2971). - - From Anatoly Techtonik: - - Fix EnsureSConsVersion warning when running packaged version - - From Russel Winder: - - Fix D tools for building shared libraries - -RELEASE 2.3.3 - Sun, 24 Aug 2014 21:08:33 -0400 - - From Roland Stark: - - Fixed false line length calculation in the TempFileMunge class (#2970). - - From Gary Oberbrunner: - - Improve SWIG detection - - From Russel Winder: - - Fix regression on Windows in D language update - - From Anatoly Techtonik: - - Do not fail on EnsureSConsVersion when running from checkout - - From Kendrick Boyd and Rob Managan: - - Fixed the newglossary action to work with VariantDir (LaTeX). - - From Manuel Francisco Naranjo: - - Added a default for the BUILDERS environment variable, - to prevent not defined exception on a Clone(). - - From Andrew Featherstone: - - Added description of CheckTypeSize method (#1991). - - Fixed handling of CPPDEFINE var in Append() - for several list-dict combinations (#2900). - - From William Blevins: - - Added test for Java derived-source dependency tree generation. - - Added Copy Action symlink soft-copy support (#2395). - - Various contributions to the documentation (UserGuide). - -RELEASE 2.3.2 - - From veon on bitbucket: - - Fixed handling of nested ifs in CPP scanner PreProcessor class. - - From Michael Haubenwallner: - - Respect user's CC/CXX values; don't always overwrite in generate() - - Delegate linker Tool.exists() to CC/CXX Tool.exists(). - - From Amir Szekely: - - Fixed NoClean() for multi-target builders (#2353). - - From Russel Winder: - - Revamp of the D language support. Tools for DMD, GDC and LDC provided - and integrated with the C and C++ linking. NOTE: This is only tested - with D v2. Support for D v1 is now deprecated. - - From Paweł Tomulik: - - Fix SConf tests that write output - - From Gary Oberbrunner: - - get default RPM architecture more robustly when building RPMs - - From Shane Gannon: - - Support for Visual Studio 2013 (12.0) - - From Sye van der Veen: - - Support for Visual Studio 12.0Exp, and fixes for earlier MSVS - versions. - - From Anatoly Techtonik: - - Several improvements for running scons.py from source: - * engine files form source directory take priority over all other - importable versions - * message about scons.py running from source is removed to fix tests - that were failing because of this extra line in the output - * error message when SCons import fails now lists lookup paths - - Remove support for QMTest harness from runtest.py - - Remove RPM and m4 from default tools on Windows - - BitKeeper, CVS, Perforce, RCS, SCCS are deprecated from default - tools and will be removed in future SCons versions to speed up - SCons initialization (it will still be possible to use these tools - explicitly) - - From Dirk Baechle: - - Update XML doc editor configuration - - Fix: Allow varlist to be specified as list of strings for Actions (#2754) - - From Rob Managan: - - Updated the TeX builder to support use of the -synctex=1 - option and the files it creates. - - Updated the TeX builder to correctly clean auxiliary files when - the biblatex package is used. - -RELEASE 2.3.1 - - From Andrew Featherstone: - - Added support for EPUB output format to the DocBook tool. - - From Tom Tanner: - - Stop leaking file handles to subprocesses by switching to using subprocess - always. - - Allow multiple options to be specified with --debug=a,b,c - - Add support for a readonly cache (--cache-readonly) - - Always print stats if requested - - Generally try harder to print out a message on build errors - - Adds a switch to warn on missing targets - - Add Pseudo command to mark targets which should not exist after - they are built. - - From Bogdan Tenea: - - Check for 8.3 filenames on cygwin as well as win32 to make variant_dir work properly. - - From Alexandre Feblot: - - Make sure SharedLibrary depends on all dependent libs (by depending on SHLINKCOM) - - From Stefan Sperling: - - Fixed the setup of linker flags for a versioned SharedLibrary - under OpenBSD (#2916). - - From Antonio Cavallo: - - Improve error if Visual Studio bat file not found. - - From Manuel Francisco Naranjo: - - Allow Subst.Literal string objects to be compared with each other, - so they work better in AddUnique() and Remove(). - - From David Rothenberger: - - Added cyglink linker that uses Cygwin naming conventions for - shared libraries and automatically generates import libraries. - - From Dirk Baechle: - - Update bootstrap.py so it can be used from any dir, to run - SCons from a source (non-installed) dir. - - Count statistics of instances are now collected only when - the --debug=count command-line option is used (#2922). - - Added release_target_info() to File nodes, which helps to - reduce memory consumption in clean builds and update runs - of large projects. - - Fixed the handling of long options in the command-line - parsing (#2929). - - Fixed misspelled variable in intelc.py (#2928). - - From Gary Oberbrunner: - - Test harness: fail_test() can now print a message to help debugging. - - From Anatoly Techtonik: - - Require rpmbuild when building SCons package. - - Print full stack on certain errors, for debugging. - - Improve documentation for Textfile builder. - - From William Deegan: - - VS2012 & VS2010 Resolve initialization issues by adding path to reg.exe - in shell used to run batch files. - - MSVC Support fixed defaulting TARGET_ARCH to HOST_ARCH. It should be - None if not explicitly set. - - MSVC Fixed issue where if more than one Architectures compilers are - detected, it would take the last one found, and not the first. - - From Philipp Kraus: - - Added optional ZIPROOT to Zip tool. - - From Dirk Baechle: - - Replaced old SGML-based documentation toolchain with a more modern - approach, that also requires less external dependencies (programs and - Python packages). Added a customized Docbook XSD for strict validation of - all input XML files. - - From Luca Falavigna: - - Fixed spelling errors in MAN pages (#2897). - - From Michael McDougall: - - Fixed description of ignore_case for EnumVariable in the - MAN page (#2774). - -RELEASE 2.3.0 - Mon, 02 Mar 2013 13:22:29 -0400 - - From Anatoly Techtonik: - - Added ability to run scripts/scons.py directly from source checkout - - Hide deprecated --debug={dtree,stree,tree} from --help output - - Error messages from option parser now include hints about valid choices - - Cleaned up some Python 1.5 and pre-2.3 code, so don't expect SCons - to run on anything less than Python 2.4 anymore - - Several fixes for runtest.py: - * exit with an error if no tests were found - * removed --noqmtest option - this behavior is by default - * replaced `-o FILE --xml` combination with `--xml FILE` - * changed `-o, --output FILE` option to capture stdout/stderr output - from runtest.py - - Remove os_spawnv_fix.diff patch required to enable parallel builds - support prior to Python 2.2 - - From Juan Lang: - - Fix WiX Tool to use .wixobj rather than .wxiobj for compiler output - - Support building with WiX releases after 2.0 - - From Alexey Klimkin: - - Fix nested LIBPATH expansion by flattening sequences in subst_path. - - From eyan on Bitbucket: - - Print target name with command execution time with --debug=time - - From Thomas Berg and Evgeny Podjachev: - - Fix subprocess spawning on Windows. Work around a Windows - bug that can crash python occasionally when using -jN. (#2449) - - From Dirk Baechle: - - Updated test framework to support dir and file fixtures and - added ability to test external (out-of-tree) tools (#2862). - See doc in QMTest/test-framework.rst. - - Fixed several errors in the test suite (Java paths, MSVS version - detection, Tool import), additionally - * provided MinGW command-line support for the CXX, AS and - Fortran tests, - * refactored the detection of the gcc version and the according - Fortran startup library, - * provided a new module rpmutils.py, wrapping the RPM naming rules - for target files and further hardware-dependent info (compatibility, - compiler flags, ...), - * added new test methods must_exist_one_of() and - must_not_exist_any_of() and - * removed Aegis support from runtest.py. (#2872) - - From Gary Oberbrunner: - - Add -jN support to runtest.py to run tests in parallel - - Add MSVC10 and MSVC11 support to get_output low-level bat script runner. - - Fix MSVS solution generation for VS11, and fixed tests. - - From Rob Managan: - - Updated the TeX builder to support the \newglossary command - in LaTeX's glossaries package and the files it creates. - - Improve support for new versions of biblatex in the TeX builder - so biber is called automatically if biblatex requires it. - - Add SHLIBVERSION as an option that tells SharedLibrary to build - a versioned shared library and create the required symlinks. - Add builder InstallVersionedLib to create the required symlinks - installing a versioned shared library. - -RELEASE 2.2.0 - Mon, 05 Aug 2012 15:37:48 +0000 - - From dubcanada on Bitbucket: - - Fix 32-bit Visual Express C++ on 64-bit Windows (generate 32-bit code) - - From Paweł Tomulik: - - Added gettext toolset - - Fixed FindSourceFiles to find final sources (leaf nodes). - - From Greg Ward: - - Allow Node objects in Java path (#2825) - - From Joshua Hughes: - - Make Windows not redefine builtin file as un-inheritable (#2857) - - Fix WINDOWS_INSERT_DEF on MinGW (Windows) (#2856) - - From smallbub on Bitbucket: - - Fix LINKCOMSTR, SHLINKCOMSTR, and LDMODULECOMSTR on Windows (#2833). - - From Mortoray: - - Make -s (silent mode) be silent about entering subdirs (#2976). - - Fix cloning of builders when cloning environment (#2821). - - From Gary Oberbrunner: - - Show valid Visual Studio architectures in error message - when user passes invalid arch. - - From Alexey Petruchik: - - Support for Microsoft Visual Studio 11 (both using it - and generating MSVS11 solution files). - - From Alexey Klimkin: - - Fixed the Taskmaster, curing spurious build failures in - multi-threaded runs (#2720). - - From Dirk Baechle: - - Improved documentation of command-line variables (#2809). - - Fixed scons-doc.py to properly convert main XML files (#2812). - - From Rob Managan: - - Updated the TeX builder to support LaTeX's multibib package. - - Updated the TeX builder to support LaTeX's biblatex package. - - Added support for using biber instead of bibtex by setting - env['BIBTEX'] = 'biber' - - From Arve Knudsen: - - Test for FORTRANPPFILESUFFIXES (#2129). - - -RELEASE 2.1.0 - Mon, 09 Sep 2011 20:54:57 -0700 - - From Anton Lazarev: - - Fix Windows resource compiler scanner to accept DOS line endings. - - From Matthias: - - Update MSVS documents to remove note indicating that only one - project is currently supported per solution file. - - From Grzegorz Bizoń: - - Fix long compile lines in batch mode by using TEMPFILE - - Fix MSVC_BATCH=False (was treating it as true) - - From Justin Gullingsrud: - - support -std=c++0x and related CXXFLAGS in pkgconfig (ParseFlags) - - From Vincent Beffara: - - Support -dylib_file in pkgconfig (ParseFlags) - - From Gary Oberbrunner and Sohail Somani: - - new construction variable WINDOWS_EMBED_MANIFEST to automatically - embed manifests in Windows EXEs and DLLs. - - From Gary Oberbrunner: - - Fix Visual Studio project generation when CPPPATH contains Dir nodes - - Ensure Visual Studio project is regenerated when CPPPATH or CPPDEFINES change - - Fix unicode error when using non-ASCII filenames with Copy or Install - - Put RPATH in LINKCOM rather than LINKFLAGS so resetting - LINKFLAGS doesn't kill RPATH - - Fix precompiled headers on Windows when variant dir name has spaces. - - Adding None to an Action no longer fails (just returns original action) - - New --debug=prepare option to show each target as it's being - prepared, whether or not anything needs to be done for it. - - New debug option --debug=duplicate to print a line for each - unlink/relink (or copy) of a variant file from its source file. - - Improve error message for EnumVariables to show legal values. - - Fix Intel compiler to sort versions >9 correctly (esp. on Linux) - - Fix Install() when the source and target are directories and the - target directory exists. - - From David Garcia Garzon: - - Fix Delete to be able to delete broken symlinks and dir - symlinks. - - From Imran Fanaswala and Robert Lehr: - - Handle .output file generated by bison/yacc properly. Cleaning it - when necessary. - - From Antoine Dechaume: - - Handle SWIG file where there is whitespace after the module name - properly. Previously the generated files would include - the whitespace. - - From Dmitry R.: - - Handle Environment in case __semi_deepcopy is None - - From Benoit Belley: - - - Much improved support for Windows UNC paths (\\SERVERNAME). - - From Jean-Baptiste Lab: - - - Fix problems with appending CPPDEFINES that contain - dictionaries, and related issues with Parse/MergeFlags and - CPPDEFINES. - - From Allen Weeks: - - - Fix for an issue with implicit-cache with multiple targets - when dependencies are removed on disk. - - From Evgeny Podjachev and Alexey Petruchick: - - - Support generation of Microsoft Visual Studio 2008 (9.0) - and 2010 (10.0) project and solution files. - - From Ken Deeter: - - - Fix a problem when FS Entries which are actually Dirs have builders. - - From Luca Falavigna: - - - Support Fortran 03 - - From Gary Oberbrunner: - - - Print the path to the SCons package in scons --version - - From Jean-Fran�ois Colson: - - - Improve Microsoft Visual Studio Solution generation, and fix - various errors in the generated solutions especially when using - MSVS_SCC_PROVIDER, and when generating multiple projects. The - construction variable MSVS_SCC_PROJECT_BASE_PATH, which never - worked properly, is removed. Users can use the new variable - MSVS_SCC_CONNECTION_ROOT instead if desired. - - From Anatoly Techtonik: - - - Use subprocess in bootstrap.py instead of os.execve to avoid - losing output control on Windows (http://bugs.python.org/issue9148) - - - Revert patch for adding SCons to App Paths, because standard cmd - shell doesn't search there. This is confusing, because `scons` can - be executed from explorer, but fail to start from console. - - - Fix broken installation with easy_install on Windows (issue #2051) - SCons traditionally installed in a way that allowed to run multiple - versions side by side. This custom logic was incompatible with - easy_install way of doing things. - - - Use epydoc module for generating API docs in HTML if command line - utility is not found in PATH. Actual for Windows. - - From Alexander Goomenyuk: - - - Add .sx to assembly source scanner list so .sx files - get their header file dependencies detected. - - From Arve Knudsen: - - - Set module metadata when loading site_scons/site_init.py - so it is treated as a proper module; __doc__, __file__ and - __name__ now refer to the site_init.py file. - - From Russel Winder: - - - Users Guide updates explaining that Tools can be packages as - well as python modules. - - From Gary Oberbrunner: - - - New systemwide and per-user site_scons dirs. - - From Dirk Baechle: - - - XML fixes in User's Guide. - - Fixed the detection of 'jar' and 'rmic' during - the initialization of the respective Tools (#2730). - - Improved docs for custom Decider functions and - custom Scanner objects (#2711, #2713). - - Corrected SWIG module names for generated *.i files (#2707). - - From Joe Zuntz: - - - Fixed a case-sensitivity problem with Fortran modules. - - From Bauke Conijn: - - - Added Users Guide example for auto-generated source code - - From Steven Knight: - - - Fix explicit dependencies (Depends()) on Nodes that don't have - attached Builders. - - - Fix use of the global Alias() function with command actions. - - From Matt Hughes: - - - Fix the ability to append to default $*FLAGS values (which are - implemented as CLVar instances) in a copied construction environment - without affecting the original construction environment's value. - - From Rob Managan: - - - Updated the TeX command strings to include a /D on Windows in - case the new directory is on a different drive letter. - - - Fixed the LaTeX scanner so dependencies are found in commands that - are broken across lines with a comment or have embedded spaces. - - - The TeX builders should now work with tex files that are generated - by another program. Thanks to Hans-Martin von Gaudecker for - isolating the cause of this bug. - - - Added support for INDEXSTYLE environment variable so makeindex can - find style files. - - - Added support for the bibunits package so we call bibtex on all - the bu*.aux files. - - - Add support of finding path information on OSX for TeX applications - MacPorts and Fink paths need to be added by the user - - From Russel Winder: - - - Add support for DMD version 2 (the phobos2 library). - - From William Deegan: - - - Add initial support for VS/VC 2010 (express and non-express versions) - - Remove warning for not finding MS VC/VS install. - "scons: warning: No version of Visual Studio compiler found - - C/C++ compilers most likely not set correctly" - - Add support for Linux 3.0 - - -RELEASE 2.0.1 - Mon, 15 Aug 2010 15:46:32 -0700 - - From Dirk Baechle: - - - Fix XML in documentation. - - From Joe Zuntz: - - - Fixed a case-sensitivity problem with Fortran modules. - - From Bauke Conijn: - - - Added Users Guide example for auto-generated source code - - From Steven Knight: - - - Fix explicit dependencies (Depends()) on Nodes that don't have - attached Builders. - - From Matt Hughes: - - - Fix the ability to append to default $*FLAGS values (which are - implemented as CLVar instances) in a copied construction environment - without affecting the original construction environment's value. - - From Rob Managan: - - - Updated the TeX command strings to include a /D on Windows in - case the new directory is on a different drive letter. - - - Fixed the LaTeX scanner so dependencies are found in commands that - are broken across lines with a comment or have embedded spaces. - - -RELEASE 2.0.0.final.0 - Mon, 14 Jun 2010 22:01:37 -0700 - - From Dirk Baechle: - - - Fix XML in documentation. - - From Steven Knight: - - - Provide forward compatibility for the 'profile' module. - - - Provide forward compatibility for the 'pickle' module. - - - Provide forward compatibility for the 'io' module. - - - Provide forward compatibility for the 'queue' module. - - - Provide forward compatibility for the 'collections' module. - - - Provide forward compatibility for the 'builtins' module. - - - Provide forward compatibility for 'sys.intern()'. - - - Convert to os.walk() from of os.path.walk(). - - - Remove compatibility logic no longer needed. - - - Add a '-3' option to runtest to print 3.x incompatibility warnings. - - - Convert old-style classes into new-style classes. - - - Fix "Ignoring corrupt sconsign entry" warnings when building - in a tree with a pre-2.0 .sconsign file. - - - Fix propagation from environment of VS*COMNTOOLS to resolve issues - initializing MSVC/MSVS/SDK issues. - - - Handle detecting Visual C++ on Python verions with upper-case - platform architectures like 'AMD64'. - - From W. Trevor King: - - - Revisions to README. - - From Greg Noel: - - - Apply numerous Python fixers to update code to more modern idioms. - Find where fixers should be applied to code in test strings and - apply the fixers there, too. - - - Write a fixer to convert string functions to string methods. - - - Modify the 'dict' fixer to be less conservative. - - - Modify the 'apply' fixer to handle more cases. - - - Create a modified 'types' fixer that converts types to 2.x - equivalents rather than 3.x equivalents. - - - Write a 'division' fixer to highlight uses of the old-style - division operator. Correct usage where needed. - - - Add forward compatibility for the new 'memoryview' function - (which replaces the 'buffer' function). - - - Add forward compatibility for the 'winreg' module. - - - Remove no-longer-needed 'platform' module. - - - Run tests with the '-3' option to Python 2.6 and clear up - various reported incompatibilities. - - - Comb out code paths specialized to Pythons older than 2.4. - - - Update deprecation warnings; most now become mandatory. - - - Start deprecation cycle for BuildDir() and build_dir. - - - Start deprecation cycle for SourceCode() and related factories - - - Fixed a problem with is_Dict() not identifying some objects derived - from UserDict. - - From Jim Randall: - - - Document the AllowSubstExceptions() function in the User's Guide. - - From William Deegan: - - - Migrate MSVC/MSVS/SDK improvements from 1.3 branch. - - -RELEASE 1.3.0 - Tue, 23 Mar 2010 21:44:19 -0400 - - From Steven Knight: - - - Update man page and documentation. - - From William Deegan (plus minor patch from Gary Oberbrunner): - - - Support Visual Studio 8.0 Express - -RELEASE 1.2.0.d20100306 - Sat, 06 Mar 2010 16:18:33 -0800 - - From Luca Falavigna: - - - Fix typos in the man page. - - From Gottfried Ganssauge: |