bender icon indicating copy to clipboard operation
bender copied to clipboard

vendor_package files are not added as source

Open sazam0 opened this issue 2 years ago • 1 comments

following is my vendor_package settings:

vendor_package:
  - name: bextdep
    target_dir: vendor/bextdep
    upstream: { git: "https://github.com/cliffordwolf/bextdep.git", rev: "b96198514856bfaf85db3e7b0cb1d5f7e0c06d68" }
    include_from_upstream:
      - "bextdep.v"
      - "bextdep_pps.v"

bender script vivado-sim -t rtl -t test includes files from sources as expected but does not include the bextdep.v and bextdep_pps.v

sazam0 avatar Sep 07 '23 19:09 sazam0

The vendor package section is designed to be an add-on feature only used for the bender vendor command. As the vendor can also include all files and directories from an upstream dependency, not specifying individual files, the files specified in include_from_upstream are not used for the bender sources command. Please specify your required files again in the sources section of the Bender.yml.

micprog avatar Dec 29 '23 12:12 micprog