Repository navigation
Commit c4d858d
committed
bazel: stop carrying build files bazel-orfs can generate
ORFS is an immutable store of reference designs, scripts, PDKs and
metadata. It is not a build system, and its CI does not run one: no
workflow in .github/workflows/ invokes bazel. Every file deleted here
exists solely for bazel-orfs, an out-of-tree consumer, which can now
generate or carry all of it.
Deleted:
56 flow/designs/<platform>/<design>/BUILD
Every one is exactly two lines of content:
load("//flow/designs:design.bzl", "design")
design(config = "config.mk")
bazel-orfs generates these for any design directory that has a
config.mk and no BUILD.
2 flow/BUILD, flow/util/BUILD
The orfs_pdk targets, the makefile/makefile_yosys filegroups and
the exports_files globs over platforms/. bazel-orfs generates
these too; orfs_pdk has to be declared inside this repository
because a glob() only sees its own, and generating the BUILD is
what lets the glob run here while the rule lives with the rules.
3 MODULE.bazel, BUILD.bazel, bazel/BUILD
MODULE.bazel's remaining job was orfs_designs() and a pip
requirements lock for the bazel-only python targets. bazel-orfs
declares orfs_designs() itself now. BUILD.bazel wraps
bazel/install.sh; bazel/README.md and install.sh are kept, since
they document the docker-image path and are not bazel packages.
Kept deliberately: the other ~116 design BUILD files, which declare
files() groups or genuinely per-design rules, and flow/designs/design.bzl
which they load. A files() group name is not derivable from a
directory's contents -- src/cva6 declares files("verilog") while holding
no .v or .sv, and prim/rtl holds both .sv and .svh but declares
files("include") -- because the name is decided by what other configs
reference. Those follow only if and when bazel-orfs carries them
explicitly.
Zero effect on this repository's own CI, which never invoked bazel.
Verification, from a bazel-orfs workspace pinned at this commit:
bazelisk query '@orfs//flow/designs/...:*'
lists 4135 targets, byte-identical to the same query before this commit
-- 0 added, 0 lost. Measured, not predicted.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 8c06169 commit c4d858d
179 files changed
Lines changed: 0 additions & 1509 deletions
File tree
- bazel
- flow
- designs
- asap7
- aes-block
- aes-mbff
- aes_lvt
- aes
- cva6
- ethmac_lvt
- ethmac
- gcd-ccs
- gcd
- ibex
- jpeg_lvt
- jpeg
- minimal
- mock-alu
- mock-cpu
- riscv32i-mock-sram
- fakeram7_256x32
- riscv32i
- swerv_wrapper
- lef
- lib
- tinyRocket
- uart
- gf180
- aes-hybrid
- aes
- ibex
- jpeg
- riscv32i
- uart-blocks
- uart_rx
- ihp-sg13g2
- aes
- gcd
- i2c-gpio-expander
- I2cDeviceCtrl
- ibex
- jpeg
- riscv32i
- spi
- nangate45
- aes
- ariane133
- ariane136
- black_parrot
- bp_be_top
- bp_fe_top
- bp_multi_top
- bp_quad
- cva6
- dynamic_node
- gcd
- ibex
- jpeg
- mempool_group
- swerv_wrapper
- swerv
- tinyRocket
- sky130hd
- aes
- chameleon
- gds
- lef
- gcd
- ibex
- jpeg
- microwatt
- gds
- lef
- lib
- riscv32i
- sky130hs
- aes
- gcd
- ibex
- jpeg
- riscv32i
- src
- aes
- ariane133
- ariane136
- ariane
- black_parrot
- bp_be_top
- bp_fe_top
- bp_multi_top
- bp_quad
- chameleon
- AHB_sys_0
- APB_sys_0
- IPs
- apb2i2c
- acc
- ibex
- models
- coyote
- cva6
- common
- local
- util
- core
- cache_subsystem
- hpdcache
- rtl
- include
- src
- common
- macros
- blackbox
- hwpf_stride
- utils
- cva6_mmu
- cvfpu
- src
- common_cells
- include
- fpu_div_sqrt_mvp
- hdl
- cvxif_example
- include
- frontend
- include
- pmp
- src
- vendor
- pulp-platform
- axi
- src
- common_cells
- src
- tech_cells_generic
- src
- rtl
- dynamic_node
- ethmac
- fifo
- gcd
- ibex_sv
- syn
- rtl
- vendor
- lowrisc_ip
- prim
- rtl
- jpeg
- include
- mempool_group
- rtl
- axi
- src
- cluster_interconnect
- rtl
- tcdm_interconnect
- variable_latency_interconnect
- common_cells
- src
- deprecated
- mempool
- register_interface
- include
- register_interface
- snitch
- src
- snitch_icache
- tech_cells_generic
- src
- rtl
- microwatt
- IPs
- mock-alu
- mock-array
- riscv32i
- spi
- swerv
- tinyRocket
- uart-no-param
- uart
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments