Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-11 | ["CC/foreign/shell", "data"] honor shell toolchain | Klaus Aehlig | |
2024-06-11 | foreign rules: fix computation of absolute paths | Klaus Aehlig | |
When setting CC, etc, in foreign rules, it is often useful to have it set as absolute path. This originally was achieved using realpath(1). This, however, implies that symbolic links are followed as well, which confuses some compilers if they are not called with correct argv[0]. Therefore, 4e86f756bddca8db402502be47c0825e1e2aeb0d tries to replace this by concatenation with $(pwd), which, however, is only correct for tools brought locally by the toolchain. Hence fix the test by not evaluating it in the shell at all and rather using the knowledge about toolchain versus system tools that the rules have anyway. | |||
2024-05-22 | CC/foreign: support shell toolchain | Klaus Aehlig | |
2023-11-30 | CC/foreign/shell rules: avoid empty path segment | Klaus Aehlig | |
... and hence accidentally picking up executables from the current working directory. | |||
2023-11-20 | foreign: Implement shell library | Oliver Reiche | |
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 | 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-09-27 | foreign: Fix missing path union | 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-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-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-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-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 | |
2023-05-31 | Update cmake rules to honor dependencies | Sascha Roloff | |
2023-05-30 | rules-cc/foreign: Set rpath | Oliver Reiche | |
2023-05-30 | rules-cc/foreign: Support toolchain deps | Oliver Reiche | |
2023-05-30 | rules-cc/foreign: Also redirect stderr to log file | Oliver Reiche | |
2023-05-30 | rules-cc/foreign/make: Support configure step | Oliver Reiche | |
2023-05-30 | rules-cc/foreign/make: Support multiple targets | Oliver Reiche | |
2023-05-30 | rules-cc/foreign: Support project sub-directory | Oliver Reiche | |
2023-05-30 | rules-cc: Support for external toolchains | Oliver Reiche | |
2023-05-30 | rules-cc: Use field_map_provider for default-ENV | Oliver Reiche | |
2023-05-16 | Set CMAKE_{SOURCE,BINARY}_DIR in cmake build environment | Sascha Roloff | |
Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> | |||
2023-05-16 | Remove CMAKE_BUILD_PARALLEL_LEVEL from cmake build environment | Sascha Roloff | |
Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> | |||
2023-01-31 | Support "CC/foreign/make" data and library | Oliver Reiche | |
2023-01-31 | cmake: Support setting number of build jobs | Oliver Reiche | |
2023-01-31 | cmake: Support pre_cmds and post_cmds | Oliver Reiche | |
2023-01-31 | cmake: Remove ineffective CMAKE_AR from configure arguments | Oliver Reiche | |
2023-01-31 | Fix result of ["CC/foreign/cmake", "data"] | Oliver Reiche | |
2023-01-26 | Support creating libraries from CMake project | Oliver Reiche | |