Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VUnit to deal with nvc's --ignore-time option #145

Open
nathanaelhuffman opened this issue May 1, 2024 · 0 comments
Open

Update VUnit to deal with nvc's --ignore-time option #145

nathanaelhuffman opened this issue May 1, 2024 · 0 comments
Assignees
Labels
build system Stuff related to buck2 and build-system infra

Comments

@nathanaelhuffman
Copy link
Collaborator

Compiling into lib: ../hdl/ip/vhd/fmc_if/stm32h7_fmc_target.vhd        passed
** Warning: design unit LIB.STM32H7_FMC_TARGET_PKG is older than its source file /home/aaron/Oxide/git/quartz/hdl/ip/vhd/fmc_if/stm32h7_fmc_target_pkg.vhd and should be reanalysed
** Note: you can use the --ignore-time option to skip this check
** Warning: design unit LIB.CALC_PKG is older than its source file /home/aaron/Oxide/git/quartz/hdl/ip/vhd/utilities/calc_pkg.vhd and should be reanalysed

This was noticed with VUnit some time ago: nickg/nvc#179 but in order to properly fix, we need a new VUnit release that supports the nvc.global_options https://github.com/VUnit/vunit/blob/3032da050f11bdf038053f67fc664c39ee19f9f6/docs/news.d/948.feature.rst#L2

or we have to monkey-patch VUnit to enable this.

As reported by the VUnit maintainer, this seems to happen when doing git operations such as swapping branches etc which re-write the file times but don't affect content. VUnit does the correct thing here b/c it is looking at the file contents SHA, not the atime so this is mostly just annoying right now.

@nathanaelhuffman nathanaelhuffman added the build system Stuff related to buck2 and build-system infra label May 1, 2024
@nathanaelhuffman nathanaelhuffman self-assigned this May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Stuff related to buck2 and build-system infra
Projects
None yet
Development

No branches or pull requests

1 participant