summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-20defaults: Fix flag inheritanceOliver Reiche
... which should accumulate values from all base targets unless the flag type (CFLAGS, CXXFLAGS, or LDFLAGS) is explicity overwritten by the inheritor.
2023-11-09Merge subtree 'rules' into rules-ccKlaus Aehlig
2023-11-09Merge branch 'just-rules' into rulesKlaus Aehlig
2023-11-09["CC/auto", "config_file"] runner: let /usr/bin/env find python3Klaus T. Aehlig
... instead of assuming it to be installed under /usr/bin as we also do in other places. In this way, we do not make any additional assumptions on top of the already existing one on the path of env.
2023-09-29Merge subtree 'rules' into rules-ccKlaus Aehlig
2023-09-29Merge branch 'just-rules' into rulesKlaus Aehlig
2023-09-29rule ["patch", "defaults"]: remove unused config variable "TARGET_ARCH"Klaus Aehlig
2023-09-28Merge subtree 'rules' into rules-ccKlaus Aehlig
2023-09-28Merge branch 'just-rules' into rulesKlaus Aehlig
2023-09-28["CC/pkgconfig", "system_library"] Add -rpathKlaus Aehlig
When a shared library is picked up from the host system via pkg-config that is located at a non-standard location, binaries linked against this library by a standard linker either need LD_LIBRARY_PATH set appropriately, or -rpath set at link time. However, not all custom installations set -rpath in the link flags in their pkg-config file. Therefore, in order to get working binaries (and not have to set custom paths in tests), add a -rpath for every -L option found in the ldflags provided by pkg-config.
2023-09-27Merge subtree 'rules' into rules-ccOliver Reiche
2023-09-27foreign: Fix missing path unionOliver Reiche
2023-09-26Merge subtree 'rules' into rules-ccKlaus Aehlig
2023-09-26Merge branch 'just-rules' into rulesKlaus Aehlig
2023-09-26pkg-config files: properly terminate last lineKlaus Aehlig
2023-09-26Merge subtree 'rules' into rules-ccOliver Reiche
2023-09-26Merge branch 'just-rules' into rulesOliver Reiche
2023-09-25Fix pkg-config name for libprotobufOliver Reiche
2023-09-25Merge subtree 'rules' into rules-ccOliver Reiche
2023-09-25Merge branch 'just-rules' into rulesOliver Reiche
2023-09-25Use pkgconfig for default proto libsOliver Reiche
2023-09-18Update just dependency to 1.2.1Klaus Aehlig
2023-08-30Merge subtree 'rules' into rules-ccOliver Reiche
2023-08-30foreign: Implement 'expand_exec' via POSIX shellOliver Reiche
... and coreutils by default. This has the advantage that no C compiler and no specific toolchain definition is required to build rule-internal tools. 'expand_exec' is provided via an implicit target with proper config transition for host, so it could be overwritten by the rule user. The C code of the previous implementation is still kept as an example.
2023-08-29python: Add type hints and fix style in rules-cc scriptsPaul Cristian Sarbu
For maximum compatibility, we use the uppercase types from the typing package instead of the built-in types, therefore compliant with PEP 484 and PEP 526.
2023-08-29Merge subtree 'rules' into rules-ccPaul Cristian Sarbu
2023-08-29python: Add type hints and fix style in rules scriptsPaul Cristian Sarbu
For maximum compatibility, we use the uppercase types from the typing package instead of the built-in types, therefore compliant with PEP 484 and PEP 526.
2023-08-29Merge subtree 'rules' into rules-ccPaul Cristian Sarbu
2023-08-29Merge branch 'just-rules' into rulesPaul Cristian Sarbu
2023-08-29python: Add type hints and fix style in rules scriptsPaul Cristian Sarbu
2023-08-29Merge subtree 'rules' into rules-ccOliver Reiche
2023-08-29prebuilt: Use more robust typing importOliver Reiche
2023-08-28Update derived filesOliver Reiche
2023-08-28Merge branch 'just-rules' into rulesOliver Reiche
2023-08-28Merge subtree 'rules' into rules-ccOliver Reiche
2023-08-28Fix rule doc string of patch defaultsOliver Reiche
2023-08-25Update documentationOliver Reiche
2023-08-25doc: Add new rulesOliver Reiche
2023-08-25doc: List defaults firstOliver Reiche
2023-08-25defaults: Add defaults for foreign build toolsOliver Reiche
2023-08-25defaults: Fix patch defaults locationOliver Reiche
2023-08-25Merge subtree 'rules' into rules-ccOliver Reiche
2023-08-25foreign: Add support for ["foreign/CC/shell", "data"]Oliver Reiche
2023-08-25foreign: Fix resolve abs path of build toolsOliver Reiche
2023-08-25foreign: Support defaults for foreign rulesOliver Reiche
2023-08-25foreign: Resolve DESTDIR symlinks instead of deleting themOliver Reiche
2023-08-25foreign: Do not use "/usr/bin/which"Oliver Reiche
... because it is not part of the coreutils and we cannot rely on it being available.
2023-08-25foreign: Do not hardcode shell locationOliver Reiche
2023-08-25Update just dependency to 1.2.0 releaseKlaus Aehlig
2023-08-22Update documentationOliver Reiche