aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-28Remove HFS workaround as everyone should use APFS by now.killhfsJussi Pakkanen1-7/+0
2021-05-28Vala: Add missing FeatureNew() when C is missingXavier Claessens1-0/+1
It was previously an hard error, only permitted since 0.59.0.
2021-05-28Add a helper to simplify the usage of PerMachineDefaultableDylan Baker3-24/+29
2021-05-28tests: Add a test for dependencies with native set in a host == build ↵Dylan Baker2-0/+32
configuration
2021-05-28build: Use a PerMachineDefaultable for (project|global)[_link]_argsDylan Baker1-4/+15
2021-05-28coredata: Use a PerMachineDefaultable for the deps cacheDylan Baker1-5/+9
2021-05-28build: Use a PerMachineDefaultable for dependency override cacheDylan Baker1-2/+8
This way if we're doing a host == build configuration then the build and host dependencies will be stored correctly.
2021-05-28mesonlib: Allow PerMachineDefaultable to take arguments at initializationDylan Baker1-2/+2
2021-05-28dependencies/zlib: System Dependency needs a clib_compiler on windowsDylan Baker1-3/+8
Otherwise it'll except when it tries to get an attribute from None that doesn't exist.
2021-05-28mesonlib: Fix return type of PerMachineDefaultable.default_missing()Dylan Baker1-1/+1
2021-05-28build: fix type annotation importDylan Baker1-1/+1
2021-05-28modules/gnome: Correctly handle generated sources for generate_girDylan Baker3-7/+39
We need to pass any generated sources down the CustomTarget inititalizers so that they will generate a dependency correctly, otherwise we get race conditions.
2021-05-27test cases: Disable whole archive test on older VS IDEChun-wei Fan1-0/+4
The pre-2015 Visual Studio IDE do not handle things correctly for this test, so disable this.
2021-05-27MSVC: Always enable common tests 137 and 170Chun-wei Fan2-15/+0
This will test the "whole archive" and "generator link whole" for all Visual C++ versions.
2021-05-27ninjabackend.py: Implement `link_whole:` for pre-VS2015Chun-wei Fan1-3/+20
...Update 2, to be exact, since the Visual Studio linker only gained the `/WHOLEARCHIVE:` feature since Visual Studio 2015 Update 2. This checks whether we have the corresponding `cl.exe` which is versioned at or after Visual Studio 2015 Update 2 before we try to apply the `/WHOLEARCHIVE:xxx` linker flag. If we aren't, use built-in methods in Meson to grab the object files of the dependent static lib's, along with the objects that were `link_whole:`'ed into them, and feed this list into the linker instead. This would make `link_whole:` work on Visual Studio 2015 Update 1 and earlier, including previous Visual Studio versions.
2021-05-26Update chat info. [skip ci]Jussi Pakkanen1-4/+5
2021-05-23Also skip VS activation if gcc is found.Jussi Pakkanen1-0/+2
2021-05-23Fix double negative in 'No CMake binary not found'Jon Turney1-1/+1
2021-05-23Add swift executable support in Xcode.Jussi Pakkanen3-7/+14
2021-05-23Handle macOS filesystem sometimes setting lower digits to zero.Jussi Pakkanen1-1/+15
2021-05-23Fix text used to validate test output.Jussi Pakkanen1-1/+1
2021-05-23Rename VERSION because case insensitive file systems are a thing.Jussi Pakkanen2-1/+1
2021-05-23Merge pull request #8787 from mesonbuild/xcodeprojecttreeJussi Pakkanen1-54/+112
Rework Xcode project navigation tree
2021-05-23Merge pull request #8786 from jon-turney/cygwin-tests-reenableJussi Pakkanen11-34/+17
Re-enable various tests on Cygwin
2021-05-23Remove unnecessary hierarchical layer.Jussi Pakkanen1-10/+4
2021-05-23Remove top level sources entry as unnecessary.Jussi Pakkanen1-24/+6
2021-05-23Add meson.build files to pbxgroup.Jussi Pakkanen1-9/+31
2021-05-23Write project info in a tree structure rather than the current flat one.Jussi Pakkanen1-37/+97
2021-05-23Disable D test on macOS as it fails mysteriously.Jussi Pakkanen1-0/+5
2021-05-23It seems ld64 is the default linker name on macOS now.Jussi Pakkanen1-1/+5
2021-05-22Better detection of Visual Studio compilerJacob Nielsen1-0/+8
2021-05-21Fix LTO test on CygwinJon Turney4-8/+15
This partially reverts commit add502c6483bde9dc6a0ba80b3c79163304465a4. In 'linkshared' test, annotate cppfunc() as imported, so an indirection through an import stub is generated, avoiding a relocation size error when building using gcc for Cygwin with LTO on. Align with the example of how to write this portably in [1]. The 'c' language part of that test already gets this right. [1] http://gcc.gnu.org/wiki/Visibility
2021-05-20Revert "ci: Disable pytest-xdist on cygwin"Jon Turney1-2/+2
This reverts commit dce60c8f58798e0457a9bb24198adb039a0e6fdd.
2021-05-20Revert "Disable failing Cygwin GIR test."Jon Turney5-20/+0
This partially reverts commit add502c6483bde9dc6a0ba80b3c79163304465a4.
2021-05-20Revert "Disable broken asm test on Cygwin as nobody knows how to fix it."Jon Turney1-4/+0
This reverts commit 56a0e74d711fc050c6574e2da4e2f745da6a56f5.
2021-05-20vala: Test that adding C manually isn't requiuredDylan Baker1-1/+2
2021-05-19interpreter: Automatically add 'c' to languages when 'vala' is usedDylan Baker4-13/+7
This is so dumb, we can just insert C for you without you having to know that you're using C under the hood. This is nicer because: 1) Meson doesn't make the user add a language they're not explicitly using 2) If there was ever an implementaiton of Vala that didn't use C as it's assembly language, this wouldn't make any sense.
2021-05-19backends: use a set for processed targets instead of a dictDylan Baker2-4/+4
We're only interested in the keys, not in the value (which was always set to True), so a set is a better data structure anyway.
2021-05-19compilers: Add `get_debug_args` to base CompilerDylan Baker1-0/+4
This was missed, there should be an implementation in the base Compiler class, if for nothing else to help mypy
2021-05-19ninjabackend: Fix vala type annotationsDylan Baker1-24/+26
2021-05-19rust: override get_linker_always_argsDylan Baker2-2/+7
instead of opencoding what should be there in the rust compile rule
2021-05-19build: annotate can_compile_remove_sourcesDylan Baker1-1/+1
2021-05-19build: Simplify BuildTarget.process_sourcelistDylan Baker1-14/+14
2021-05-19interpreter: Pass unholdered sources into BuildTargetDylan Baker2-12/+16
The build level shouldn't be deal with interpreter objects, by the time they leave the intpreter they should be in the Meson middle layer representaiton
2021-05-19interpreter: Add docstring and fix types of source_strings_to_filesDylan Baker2-11/+24
2021-05-19.C files are now treated as C++ codeVolker-Weissmann4-6/+23
2021-05-18doc: Fix array syntax [skip ci]Tim McNamara1-1/+1
Adds a square bracket to create a valid array.
2021-05-18pkgconfig: Do not escape custom variablesXavier Claessens5-7/+52
We need to escape space in variables that gets into cflags or libs because otherwise we cannot split compiler args when paths contains spaces. But custom variables are unlikely to be path that gets used in cflags/libs, and escaping them cause regression in GStreamer that use space as separator in a list variable.
2021-05-18Merge pull request #8403 from dcbaker/submit/rust-fix-shared-internal-linkingJussi Pakkanen6-5/+88
Submit/rust fix shared internal linking
2021-05-18add cpu family cskyRandy Yates2-0/+2