tenstorrent / tt-umd

User-Mode Driver for Tenstorrent hardware
Apache License 2.0
9 stars 5 forks source link

Generate fbs header file through cmake during build flow #225

Closed vtangTT closed 6 days ago

vtangTT commented 1 week ago

As discussed here: https://github.com/tenstorrent/tt-umd/pull/180#discussion_r1808311946

Old setup involved building the flatc executable and then manually running it to generate the header file.

Now it is integrated into the cmake build flow and tt_simulation_device_generated.h will be generated as a dependency of device target.

vtangTT commented 1 week ago

This PR will be ready to go out after https://github.com/tenstorrent/tt-umd/pull/224 that privatizes nng and fbs headers