aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05Fix unittests.Jussi Pakkanen2-7/+11
2019-07-05compilers: Add missing cflags when calling compiler in link modeMarvin Scholz1-10/+11
2019-07-05compilers: Fix missing cflags for function detectionMarvin Scholz1-4/+4
Fix #5481
2019-07-05Fix windres module argument flatteningePirat2-3/+4
2019-07-05Improve performance with windows defender ATPCharlie Barto3-9/+8
2019-07-05Document that add_languages() returns a boolean [skip ci] (#5600)Xavier Claessens1-1/+4
2019-07-05env: Do not return empty tool env varsMarvin Scholz1-0/+4
A compiler or other tool with an empty string as name does not make sense as it anyway can not be used and causes a failure later in parse_entry. Fix #5451
2019-07-03Return zero in cross_sizeofAbhishek Pandit-Subedi1-0/+1
There is an error when compiling with -Werror=return-type. Non void functions must return valid values.
2019-07-02dependencies/dev: Switch order of llvm dependency findersDylan Baker1-3/+3
Cmake ignores shared vs dynamic linking, and always returns static. This went unnoticed, but results in regresssions for mesa. We need to fix cmake, but with 0.51.1 due out shortly switching the order provides a quick fix to restore expected functionality seems acceptable. Fixes #5568
2019-07-02tests/llvm: Test both cmake and llvm-config methodsDylan Baker1-20/+24
2019-07-01mintro: Add installed subdirs introspection (fixes #5556)Daniel Mensinger2-0/+30
2019-07-01Use the same directory names for dist so that ccache works. Closes #5583.Jussi Pakkanen1-5/+9
2019-07-01Describe array values in install_dir. [skip ci]Jussi Pakkanen1-0/+21
2019-06-30xcodebackend: Fix iterating compilers after host/build changesDylan Baker1-1/+1
Fixes #5570
2019-06-28Remove build host mixing warning on nativeJohn Ericson1-5/+0
There are two problems with this: - It has false positives when the code that trips it is conditional and no run on cross. - It confuses users who never wrote any `native` flags and don't care about cross. Fixes #5509
2019-06-27Fix failing test_find_program test (Windows-only)Aleksey Gurtovoy1-5/+8
Skip finding a .py script w/o extension on Windows if `.PY` isn't in PATHEXT; closes #4355
2019-06-27Fix two errors when cross-compiling with ValaJames Westman2-2/+4
- AttributeError: 'ValaCompiler' object has no attribute 'get_program_dirs' Fixed by adding a `get_program_dirs()` function to the base Compiler class, to match `get_library_dirs()` - KeyError: 'vala_COMPILER' Fixed by creating the Vala compile rules for all machines, not just the build machine.
2019-06-27`add_{global,project}_{,link_}arguments`: simply native flag behaviorJohn Ericson5-67/+58
This further simplifies behavior to match the "build vs host" decision we did with `c_args` vs `build_c_args`. The rules are now simply: - `native: true` affects `native: true` targets - `native: false` affects `native: false` targets - No native flag is the same as `native: false` I like this because you don't even have to know what "build" and "host" mean to understand how it works, and it doesn't depend on whether the overall build is cross or not. Fixes #4933
2019-06-27meson_exe: Don't assert that we need an exe_wrapper when we say we don't ↵Dylan Baker2-5/+7
need one Fixes cross compiling mesa from x86_64 -> x86 on an x86_64 system. Fixes #5567
2019-06-27Improve error message when Python is not usable. [skip ci]Jussi Pakkanen1-1/+1
2019-06-27Fix faling test_msvc_toolset_version testAleksey Gurtovoy1-2/+6
VCToolsVersion is not always set, and MS docs recommend getting the info from a file
2019-06-27sanitycheckc: avoid linking sanitycheckc when cross compilingCody Schafer3-7/+14
2019-06-27gnome.py: correctly pick the compiler for gtk-doc buildsAlexander Kanavin1-4/+1
2019-06-27docs: Fix link to SourceSet module in the navbar [skip ci]Iñigo Martínez1-0/+1
2019-06-26dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross fileDylan Baker3-0/+16
In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like when you've mounted a host architecture system in an arbitrary path. Meson will now check the cross files for a [properties]:sys_root variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based on that variable. Fixes #3801 Fixes #4057
2019-06-26Switch to using Pyinstaller. Closes #5550.Jussi Pakkanen1-14/+18
Cx_freeze has not been updated in a long time and does not even work with Python > 3.5.
2019-06-25fortran-specific openMP testsMichael Hirsch, Ph.D2-0/+51
2019-06-24Merge pull request #5524 from scivision/icl_ifortDylan Baker9-32/+54
Add ifort on Windows
2019-06-25Split attribute visibilityDylan Baker3-3/+34
* c_function_attributes: remove 'protected' from 'visibility' This doesn't exist on macos with the apple compiler, which always causes failures. Fixes #5530 * compilers: Add split visibility checks to has_function_attribute These check for a single visibility at a time, rather than all four at once. This allows for finer grained searches, and should make using these checks safer across operating systems.
2019-06-24run_unitests: Skip the native_file_is_pipe test on cygwinDylan Baker1-1/+2
Since it hangs and causes azure to time out.
2019-06-24meson: add cache for getting optionsMarcel Hollerbach1-0/+1
calling this function too ~60 sec. before, now 0.000435 sec.
2019-06-24typoMichael Hirsch, Ph.D1-1/+1
2019-06-24known Python 3.5 on windows workaround for subprocess(cwd=str(Path))Michael Hirsch, Ph.D1-1/+2
2019-06-24only test if Zlib foundMichael Hirsch, Ph.D1-2/+6
2019-06-24windows ifort can't do shared_library sanelyMichael Hirsch, Ph.D2-4/+8
2019-06-24update compiler ID for windows INtel MPIMichael Hirsch, Ph.D1-1/+1
2019-06-24intel windows coarray argsMichael Hirsch, Ph.D2-1/+6
2019-06-24BUGFIX: typo for PGI C/CPPMichael Hirsch, Ph.D1-1/+1
2019-06-24correct missing argument for IntelClFortranCompilerMichael Hirsch, Ph.D5-23/+31
ifort passes all tests cleanup logic
2019-06-24Keep all build dirs inside the source tree.Jussi Pakkanen1-1/+1
VS and virus scanners complain when generating executables in temporary directories.
2019-06-23fortran 2003 use, non_instrinsicMichael Hirsch, Ph.D5-19/+61
incl inver
2019-06-23fortran submodule checksMichael Hirsch, Ph.D3-3/+7
fortran submodule checks
2019-06-23fortran include syntax checksMichael Hirsch, Ph.D4-3/+32
minvers
2019-06-23only --only option to run_project_tests, add type hints, improve variable ↵Michael Hirsch, Ph.D2-10/+38
name use
2019-06-23coredata: Correctly handle receiving a pipe for native/cross filesDylan Baker4-37/+83
* coredata: Correctly handle receiving a pipe for native/cross files In some cases a cross/native file may be a pipe, such as when using bash process replacement `meson --native-file <([binaries]llvm-config='/opt/bin/llvm-config')`, for example. In this case we copy the contents of the pipe into a file in the meson-private directory so we can create a proper ninja dependency, and be able to reload the file on --wipe/--reconfigure. This requires some extra negotiation to preserve these native/cross files. Fixes #5505 * run_unitests: Add a unit test for native files that are pipes Using mkfifo.
2019-06-23windows project_test speedup by 2Michael Hirsch, Ph.D1-1/+2
2019-06-23BUGFIX: Fortran module regex handle more edge casesMichael Hirsch, Ph.D4-4/+15
2019-06-23compilers: Fix bitcode and other options for objc codeNirbheek Chauhan8-9/+45
We were setting the base options for the Objective-C compiler manually, due to which options such as b_bitcode and b_ndebug were not getting set at all. The base options here are the same as for C code with the Clang compiler, so just use the same inherited list. Also expand the bitcode test to ObjC and ObjC++ so this doesn't happen again.
2019-06-22Do not check for DOS line endings in log files.Jussi Pakkanen1-0/+2
2019-06-22Increase logging for Rust CI failures.Jussi Pakkanen1-3/+11