-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Description of the bug:
When using rule cfg5_generate_rt to generate the BSW, the outputs are not sorted into the respective components directories.
Using:
cfg5_generate_rt(
name = "app",
components = project_components,
config_files = project_config,
dpa_file = "MyEcu.dpa",
sip = "@sip//:package",
target_compatible_with = [
"//tools/bazel_rules/platforms:tricore",
],
visibility = ["//visibility:public"],
)with MyEcu.dpa snippet:
<GenData>.\Appl\GenData</GenData>I get the following output in the Bazel output directory:
bazel-out/.../path_to_package
|- app
|- generated_headers (empty)
|- generated_headers_COMPONENT (empty)
|- ... (empty)
|- generated_sources (empty)
|- generated_sources_COMPONENT (empty)
|- ... (empty)
|- app_cfg_workspace
|- Appl
|- GenData (<- here are all generated files)
|- GenData (empty)
|- filter_files.sh
I think generate.bzl#L78 is the culprit here.
It hard-codes that the configurator output is in direct sub directory GenData - but in reality it is inside the created app_cfg_workspace sub directory in the Appl/GenData folder as defined in the .dpa.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Set the <GenData></GenData> value in the .dpa file to anything other than ..\GenData.
What are the involved Vector tools and their versions?
| Tool | Version |
|---|---|
| SIP | R33 |
| DaVinci Configurator Classic | 5.30.40 SP3 |
| DaVinci Developer Classic | 4.17.30 (SP1) |
Which operating system are you running Bazel on?
Ubuntu 22.04.4 LTS
What is the output of bazel mod graph --verbose --depth 1?
<root> (@_)
├───bazel-diff@12.0.0
├───bazel_skylib@1.9.0
├───googletest@1.17.0
├───platforms@1.0.0
├───rules_cc@0.2.16
└───rules_cfg5@0.0.3
What is the output of bazel info release?
release 8.4.2
Have you found anything relevant by searching the web?
-
Any other information, logs, or outputs that you want to share?
-
Metadata
Metadata
Assignees
Labels
No labels