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

Improving file list stability #615

Open
spequer opened this issue Mar 26, 2023 · 0 comments
Open

Improving file list stability #615

spequer opened this issue Mar 26, 2023 · 0 comments

Comments

@spequer
Copy link

spequer commented Mar 26, 2023

Fusesoc using solver to generate file list. However, due to solver's nature, generated list is not consist on different build.
It is hard to compare differences of different version.
We could use the following patch to stablize the result:

--- ./capi2/core.py~    2022-02-11 15:49:42.000000000 +0800
+++ ./capi2/core.py     2022-11-17 15:03:27.706132396 +0800
@@ -344,7 +344,7 @@
         for fs in self._get_filesets(flags):
             depends += [Vlnv(d) for d in self._parse_list(flags, fs.depend)]
         depends += self._generator_created_dependencies
-        return depends
+        return sorted(depends)

     def get_files(self, flags):
         src_files = []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant