Skip to content

gfxinfo: fix loading the databases before release

Martin Roukala requested to merge gfxinfo_fix_caching into master

In b6c0449e, I was counting on Tox to run the tests and thus trigger the caching of the databases. While it indeed happens, it wasn't happening in the source folder but rather in the .tox/ folder :s

Let's fix this by calling gfxinfo --check-db ourselves before the release, and ensuring this is done in the source directory by installing gfxinfo using pip's --editable option.

Fixes: b6c0449e ("gfxinfo/amdgpu: automatically cache the database")

Merge request reports