Hello all, I want to make a new eb for gcc that builds with the latest cloog and ppl. The problem is that I need to apply a patch to ppl before building in stage 2. And that's a problem (I think). Currently, the sources of gcc, cloog, ppl, ... are all extracted in the same directory and just before building in stage 2, the sources of cloog and ppl are moved to in-tree.
My question is, what is the best way to apply a patch to ppl? I think there are 2 ways: - I can add a patch_step to the gcc easyblock that reads that patches and applies them according to prefix: ppl-* is applied to the ppl tree, cloog-* is applied to the cloog tree. - Currently, you can specify either a patch level or a prefix to a patch in an easyconfig. This could be extended to allow both? This would also solve my problem. A prefix alone is not enough for the patch I want to apply. Does anyone have an opinion on which way to proceed? Futher I have a small suggestion for the FAQ on github: if you have cuda in your CPATH, C_INCLUDE_PATH or LIBRARY_PATH, you can get weird gcc building errors. So, I think it's a good idea to unset those variables prior to building gcc if you get any strange error. Ward

