This PR introduces dependency on bazel-orfs where build_openroad macro is defined. It also deletes from megaboom repository all files that were moved to bazel-orfs in https://github.com/Pinata-Consulting/bazel-orfs/pull/1 and are no longer needed here.
One additional required change is the introduction of entrypoint makefile. Its purpose is to include config.mk from bazel-orfs in order to workaround issues created by running make targets defined in bazel-orfs repository. by having this entrypoint makefile, targets are defined in the root of the bazel sandbox and not in external/bazel-orfs subdirectory of the sandbox which allows to provide correct paths to megaboom dependencies like e.g.: SDC or Verilog files.
Path to include config.mk is provided through BAZEL_ORFS environment variable which is set in bazel-orfs.
This PR depends on https://github.com/Pinata-Consulting/bazel-orfs/pull/1 and https://github.com/Pinata-Consulting/bazel-orfs/pull/2. Please do not merge this PR before https://github.com/Pinata-Consulting/bazel-orfs/pull/1 and https://github.com/Pinata-Consulting/bazel-orfs/pull/2 are merged. Once it is done we will update the first commit (https://github.com/The-OpenROAD-Project/megaboom/commit/da75b29075ee78903d0f811fa84fbedd342c9d15) which introduces dependency on
bazel-orfs
to use updated version of this repository and we will convert this PR from draft to regular PR.This PR introduces dependency on
bazel-orfs
wherebuild_openroad
macro is defined. It also deletes from megaboom repository all files that were moved tobazel-orfs
in https://github.com/Pinata-Consulting/bazel-orfs/pull/1 and are no longer needed here.One additional required change is the introduction of
entrypoint
makefile. Its purpose is to includeconfig.mk
frombazel-orfs
in order to workaround issues created by running make targets defined inbazel-orfs
repository. by having this entrypoint makefile, targets are defined in the root of the bazel sandbox and not inexternal/bazel-orfs
subdirectory of the sandbox which allows to provide correct paths to megaboom dependencies like e.g.: SDC or Verilog files. Path to includeconfig.mk
is provided throughBAZEL_ORFS
environment variable which is set inbazel-orfs
.