18 Commits

Author SHA1 Message Date
Stone Tickle
43fd01492d delete some unused struct fields
found with cppcheck
2025-12-02 10:19:22 -05:00
Stone Tickle
69d726e77e refactor func impl definition for all funcs 2025-08-20 10:30:42 -04:00
Stone Tickle
766698c659 consolidate dependency link with processing 2025-04-07 12:40:02 -04:00
Stone Tickle
12e40d1c2c both libraries / dependency refactor
To support some of the newer both libraries features, namely
dep.as_shared, dep.as_static, and:
> When default_both_libraries is 'auto', both_libraries() with
> dependencies that are both_libs themselves will link with the same kind
> of library.
A partial refactor was required.  The main complication is that muon
preprocesses all dependencies into flat arrays of their components (e.g.
link_with, compile_args, etc.) at the time the dependency is created.
This includes flattening both_libs into a single path pointing to either
the shared or static lib.  There was already a crude system to track the
original dependency inputs when they were occasionally needed, but now
that system has been much more fleshed out.  Dependency objects should
now contain all the information needed to recreate them with different
options.

A few other changes were required as part of this refactor such as
supporting an option matrix in the project tests.
2025-03-26 06:35:48 -04:00
Stone Tickle
93c5d09bb6 track dependency machine / error on mismatch 2025-01-12 07:02:52 -05:00
Stone Tickle
fbaeb39618 dependencies refactor
- Properly support lookup methods and their ordering
- Add system dependency support
- Implement zlib dependency with some of the new features
- Update iconv/intl dependencies
2024-12-30 14:48:41 -06:00
Stone Tickle
10f795e6c6 clean up includes with clangd iwyu 2024-12-20 06:45:02 -05:00
Stone Tickle
5747da334d implement fs.copyfile installation 2024-12-20 06:15:21 -05:00
Stone Tickle
1889ad06ef expose build_dep_merge 2024-11-27 09:45:43 -05:00
Stone Tickle
34f74a070e analyzer re-impl #1 2024-05-09 12:51:20 -04:00
Stone Tickle
c2e1442d04 clang-format 2024-04-15 16:30:43 -04:00
Stone Tickle
6b41b7940f change native function signature
args_node is unnecessary now
2024-04-15 16:23:58 -04:00
Stone Tickle
6243153b82 rename rcvr -> self 2024-04-15 16:23:58 -04:00
Stone Tickle
4298aa2011
make muon reuse compliant
https://reuse.software
2022-10-25 10:54:31 -04:00
Stone Tickle
664760ea4f
install refactor
- separate install functionality to install.c and
  functions/kernel/install.c
- remove specialized install functions that are only used in 1 place
- implement preserve_path for push_install_targets
2022-08-12 08:01:05 -05:00
Stone Tickle
8f2c011c1d
add error handling to dep_process_link_with/whole 2022-07-13 15:25:56 -05:00
Stone Tickle
1799441ecf
support generated_list preserve_path_from: 2022-06-30 17:44:32 -05:00
Stone Tickle
9bc45128d3
rename functions/default to functions/kernel 2022-06-24 18:45:46 -05:00