Skip to content

Conversation

@bocchino
Copy link
Collaborator

To determine whether .h files are generated, fpp-filenames and fpp-depend are computing type information that assumes a complete model. However, these tools have to run on incomplete models. In particular, the generate step now fails in the F Prime build.

To fix this issue, I reverted the computation of type info in ComputeGeneratedFiles.scala, and I took out the code that determines whether an .h file is generated. We now just report the .hpp files that are generated, not the .h files, if any. This should be good enough for communicating info to the build.

@bocchino bocchino added bug Something isn't working tools Issues related to FPP tools labels Mar 19, 2025
@bocchino bocchino requested a review from Kronos3 March 19, 2025 01:07
@bocchino bocchino changed the title Fix bug in fpp-filenames and app-depend Fix bug in fpp-filenames and fpp-depend Mar 19, 2025
@bocchino bocchino changed the title Fix bug in fpp-filenames and fpp-depend Fix regression in fpp-filenames and fpp-depend Mar 19, 2025
@bocchino bocchino merged commit a0184ac into main Mar 19, 2025
11 checks passed
@bocchino bocchino deleted the fix-fpp-filenames branch March 19, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working tools Issues related to FPP tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants