| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-22 | dependencies: make arguments to InternalDependency.__init__ optional | Paolo Bonzini | |
| Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||
| 2025-12-17 | dependencies/coarrays: Remove dead code | Dylan Baker | |
| 2025-12-17 | dependencies: Remove `log_tried` method | Dylan Baker | |
| It's now only used to populate the DependencyCandidate, so we can remove it and just calculate the same information from the `type_name` parameter. This reduces code and the number of method calls. | |||
| 2025-12-17 | dependencies/detect: simplify logging tried methods | Dylan Baker | |
| Avoid extra method calls and repeating ourselves. | |||
| 2025-12-17 | dependencies: Catch non MesonException in detect and give better message | Dylan Baker | |
| 2025-12-17 | Dependencies: Make use of the DependencyCandidate class | Dylan Baker | |
| This makes the type checking more reasonable (including fixing an issue that newer mypy is pointing out to us), consolidating special cases, and improving code readability. | |||
| 2025-12-17 | dependencies: Add a wrapper class for Dependency candidates | Dylan Baker | |
| The goal is to have a single type for candidates that replaces having a mixture of class initializers, partials, and factories with a single wrapper class. | |||
| 2025-12-17 | dependencies: Require 'native' be passed in kwargs | Dylan Baker | |
| This simplifies a bunch of cases, and likely fixes some annoying bugs in cross compile situations where should have been passing this and weren't. | |||
| 2025-12-17 | dependencies: stop passing "language" as a keyword argument | Dylan Baker | |
| It's allowed in the `DependencyKeywordArguments` TypeDict already, so we now have two sources of truth. Additionally, it's often populated by reading from that dict, so we're just doing useless work. | |||
| 2025-12-17 | dependencies/framework: remove useless stringlistify call | Dylan Baker | |
| We have type checking that ensures this is a string list already. | |||
| 2025-12-17 | dependencies: Pass the `name` to `ExternalDependency` constructor | Dylan Baker | |
| So we don't create a default name that is overwritten except in the case of appleframeworks. This allows for some cleanup, including deleting some initializers that were only setting the name. | |||
| 2025-12-17 | dependencies: Move type_name to class level | Dylan Baker | |
| This is really class constant for all dependencies, and by taking it out of the initializer we make the `__init__` call have a more consistent interface. | |||
| 2025-12-17 | dependencies: Annotate the DependencyPackages class | Dylan Baker | |
| 2025-12-11 | MPI detection: support Intel MPI on Windows | Lisandro Dalcin | |
| Co-authored-by: Dylan Baker <dylan@pnwbakers.com> | |||
| 2025-12-11 | MPI detection: do not look for mpicc on Windows | Lisandro Dalcin | |
| 2025-12-08 | dependencies/ui.py: Improve Vulkan detection on Windows | Chun-wei Fan | |
| There now exists a Windows Vulkan SDK for ARM64, and the latest Vulkan SDKs for x64 Windows also provides ARM64 libraries and binaries for cross-builds (and vice-versa). So, now we have the following in the Vulkan SDKs: * Bin-ARM64 and Lib-ARM64 in x64 Windows SDKs that contains ARM64 Vulkan binaries and libraries. * Bin-X64 and Lib-X64 in ARM64 Windows SDKs that contains x64 Vulkan binaries and libraries * SDKs after 1.4.x (or so) no longer ships 32-bit Windows binaries and libraries. This updates the Vulkan detection logic to account for these differences so that the correct library is picked up upon linking on Windows, especially when cross-compiling ARM64 binaries on x64 Windows, and vice versa, while maintaining compatibility with native and 32-bit builds. | |||
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.get_define | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.compute_int | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.has_header | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.has_header_symbol | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.has_function | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.find_library | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.thread_flags | Dylan Baker | |
| Same logic as the openmp flags | |||
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.openmp_flags | Dylan Baker | |
| I've done the compile and link flags in one commit since they're so closely related | |||
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.get_library_dirs | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.get_return_value | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.find_framework | Dylan Baker | |
| Which, ironically, is passed down three levels and never used. | |||
| 2025-11-19 | compilers: Remove environment parameter from Compiler.find_framework_paths | Dylan Baker | |
| 2025-11-19 | compilers: Remove Environment parameter from Compiler.sanity_check | Dylan Baker | |
| 2025-11-19 | Compilers: remove Environment parameter from Compiler.links() | Dylan Baker | |
| 2025-10-31 | Fix: Add OpenMP 6.0 macro definition to implementation table | jaideepkathiresan | |
| 2025-10-31 | dependencies: remove copy of self.libtype being set | Dylan Baker | |
| This is a clear copy-n-paste or rebase error on my part. | |||
| 2025-10-29 | environment: move tool detection functions to a new module | Paolo Bonzini | |
| Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||
| 2025-10-29 | environment: move detection functions to envconfig.py | Paolo Bonzini | |
| Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||
| 2025-10-20 | dependencies: Add remaining internal arguments to Dependency classes | Dylan Baker | |
| These may be better replaced by setting instance attributes, honestly. | |||
| 2025-10-20 | dependencies: Add `silent` to known keyword arguments to Dependency | Dylan Baker | |
| 2025-10-20 | interpreter: remove dependency_kwargs | Dylan Baker | |
| Since it's basically unusued, but the DEPENDENCY_KWS can be used instead This requires changing the number of arguments from 19 to 20 because the `DEPENDENCY_KWS` includes `disabler`, but the `permitted_dependency_kwargs` does not. | |||
| 2025-10-20 | modules/python: port dependency embed to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency version to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency static to typed_kwargs | Dylan Baker | |
| Static must be optional, because although the default is static=false, we special case that static : false is different than static being not set in a number of cases. | |||
| 2025-10-20 | interpreter: port dependency required to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency private_headers to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency optional_modules to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency native to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency modules to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency method to typed_kwargs | Dylan Baker | |
| This allows us a bunch of nice things: 1. We can use the DependencyMethods enum everywhere 2. The deprecated methods can be checked in the Interpreter, so we can now emit deprecation warnings for stuff that was deperecated in 0.44! 3. We can share this more strongly typed method everywhere | |||
| 2025-10-20 | interpreter: port dependency main to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency language to typed_kwargs | Dylan Baker | |
| 2025-10-20 | interpreter: port dependency include_type to typed_kargs | Dylan Baker | |
| The cleanup this allows lower down points out that we don't properly validate the value passed to `as_system()`. I have no idea what happens if you pass a non-valid value, but it's a bug and I've simply made it a hard error. We can re-assess if necessary. | |||
| 2025-10-20 | interpreter: port dependencies components to typed_kwargs | Dylan Baker | |
