summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-29Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-29["shell/test", "script"] Keep computed pathKlaus Aehlig
... instead of throwing it away after correctly computing it. Fixes the environment if the shell defaults bring a custom path.
2024-05-28["shell", "cmds"]: correctly join PATHKlaus Aehlig
... as shell environment variable has to be a string, not a list.
2024-05-28docs: include shell defaults and cmds in overviewKlaus Aehlig
2024-05-28Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-28New rule ["shell", "cmds"]Klaus Aehlig
Add a new rule to execute shell comands, honoring the shell tool chain. Is is done in such a way, that coreutils (in particular, pwd) can also come from the binary dirs of the shell tool chain.
2024-05-28["shell", "defaults"] add field "bin dirs"Klaus Aehlig
... to declare directories inside the toolchain that contain additional binaries.
2024-05-27Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-27Merge branch 'just-rules' into rulesKlaus Aehlig
2024-05-27CC: if no CC/CXX/AR is provided via the toolchain, default to cc/c++/arKlaus Aehlig
... instead of defaulting to "". In this way, an empty default target can be used as toolchain defaults for systems with default names.
2024-05-24Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-24Merge branch 'just-rules' into rulesKlaus Aehlig
2024-05-24Prefer built-in array access over implementing "first" and "last" using foldlKlaus Aehlig
2024-05-23Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-23Merge branch 'just-rules' into rulesKlaus Aehlig
2024-05-23["CC/pkgconfig", "system_library"]: honor shell toolchainKlaus Aehlig
... instead of hard-coding /bin/sh.
2024-05-22Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-22CC/foreign: support shell toolchainKlaus Aehlig
2024-05-22Add test for creating shared lib from object libOliver Reiche
2024-05-21Merge subtree 'rules' into rules-ccOliver Reiche
2024-05-21Support creating shared lib from object libOliver Reiche
2024-05-21Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-05-21Merge branch 'just-rules' into rulesKlaus Aehlig
2024-05-21["CC/auto", "config"] also honor shell-toolchain-provided PATHKlaus Aehlig
2024-05-15Use defaults as shell defaultsKlaus Aehlig
2024-05-15Update just reference to 1.4.0-alpha+20240515Klaus Aehlig
... to bring in the required defaults for the protobuf build.
2024-05-15Merge commit '4788e56dae6f6c1367084c064e62eb1b86d5583f' into rules/rules-ccKlaus Aehlig
2024-05-15Merge branch 'just-rules' into rulesKlaus Aehlig
2024-05-15Add shell defaultsKlaus Aehlig
So far, our rules, where depending on the shell, implicitly use "normal" defaults, hard-coded in the rules. Support configuring those in a default target, in the same way we do so for other tools, like the C compiler. In this, it is also possible to bring your own shell, built as a (compiled) target.
2024-05-13Update docsPaul Cristian Sarbu
2024-05-13Merge commit '1365efcaa32c7f4752e3caaa7e45c81b4ed7e3d8' into HEADPaul Cristian Sarbu
2024-05-13Merge commit '07924d28e81fe36ddb8e020552a7392fcf1227a0' into HEADPaul Cristian Sarbu
2024-05-13rules: Support staging debug artifacts in install-with-deps rulePaul Cristian Sarbu
The existing rule is extended to also stage source files if in debug mode, in order for a debugger to be able to find all needed symbols. Conflicting paths are allowed; in case of conflicts, the file from the closest target in the dependency chain wins.
2024-05-13install-with-deps result: Remove unneeded importsPaul Cristian Sarbu
2024-05-06Merge commit '81374a006d99c0a1276b9a46350a72ab48d2ded9' into HEADKlaus Aehlig
2024-05-06Merge commit '3b1d1e390b0de137a32bc5c4a8865e5417b3673b' into HEADKlaus Aehlig
2024-05-04["CC/pkgconfig", "system_library"]: honor ENV also for aux actionKlaus T. Aehlig
Our pkg config rule postprocesses the output of pkgconfig to add options -rpath where appropriate. This postprocessing, however, relies on (standard) tools from the environment, in particular cat(1). Therefore, the environment (in particular PATH) needs to be set properly for this auxilliary action.
2024-05-03Update derived filesOliver Reiche
2024-05-03Update to latest just releaseOliver Reiche
2024-05-03Add tests for object_only libraryOliver Reiche
2024-05-03Merge commit '5b23ba149a136c2669eda62be24deb0da5d31120' into rules/rules-ccOliver Reiche
2024-05-03Implement object_only libraryOliver Reiche
2024-04-29Update derived filesKlaus Aehlig
2024-04-29Merge branch 'just-rules' into rulesKlaus Aehlig
2024-04-29Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-04-29["CC", "defaults"] rule: Add "ADD_COMPILE_FLAGS"Klaus Aehlig
The C++ programming language is tightly related to the C programming language. Consequently, the command line interface for C and C++ are also related and share quite a number of compile flags. Honor this tight connection by have in our defaults a field allowing to extend both compile flags, those for C as well as those for C++. In this way, build defaults can be described in a more readable way.
2024-04-29Update derived filesKlaus Aehlig
2024-04-29Merge branch 'just-rules' into rulesKlaus Aehlig
2024-04-29Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-04-29["CC/test", "test"]: support TIMEOUT_SCALEKlaus Aehlig
... to allow test actions to have a larger time out, while not changing anything in the build actions (and hence being able to use cache hits from normal build of the library being tested).