suggestion with hardcoded header file list #27
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TOPIO/BigWhoop#27
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-public-header-creation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
appends possibly missing header files
assumes that missing header files need no dedicated position in the list
Issue #19
Any header file that has not been hardcoded into the public_header.py script will only be appended in the bwc.h file. This will not work if the definitions in the hardcoded files are dependent upon appended header information. We should print a warning during compile time if new header files are present so a developer is aware that he can hardcode his new header file into the script.
f12bd49892
tof66091747a
After introducing a solution with an
exclude_files
list I also opted for renamingheader_files
toinclude_files
.WIP: suggestion with hardcoded header file listto suggestion with hardcoded header file listsuggestion with hardcoded header file listto WIP: suggestion with hardcoded header file listThe iteration over include_files for the derrived_types results in the inclusion of the bitstream stuct in the public header. Only definitions with the prefix 'bwc_' should be pulled into the public header. This is possible due to a print flag not being reset after iterating over a viable struct. The kernels that search for public definitions should be rechecked to make sure that only the intendet definitions are included. Everything else looks good.
WIP: suggestion with hardcoded header file listto suggestion with hardcoded header file listPull request closed