The-OpenROAD-Project / megaboom

BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

Introduce bazel-orfs docker flow #29

Closed lpawelcz closed 2 months ago

lpawelcz commented 2 months ago

This PR pins the version of bazel-orfs to a revision that introduces the docker flow. Additional changes required to enable the flow in this repository include:

Additionally a simple CI setup was introduced to test basic build targets.

This PR depends on https://github.com/The-OpenROAD-Project/bazel-orfs/pull/16

lpawelcz commented 2 months ago

@oharboe here you can check the CI run for changes from this PR: https://github.com/antmicro/megaboom/actions/runs/8648096469

oharboe commented 2 months ago

continue testing on top of latest main

lpawelcz commented 2 months ago

@oharboe, please be aware that this PR pins the version of bazel-orfs to revision from forked repository which contains changes from https://github.com/The-OpenROAD-Project/bazel-orfs/pull/16. After merging bazel-orfs PR we will open a follow-up PR here in megaboom, which pins bazel-orfs to the upstream repo.

If you want to test with your local bazel-orfs it can be done with changing the git_override call in MODULE.bazel to:

local_path_override(
    module_name = "bazel-orfs", path = "../bazel-orfs"
)

It will be also required to modify docker_shell in your bazel-orfs local repo. You should add -v <path to bazel-orfs>:<path to bazel-orfs> to the docker run command line in such case.