summaryrefslogtreecommitdiff
path: root/bin/bootstrap-traverser.py
AgeCommit message (Collapse)Author
2024-10-10bootstrap traversing: for explicit trees, create closed directoriesKlaus Aehlig
... by recursively copying and resolving sybolic links. In this way, references within a tree (e.g., #include "../Something.hpp") do not confuse the compiler, as opposed to directory symlinks. Neverthess, by doing this copying only for tree constructors, we still keep the overhead acceptable.
2023-08-29bootstrap-traverser.py: Add type hints and fix stylePaul 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-04-18bootstrap traverser: prefer hard over symlinksKlaus Aehlig
... as in this way, the setup is more close to the one used in our build tool. In particular, tools that search for auxilliary files relativ to their own location get confused less.
2023-04-18bootstrap-traverser: Support actions without inputsOliver Reiche
2022-10-12Add copyright and license notice to all source and header filesKlaus Aehlig
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com>
2022-05-12bootstrap-tarverser: normalize paths before creating directoriesKlaus Aehlig
... so that destinations like "foo/." are handled correctly. Also, support linking to "." in trees by only late creation of the input directory.
2022-04-27use kebab-case for all cmd line argsAlberto Sartori
2022-04-25upgrade from optparse to argparseAlberto Sartori
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>