tum-ei-eda / etiss

Extendable Translating Instruction Set Simulator
https://tum-ei-eda.github.io/etiss/
Other
29 stars 36 forks source link

fetch and build TCC from github repository #125

Closed JoGei closed 1 year ago

JoGei commented 1 year ago

Addresses issue https://github.com/tum-ei-eda/etiss/issues/108

TODO:

JoGei commented 1 year ago

Got to make the build work again for Ubuntu-latest, aka 22. In case of Unix, TCC is now fetched from maintained repos, while Windows still uses the old one. If we want to make it work for Windows, some form of MinGW would be necessary as explained in TCC sources.

Biggest problem with our current flow is, IMHO, that the RegisterJITfile macro requires existing files during CMake configuration. Because of this I had to run the build steps for TCC during configuration as execute_process instead of having them be part of the usual CMake build process. This feels a bit hacky, but works.

This PR fails CI, because of "Linux Test" which requires Boost libraries to be present of which I am not sure how they could be if "Requirements" are not run before the test jobs. As far as I understand the CI, only the packaged etiss working directory is transferred from build to test(?).