Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-20 | foreign: Only resolve symlinks on user request | Oliver Reiche | |
2023-11-20 | foreign: Do not follow symlinks of tool paths | Oliver Reiche | |
2023-11-20 | prebuilt: Consider "deps" for flag reader inputs | Oliver Reiche | |
... so that if e.g., libfoo depends on libbar via "deps", the flag "-lbar" should be filtered out from the flag file generated via pkg-config from file foo.pc. Omitting these flags is always correct, due to those libraries being part of the explicit link dependencies already. | |||
2023-11-20 | defaults: Fix flag inheritance | Oliver 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-09 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-11-09 | ["CC/auto", "config_file"] runner: let /usr/bin/env find python3 | Klaus 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-28 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-09-28 | ["CC/pkgconfig", "system_library"] Add -rpath | Klaus 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-27 | foreign: Fix missing path union | Oliver Reiche | |
2023-09-26 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-09-26 | pkg-config files: properly terminate last line | Klaus Aehlig | |
2023-09-26 | Merge branch 'just-rules' into rules | Oliver Reiche | |
2023-09-25 | Fix pkg-config name for libprotobuf | Oliver Reiche | |
2023-09-25 | Merge branch 'just-rules' into rules | Oliver Reiche | |
2023-09-25 | Use pkgconfig for default proto libs | Oliver Reiche | |
2023-08-30 | foreign: Implement 'expand_exec' via POSIX shell | Oliver 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-29 | python: Add type hints and fix style in rules scripts | Paul 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-29 | Merge branch 'just-rules' into rules | Paul Cristian Sarbu | |
2023-08-29 | python: Add type hints and fix style in rules scripts | Paul Cristian Sarbu | |
2023-08-29 | prebuilt: Use more robust typing import | Oliver Reiche | |
2023-08-25 | foreign: Add support for ["foreign/CC/shell", "data"] | Oliver Reiche | |
2023-08-25 | foreign: Fix resolve abs path of build tools | Oliver Reiche | |
2023-08-25 | foreign: Support defaults for foreign rules | Oliver Reiche | |
2023-08-25 | foreign: Resolve DESTDIR symlinks instead of deleting them | Oliver Reiche | |
2023-08-25 | foreign: 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-25 | foreign: Do not hardcode shell location | Oliver Reiche | |
2023-08-21 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-08-21 | rules: Add documentation for the implict dependencies | Klaus Aehlig | |
2023-08-17 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-08-17 | ["CC/test", "test"] rename implict dependency | Klaus Aehlig | |
... and document at the appropriate place | |||
2023-08-17 | ["CC/auto", "config_file"] rename implicit target | Klaus Aehlig | |
... and mention it at the appropriate part of the documentation. While there, also provide a default TARGETS file. | |||
2023-08-17 | ["shell/test", "script"] Rename implicit dependencies | Klaus Aehlig | |
... and document at the appropriate places what can be overwritten by setting those targets. | |||
2023-08-16 | rules: Propagate PATH list from defaults | Oliver Reiche | |
... instead of creating an ENV from it and propagating this. The idea is to keep PATH entries separate and only join them with ":" when we need it. In this way, we can accumulate PATHs from multiple defaults later, and perform a deduplication ("nub_left") to shorten the final string length. | |||
2023-08-16 | Merge branch 'rules/oss' into rules/rules-cc-rules | Oliver Reiche | |
2023-08-16 | rules: Support BUILD_ARCH for CC defaults | Oliver Reiche | |
2023-08-16 | rules: Propagate PATH list from defaults | Oliver Reiche | |
... instead of creating an ENV from it and propagating this. The idea is to keep PATH entries separate and only join them with ":" when we need it. In this way, we can accumulate PATHs from multiple defaults later, and perform a deduplication ("nub_left") to shorten the final string length. | |||
2023-08-16 | rules: Extend toolchains via defaults from base | Oliver Reiche | |
2023-08-16 | rules: Expression to get base providers as list | Oliver Reiche | |
2023-08-16 | rules: Remove pointless defaults | Oliver Reiche | |
2023-07-12 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-07-12 | ["CC/test", "test]: support target architecture | Klaus Aehlig | |
... provided it is specified on how to obtain a remote-execution endpoint for the given architecture; in this case, the test binary will be cross compiled for and run on that architecture. The actual building (as well as summarizing multiple test runs) happens on the default execution end point. | |||
2023-07-10 | cmake: Support "targets" field | Oliver Reiche | |
2023-07-10 | foreign: Support overriding defaults via options | Oliver Reiche | |
2023-07-10 | cmake: Make $(AR) available to options | Oliver Reiche | |
2023-07-10 | foreign: Support expanding env variables in options | Oliver Reiche | |
2023-07-10 | foreign: Expose localbase via env var $LOCALBASE | Oliver Reiche | |
2023-07-10 | make: Support staging of deps to localbase | Oliver Reiche | |
2023-06-16 | rules: Install pkgconfig files to $PREFIX/lib/pkgconfig | Oliver Reiche | |
2023-06-01 | CC/foreign rules: support timeout scaling | Klaus Aehlig | |
... and set a sensible default. | |||
2023-05-31 | foreign/make: Do not set -j without job number | Oliver Reiche | |