summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
Commit message (Collapse)AuthorAgeFilesLines
* Better check for when address sanitizer is enabled. Closes #2590.Jussi Pakkanen2017-11-091-1/+1
|
* Warn when no inc dir is found from parsing GNU compiler outputAlexis Jeandet2017-11-021-1/+4
| | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* Fix detection of include dirs with gnu compiler and non C localeAlexis Jeandet2017-11-011-1/+4
| | | | | | | Auto detection was based on parsing gcc's output so we have to ensure that it is always 'C'. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* C/C++: Get default include dirs from compilersNiklas Claesson2017-10-011-0/+39
|
* flake8: Perform suggested whitespace/formatting changesLuke Shumaker2017-09-211-1/+1
| | | | | This only touches newlines, spaces, and (occaisionally) commas. Anything else is left for another commit.
* Add Compiler.get_supported_arguments()Daniel Stone2017-08-311-0/+7
| | | | | | | | | | | | | Add a helper for the common pattern of: args_to_use = [] foreach arg : candidate_args if cc.has_argument(arg) args_to_use += arg endif endforeach Replaced with: args_to_use = cc.get_supported_arguments(candidate_args)
* Fix detection of clang "optimization arguments"Peter Harris2017-08-181-1/+4
| | | | | | | | | In version 3.6.0, clang added -Wignored-optimization-argument. Without setting this flag to -Werror, "ignored optimization arguments" such as (for example) -fpeel-loops, are accepted but warned about, leading to noisy builds if meson thinks the flag is supported. See also #755
* find_library: Ignore libs on MSVC properlyNirbheek Chauhan2017-07-231-0/+4
| | | | | | | | In addition to filtering libs out while generating the command-line, we must also filter them out in find_library() otherwise these libs will be detected as "found" on Windows with MSVC. Closes https://github.com/mesonbuild/meson/issues/1509
* CompilerArgs: Put start/end-group around shared libs tooNirbheek Chauhan2017-07-231-8/+15
| | | | Closes https://github.com/mesonbuild/meson/issues/2096
* Merged buildrpath branch.Jussi Pakkanen2017-07-211-2/+5
|\
| * Add build_rpath as new property allowing people to specify rpath entries ↔Jussi Pakkanen2017-07-211-2/+5
| | | | | | | | that are used in the build tree but will be removed on install.
* | Fix linking Objective-C shared libs on OSX.Alessandro Decina2017-07-211-2/+0
|/ | | | | | | | | | | This commit amends 04a2e6de making linker.get_std_shared_lib_link_args() always return -shared for SharedLibrary(es) instead of -bundle. SharedModule(s) get linked with linker.get_std_shared_module_link_args() which already correctly returns -bundle. Before this change -bundle and -install_name ended up being emitted for Objective-C shared libraries, which caused a linking error.
* Fix checks on MinGW and VS2010.Jussi Pakkanen2017-07-171-1/+1
|
* Added VS support to simd detector.Jussi Pakkanen2017-07-171-0/+24
|
* Fix a few OSX "features".Jussi Pakkanen2017-07-171-1/+1
|
* Created simd module.Jussi Pakkanen2017-07-171-0/+26
|
* Fix typoChocobo12017-07-161-1/+1
| | | | profile guide optimization -> profile guided optimization
* Fix how rpath directories are handled.Hemmo Nieminen2017-07-151-5/+1
| | | | | Linking a library from a directory below the executable's directory caused an invalid path to be written in the executable's RPATH.
* Allow both address- and undefined behavior sanitizers at the same timeGabrĂ­el ArthĂșr PĂ©tursson2017-07-151-1/+1
|
* Fix a missing path issue causing Python traceback.Hemmo Nieminen2017-06-291-0/+4
| | | | | A path was missing from a call to os.path.relpath when handling rpaths. Fix this by assuming empty target directory means build root.
* Merged Genie support.Jussi Pakkanen2017-06-271-1/+1
|\
| * Recognise .gs extension as a Vala sourceAlistair Thomas2017-06-261-1/+1
| |
* | compilers: Use 'get_display_language' for language-related exceptionsGuillaume Poirier-Morency2017-06-261-11/+11
| |
* | Add 'Compiler.get_display_language'Guillaume Poirier-Morency2017-06-261-0/+3
|/ | | | | Use this when we print language-related information to the console and via the Ninja backend.
* Split out languages from compilers.pyAlistair Thomas2017-06-231-2155/+1
|
* Converted compilers.py to a sub-packageAlistair Thomas2017-06-221-0/+3213