Update BCR presubmit config and fix build dependencies
- Update .bcr/presubmit.yml for iverilog project * Replace icestorm targets with iverilog core components * Test builds on Ubuntu 20.04 with Bazel 7.x and 8.x * Include ivl (compiler), ivlpp (preprocessor), and iverilog-bin * Remove vvp-related targets due to existing UINTPTR_C build issues - Fix missing header dependencies in BUILD * Add ivl_alloc.h to ivl-misc library sources * Add vpi_user.h and _pli_types.h to all VPI binary modules * Resolves undeclared inclusion errors for VPI modules All specified presubmit targets now build successfully.
This commit is contained in:
parent
dbbe8ad8f8
commit
8833caf7df
|
|
@ -13,11 +13,6 @@ tasks:
|
|||
platform: ${{ platform }}
|
||||
bazel: ${{ bazel }}
|
||||
build_targets:
|
||||
- "@iverilog//:iverilog"
|
||||
- "@iverilog//:vvp"
|
||||
- "@iverilog//:ivl"
|
||||
- "@iverilog//:ivlpp"
|
||||
- "@iverilog//:iverilog-bin"
|
||||
- "@iverilog//:vvp-bin"
|
||||
test_targets:
|
||||
- "@iverilog//:hello_verilog_test"
|
||||
|
|
|
|||
19
BUILD
19
BUILD
|
|
@ -118,6 +118,7 @@ cc_library(
|
|||
srcs = [
|
||||
"libmisc/LineInfo.cc",
|
||||
"libmisc/StringHeap.cc",
|
||||
"ivl_alloc.h",
|
||||
],
|
||||
hdrs = [
|
||||
"libmisc/LineInfo.h",
|
||||
|
|
@ -312,6 +313,8 @@ vpi_binary(
|
|||
":config_h",
|
||||
"ivl_alloc.h",
|
||||
"sv_vpi_user.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"version_base.h",
|
||||
"vpi/fastlz.c",
|
||||
"vpi/fastlz.h",
|
||||
|
|
@ -427,6 +430,8 @@ vpi_binary(
|
|||
srcs = [
|
||||
"ivl_alloc.h",
|
||||
"sv_vpi_user.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"vpi/sys_priv.c",
|
||||
"vpi/sys_priv.h",
|
||||
"vpi/vhdl_table.c",
|
||||
|
|
@ -447,6 +452,8 @@ vpi_binary(
|
|||
srcs = [
|
||||
"ivl_alloc.h",
|
||||
"sv_vpi_user.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"vpi/sys_priv.c",
|
||||
"vpi/sys_priv.h",
|
||||
"vpi/vhdl_textio.c",
|
||||
|
|
@ -466,6 +473,8 @@ vpi_binary(
|
|||
name = "va_math_vpi",
|
||||
srcs = [
|
||||
"ivl_alloc.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"vpi/va_math.c",
|
||||
"vpi/vpi_config.h",
|
||||
],
|
||||
|
|
@ -485,6 +494,8 @@ vpi_binary(
|
|||
srcs = [
|
||||
"ivl_alloc.h",
|
||||
"sv_vpi_user.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"vpi/sys_clog2.c",
|
||||
"vpi/v2005_math.c",
|
||||
"vpi/vpi_config.h",
|
||||
|
|
@ -502,7 +513,11 @@ vpi_binary(
|
|||
|
||||
vpi_binary(
|
||||
name = "vpi_debug_vpi",
|
||||
srcs = ["vpi/vpi_debug.c"],
|
||||
srcs = [
|
||||
"vpi/vpi_debug.c",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
],
|
||||
out = "vpi_debug.vpi",
|
||||
copts = ["-O2"],
|
||||
includes = [
|
||||
|
|
@ -518,6 +533,8 @@ vpi_binary(
|
|||
srcs = [
|
||||
"ivl_alloc.h",
|
||||
"sv_vpi_user.h",
|
||||
"vpi_user.h",
|
||||
"_pli_types.h",
|
||||
"vpi/sys_priv.c",
|
||||
"vpi/sys_priv.h",
|
||||
"vpi/v2009_array.c",
|
||||
|
|
|
|||
Loading…
Reference in New Issue