build: add Bazel workspace and toolchains

This commit is contained in:
Malte Poll 2023-01-30 17:15:59 +01:00 committed by Malte Poll
parent bec82c2328
commit 731b316766
19 changed files with 1222 additions and 0 deletions

10
tools/dnf-tree Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
bazel run --config linux_amd64_static //:bazeldnf -- fetch \
--repofile rpm/repo.yaml
bazel run --config linux_amd64_static //:bazeldnf -- rpmtree \
--workspace rpm/rpms.bzl \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name cryptsetup-devel \
cryptsetup-devel
bazel run --config linux_amd64_static //rpm:ldd