Closed diegonehab closed 1 month ago
Released artifacts now have mixed version / no version suffixes, can we clean this up here or on a new issue? My vote would be to remove them from the files and leave it only on the URL when downloading.
I think we can add the version names to the files. Or remove them. But the patch will put files without versions into the source tree. It could be another issue as well. @vfusco @edubart
Like @mpolitzer, I also vote for removing versioning of file names. Versioned filenames are becoming a pain in some scripts and also during packaging because we need to propagate versions through CI, scripts and makefiles.
Closed by mistake.
Opening again.
As we move towards providing packages for cartesi-machine-emulator for multiple platforms, we should make the job of package maintainers as easy as possible. One difficulty in building our emulator is its dependency on uarch.bin, which itself depends on a special toolchain we distribute inside a Docker image.
Instead of forcing package maintainers to deal with these issues, this PR introduces a new target,
create-generated-files-patch
that produces a patchadd-generated-files.diff
that, when applied to the source tree, introduces the files needed to build the emulator.It also includes changes to CI that cause
add-generated-files.diff
file to be published as an artifact on tagged releases.