aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-22Automagic scan-build support.Jussi Pakkanen4-0/+54
2016-05-21Option for GCC STL debug mode.Jussi Pakkanen1-1/+6
2016-05-16cc.has_function: Don't forget to check for stubs in the fallback testNirbheek Chauhan1-3/+5
The fallback test was making the stub check on Linux/glibc completely useless. Fixes #535
2016-05-10Do not append a period to test suite names.Hemmo Nieminen1-1/+3
2016-05-10Merge pull request #531 from centricular/has_function_impl_fixJussi Pakkanen2-8/+20
cc.has_function: Also detect implementations and redefinitions by a provided header
2016-05-10Use CoreData.get_builtin_option() to get builtin option values.Hemmo Nieminen1-3/+3
2016-05-05Created an emergency wraptool that downloads directly from Github.Jussi Pakkanen2-3/+111
2016-05-03Better error message when compdb generation fails.Jussi Pakkanen1-1/+4
2016-05-04tests/common/43: Better, more descriptive error messagesNirbheek Chauhan1-6/+6
2016-05-04has_function: Also detect function implementations inside headersNirbheek Chauhan1-2/+14
This also detects when the header has re-defined the symbol to something else that is then provided by libc, which is also a case we want to support.
2016-05-01Merge pull request #516 from ↵Jussi Pakkanen4-28/+81
centricular/cross-compile_32bit-x86_on_64bit-x86_exe-wrapper Special-case the 32-bit executable on 64-bit x86 case while cross-compiling
2016-05-01Merge branch 'centricular-customtarget-path-windows'Jussi Pakkanen6-13/+141
2016-05-01Merge pull request #525 from minijackson/masterJussi Pakkanen2-2/+3
Use module path for getting scripts dir
2016-05-01Move all coverage reporting related files under $BUILD_DIR/meson-logs.Hemmo Nieminen1-6/+6
2016-04-28Fix argv count requirement in delwithsuffix.py scriptMinijackson1-1/+1
2016-04-28Use module path when looking for meson scripts dirMinijackson1-1/+2
2016-04-21Merge branch 'nioncode-vs-manygen'.Jussi Pakkanen3-16/+31
2016-04-21Merge pull request #521 from centricular/cc.links_run_unix_link_flagsJussi Pakkanen1-15/+3
compilers: Convert args to cc.{links,run} from unix to native
2016-04-21Fix a bug in coverage reporting.Hemmo Nieminen1-2/+2
The directory from where the source files are sought when producing a coverage report in text or XML format should not be the build directory but the source directory instead.
2016-04-19vs2010: add object files from custom_target to projectNicolas Schneider1-5/+12
Object files from a custom_target are like external objects and must be added to the project. Object files from a generator are automatically used by MSBuild, since they are part of the CustomBuildStep and thus part of the same project as the current build target.
2016-04-19vs2010: add generated libs as link dependenciesNicolas Schneider3-10/+14
2016-04-19vs2010: add dirs of custom_target generated files to include dirsNicolas Schneider1-3/+7
2016-04-19compilers: Remove outdated MSVC implementation of cc.find_libraryNirbheek Chauhan1-13/+0
With the change to cc.links to translate unix link flags, this is no longer needed and is wrong because it hasn't kept-up with the improved default cc.find_library implementation.
2016-04-19compilers: Convert args to cc.{links,run} from unix to nativeNirbheek Chauhan1-2/+3
This allows build files to pass -L and -l flags and have them converted automatically as needed.
2016-04-18scripts/meson_exe: prepend extra_paths to PATH instead of appendingNirbheek Chauhan1-1/+1
This way locally-built DLLs and EXEs are preferred over system-wide ones
2016-04-17CustomTarget: require install_dir only when install is true (#519)Nirbheek Chauhan1-5/+6
2016-04-17Regex used for configuration data substitution was too broad (#520)Nirbheek Chauhan1-1/+3
2016-04-16Merge msvc cross build fixes.Jussi Pakkanen1-1/+17
2016-04-15Fix symbol-exists check for cross_sizeof and add the same check to ↵Nirbheek Chauhan1-1/+9
cross_alignment The previous check was failing while checking pointer sizes such as void* due to a syntax error.
2016-04-15Fix off-by-one in cross_sizeof and cross_alignment on MSVCNirbheek Chauhan1-0/+8
2016-04-15backends: Don't duplicate test setup data file nameNirbheek Chauhan4-11/+6
Instead, return the values of the test and benchmark setup data files so that the ninja/osx/vs backends can use those filenames instead of hard-coding them.
2016-04-15ninja: Set PATH for CustomTargets with built EXEs on WindowsNirbheek Chauhan4-2/+135
When a CustomTarget is run with a command that is an executable built by the project which also has a DLL built in the same project as a dependency, the EXE can't run on Windows because the DLL can't be found. On UNIX-like systems, we set the RPATH using the linker so these dependencies can be found, but on Windows the only way is to set the PATH environment variable. The same problem exists for tests, so we reuse that infrastructure by creating a new meson_exe.py script that can be used as a wrapper to run CustomTarget commands on Windows. This can later also be extended to add support for setting an environment while calling the command needed to generate a CustomTarget: https://github.com/mesonbuild/meson/issues/266
2016-04-15Separate out cpu_method to environment.py and add amd64 quirkNirbheek Chauhan2-1/+8
2016-04-15Don't require an exe_wrapper when cross-compiling 32-bit on 64-bitNirbheek Chauhan4-27/+73
Almost all 64-bit x86 OSes can run 32-bit x86 binaries natively. Detect that case and don't require an exe wrapper.
2016-04-14On failure, print exceptions encountered while searching for compilers (#515)Nirbheek Chauhan1-9/+29
2016-04-14compilers: Fix cross_sizeof when the type doesn't exist (#514)Nirbheek Chauhan1-1/+11
compilers: Fix cross_sizeof when the type doesn't exist
2016-04-14Fix a bug (typo) seen when printing the logs from failed tests. (#513)trhd1-1/+1
2016-04-13Increment version number for new development.Jussi Pakkanen1-1/+1
2016-04-13Bump version number for release.0.31.0Jussi Pakkanen6-6/+6
2016-04-13Merge pull request #490 from centricular/has_function_linkJussi Pakkanen4-10/+122
Use the linker to check if a specific function is provided by the toolchain or runtime
2016-04-11compilers: Use compiler-specific no-optimization flagsNirbheek Chauhan1-2/+10
MSVC doesn't understand -O0. It uses -Od (or /Od) instead.
2016-04-09Strip leading source tree dir name from install files if it exists.Jussi Pakkanen4-1/+10
2016-04-07compilers: Debug optimization level should be -O0 (#509)Nirbheek Chauhan1-1/+3
Without any -O options, gcc does not generate properly debuggable code. > With no -O option at all, some compiler passes that collect information useful > for debugging do not run at all gcc recommends -Og, but that isn't supported by clang, so we use -O0 See https://github.com/mesonbuild/meson/pull/509 for more discussion
2016-04-07simplify unit test output (#506)Nicolas Schneider1-10/+11
Print status on single line only print a single line for succeeded tests and two lines for failed tests. This makes it easier to scan the output for failed tests.
2016-04-07gnome: only print warning when gresource-related functionality is used (#510)Tim-Philipp Müller1-2/+13
It's confusing to print this when using stuff that works just fine.
2016-04-07compilers: Also support built-in functions in cc.has_functionNirbheek Chauhan1-1/+8
2016-04-07Improve cc.has_function() check to not require any includes and detect stubsTim-Philipp Müller2-10/+60
We now use .links() to detect if a C compiler function is available or not, that way the user doesn't need to specify all the possible includes for the check, which simplifies things considerably. Also detect glibc stub functions that will never work and return false for them. Closes #437
2016-04-07New API: cc.has_header_symbol to check if a header defines a specific symbolNirbheek Chauhan3-0/+47
Also supports a 'prefix' keyword argument for feature checks such as _GNU_SOURCE or for headers that need to be included first
2016-04-06Merge pull request #438 from trhd/testing_optionsJussi Pakkanen22-198/+235
New options for controlling test output.
2016-04-06Merge pull request #503 from nioncode/windows-parallel-testJussi Pakkanen2-22/+30
Merge Windows parallel test fix.