aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-06-17cargo: Fall back to the checksum in Cargo.lock metadata tableSebastian Wick2-1/+5
In ansi_term-0.12.1 the packages do not have a checksum entry but it can be found in the global metadata table.
2024-06-16BUG: Use an F77 snippet for sanity testing FortranRohit Goswami1-2/+2
Closes gh-13319
2024-06-14cargo: Load Cargo.lockXavier Claessens11-24/+147
Cargo.lock is essentially identical to subprojects/*.wrap files. When a (sub)project has a Cargo.lock file this allows automatic fallback for its cargo dependencies.
2024-06-14wrap: Clarify PackageDefinition APIXavier Claessens3-106/+113
This will simplify creating PackageDefinition objects from Cargo.lock file. It contains basically the same information.
2024-06-14Merge pull request #13307 from mesonbuild/optstorerefactorJussi Pakkanen43-354/+443
Convert OptionStore from a dict to a full class with named methods
2024-06-14Fix mypy.Jussi Pakkanen10-20/+30
2024-06-14Replace direct indexing with named methods.Jussi Pakkanen36-283/+327
2024-06-14Rename option variable to optstore to make it unique.Jussi Pakkanen30-150/+150
2024-06-12Merge pull request #13171 from amcn/mingw-python-limited-apiJussi Pakkanen6-74/+133
Python: Fix limited API under mingw
2024-06-11Python: link correct limited API lib on mingwAndrew McNulty1-2/+8
This commit fixes GH issue #13167 by linking to the correct library under MINGW when the 'limited_api' kwarg is specified.
2024-06-11Python: fix limited API logic under mingwAndrew McNulty1-6/+8
The Python Limited API support that was added in 1.2 had special handling of Windows, but the condition to check for Windows was not correct: it checked for MSVC and not for the target's OS. This causes mingw installations to not have the special handling applied. This commit fixes this to check explicitly for Windows.
2024-06-11Python: move Windows functions to dependency baseAndrew McNulty1-63/+62
This is in preparation for a future commit which makes it possible for a PythonPkgConfigDependency to be used in a context where previously only a PythonSystemDependency would be used.
2024-06-11unittests: Add Python unittest for limited APIAndrew McNulty1-1/+30
This new unittest runs the existing Python limited API test case, and checks that the resulting library was linked to the correct library.
2024-06-11Python: add load test to limited API testAndrew McNulty3-2/+25
Based on the example in GH issue #13167, the limited API test has been extended with a test to load the compiled module to ensure it can be loaded correctly.
2024-06-11Merge pull request #13303 from jwieleRH/manJussi Pakkanen1-0/+441
Update the meson man page.
2024-06-11Add help for meson format to the man page.John Wiele1-0/+47
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-10Add note about meson-python and installation pathEmil Melnikov2-1/+11
New people that want to use Meson for building Python extensions most probably will read Python module docs first. Direct them to meson-python and suggest to set `python.install_env=auto`.
2024-06-10java: use single javac invocation per jarMis0121-13/+21
Instead of invoking javac for every .java file, pass all of the sources for a jar target to a single javac invocation. This massively improves first compilation time and doesn't meaningfully affect incremental builds (it can even be faster in some cases). The old approach also had issues where files would not always get recompiled even though they should, necessitating a clean rebuild in order to see changes reflected in the build output. Multiple invocations seem to only make sense if: - issues with files not getting flagged for rebuild are investigated and fixed - something like the javaserver buildtool from openjdk sources is used instead of directly spawning javac processes - the amount of java files per jar is so large that it is faster to compile several files one by one than to compile all the files at once (batching may still make sense to get a reasonable balance)
2024-06-08Convert option from a plain dictionary into a named class.Jussi Pakkanen3-19/+54
2024-06-08Use helper method in remaining compiler classes.Jussi Pakkanen2-12/+14
2024-06-08Use helper method in Rust compiler class.Jussi Pakkanen1-2/+2
2024-06-08Use helper method in Fortran compiler classes.Jussi Pakkanen1-9/+9
2024-06-08Use helper method in C++ compiler classes.Jussi Pakkanen1-52/+60
2024-06-08Create helper method for lang opts and use in C compiler classes.Jussi Pakkanen2-34/+59
2024-06-07wrap: default values for netrc are empty string from python 3.11Ruben Gonzalez1-1/+1
From python 3.11 [1]: > The entry in the netrc file no longer needs to contain all tokens. The missing > tokens' value default to an empty string. All the tokens and their values now > can contain arbitrary characters, like whitespace and non-ASCII characters. > If the login name is anonymous, it won't trigger the security check. [1] https://github.com/python/cpython/commit/15409c720be0503131713e3d3abc1acd0da07378
2024-06-06Add help for meson env2mfile to the man page.John Wiele1-0/+59
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson devenv to the man page.John Wiele1-0/+40
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson compile to the man page.John Wiele1-0/+56
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson rewrite to the man page.John Wiele1-0/+47
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson subprojects to the man page.John Wiele1-0/+43
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson init to the man page.John Wiele1-0/+62
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson install to the man page.John Wiele1-0/+52
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-06Add help for meson dist to the man page.John Wiele1-0/+35
The added help text was derived from the output of the meson help command much like the markdown online help is derived.
2024-06-05Add -export_dynamic flag for AppleDynamicLinkerWolfgang Walther2-0/+15
The apple linker uses -export_dynamic instead of --export-dynamic [1]. This should be set when setting export_dynamic: true. Resolves #13290 [1]: https://opensource.apple.com/source/ld64/ld64-609/doc/man/man1/ld.1.auto.html
2024-06-05Merge pull request #13286 from mesonbuild/machinerefactorJussi Pakkanen10-135/+175
Extract MachineFile code to its own file
2024-06-04Extract native file parser to machinefile source file.Jussi Pakkanen7-110/+127
2024-06-03CI: clean up azure triggersEli Schwartz1-2/+2
2024-06-03CI: Windows: downgrade rust to 1.77Eli Schwartz1-6/+7
It started failing CI as soon as the default shifted to 1.78. Something is broken and it prevents running stable CI. Tracking issue opened. We pin the version because that is the same way we handle CI for linux -- with the exception that Linux CI can upgrade itself as soon as we fix issues causing the CI Image Builder to jam itself, whereas unfortunately Windows will need to be manually unpinned, but such is life as a Windows supporter. Bug: #13236
2024-06-03xcode: Skip generating PBXBuildStyle on Xcode 9 and aboveAlbert Tang1-9/+12
This was removed on Xcode 9, so only generate it for Xcode 8.3.3 and lower.
2024-06-03xcode: Generate files for highest detected versionAlbert Tang1-2/+2
Some settings require "objectVersion" to be set to a certain value or Xcode will not use it. To fix this, we set it to the highest possible value, determined by the detected version of Xcode. We also set "compatibilityVersion", but mainly so it lines up with "objectVersion". At the same time, we should not be generating Xcode 3.2-compatible projects by default anyway.
2024-06-03xcode: Detect installed version of XcodeAlbert Tang1-1/+31
This will allow for generating project files more specific to certain versions of Xcode without breaking compatibility.
2024-06-02Create a directory for machine files used in unit tests.Jussi Pakkanen3-34/+31
2024-06-02Start moving machine files to their own store.Jussi Pakkanen2-1/+27
2024-06-01mintro: write humman-readable JSONFilipe Laíns1-1/+1
Signed-off-by: Filipe Laíns <lains@riseup.net>
2024-05-31Explain how to add preprocessor defines in FAQ.mdEmil Melnikov1-0/+13
See https://github.com/mesonbuild/meson/issues/6269 for the discussion. Co-authored-by: Eli Schwartz <eschwartz93@gmail.com>
2024-05-30CI: make cuda tests even run to begin withEli Schwartz3-6/+3
Arch profile.d scripts were converted to use an appending function that disappears when /etc/profile exits, and overall are simply not suitable -- any more -- for sourcing individually. (I will freely admit I'm not really sure what the overall goal of refraining from sourcing /etc/profile itself is. Arguably it's kind of misuse of the profile...) This silently broke the cuda tests, which never ran because the cuda compiler was not detected as available. While we are at it, I guess we can convert gentoo to use the same trick of appending it in install.sh
2024-05-30cuda: avoid test failure without GPU availableDavid Seifert1-2/+6
Fixes #13269
2024-05-29cuda: add test for late `add_languages('cuda')`David Seifert1-1/+4
2024-05-29cuda: disable thin archives when cuda is added through ↵David Seifert2-8/+11
`add_languages('cuda')` later
2024-05-26docs: Update GIMP meson adoptionBruno1-1/+1
The master branch isn't in experimental state anymore.