-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bender: Update to version 0.28.1
#175
Conversation
0.28.1
0.28.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the flist
command only lists source files and not included headers? Cause then there's not really a point in upgrading Bender (not for this feature at least, since we're not using the new flist
command anyways).
Maybe we can suggest a feature request for Bender to implement an flist
command which actually lists all prerequisites.
It could perhaps separate commands for flist-sources
and flist-headers
, if anyone needs them to compose arbitrary tool commands. But otherwise just including the headers in the flist
command sounds more reasonable than what it currently implements.
Also, @fischeti do you understand why we append /*/*
with sed
at the end of the included directories? I would expect /*
to suffice, since the tool anyways only looks at the files directly under +incdir+
, if I am not mistaken.
It is not really critical to update right now, but since the default version at IIS machines is the newest one if doesn't hurt to upgrade (eventually, we will have to do it anyway).
I believe the
Yes, the header files are nested usually as `include "protocol1/typedef.svh"
`include "protocol2/typedef.svh" |
Yeah you're right, a dedicated command would be better indeed.
I see, that makes sense, but this If we don't have a reliable way to list all header prerequisites I would rather drop them altogether, apart from the known ones in our own repo, which are anyways the only likely ones to be edited (as far as one doesn't Maybe Verilator has an option to list all header prerequisites, this gist also mentions how to achieve this with EditI checked and Verilator doesn't seem to have an option to do this. I spoke with @micprog and he suggests another simple alternative to support this in Bender, namely listing all header files recursively found under the incdirs. This would probably not work, see pulp-platform/bender#184. |
I opened a feature request in Bender pulp-platform/bender#184. I believe we can go on with this PR as is, and perhaps the aspect mentioned above can later be improved in a separate PR. |
b383d88
to
daba521
Compare
Sounds good 👍 |
675b9f7
to
a370b6d
Compare
a370b6d
to
940b64d
Compare
Updates the bender version in the docker container and in the
iis-setup.sh
script to the newest version.The
flist
bender command slightly changed, which now prints only the source files without the+incdir+
paths. The newflist-plus
command also prints the+incdir+
's and additionally+define+
's, which have to be filtered now.(Alternatively, we could also use the
flist
command and remove thesed
if we don't need the header files as make prerequisite, but I decided to keep the functionality the same)