Closed 3246251196 closed 1 month ago
No, that ifdef is used if you pass SPE=1 at GNUMakefile if you want to compile the library for SPE machines.
Right... which is what we want to do for certain machines + gcc6.
It would mean that we would need to provide a way to turn on SPE when building adtools if you wanted to build clib4 with SPE.
I think we should close this ticket. You simply need to define - somewhere - whether it is an export or local variable SPE. My issue was whether or not we should add it to the makefile of adtools - but there gets a point where you end up creating a monsterous makefile/script just in order to be too helpful!
Re-open if you want to bring this back up.
SPE is needed not only for specific flags but it enables also for example the calling of PatchForSPE exe for example. I think that adding some more rules doesn't involve in readability. Instead i'm pretty syre that specific libraries gmk files can be optimized
I see in the GNUMakefile.os4 of clib4:
This may mean I need to change the makefile in ADTOOLS to define SPE somewhere when building clib4 for GCC 6. Does this make sense, @afxgroup ?