I'm a fan of explicit settings so I'll leave the "GCC:..:" prefix. I feel
better in making myself belief that others might say: "Hey if it says GCC
maybe I should assume it is only GCC", objectively I somehow doubt it that
anyone will actually really take a look at it.

I wasn't aware of the --default-opt-level. I'll look into it, thanks!

I'm not sure where else to set these kind of options in EB, the optarch dit
inside the easyconfigs do not seem to be the right place either as the
options are pretty limited in what can be applied and only provides a few
select choices (at least that is how I understand it). Also, I'm not aware
of another place to set "global" compiler flags what I want applied.

/Martin

On Mon, Jul 31, 2017 at 11:16 AM Alvarez, Damian <[email protected]>
wrote:

> Just 3 small comments:
>
>
>
> -If you are going to use just GCC, you can get rid of the leading “GCC:”.
>
> -You are specifying -O3, which might conflict with other options (lowopt,
> noopt or even the default (which is -O2)). Probably you should take that
> out and tune --default-opt-level instead
>
> -You are abusing EASYBUILD_OPTARCH. It should work just fine as far as I
> can see, but the design of that option focused on architectural flags
> (which ISA to use). You might (or might not) get undesired side effects or
> conflicting options.
>
>
>
> Damian
>
>
>
> *From: *<[email protected]> on behalf of Martin <
> [email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Thursday 27 July 2017 at 16:54
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: [easybuild] Introducing minimal toolchains & optarch
> changes in existing tree
>
>
>
> That is actually a great hint!
>
>
>
> Wrt the compiler options I'm less worried as I consider them well tested.
> After all the whole Fedora&derivatives world runs on that ;)
>
>
>
> Alan O'Cais <[email protected]> schrieb am Mi. 26. Juli 2017 um 13:09:
>
> I can't comment on the optarch changes but you might consider using
> '--use-existing-modules' to avoid reinstalling software at the various
> levels (more than is strictly necessary).
>
>
>
> On 25 Jul 2017 11:46 am, "Martin" <[email protected]> wrote:
>
> Hi,
>
>
>
> Should I expect any trouble when making the following changes:
>
>
>
> Current:
>
> EASYBUILD_OPTARCH="GENERIC"
>
> unset EASYBUILD_MINIMAL_TOOLCHAINS
>
>
>
> To be:
>
> # same options as RPM + -funroll-loops
>
> EASYBUILD_OPTARCH="GCC:g -pipe -Wall -Werror=format-security
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O3"
>
> EASYBUILD_MINIMAL_TOOLCHAINS="1"
>
>
>
> I'm NOT planning to recompile everything but to introduce this change
> gradually. I can see how that might be a problem for existing software wrt.
> linking I've run a few naive tests and everything seems but any hints would
> be welcome
>
>
>
> Thanks,
>
> Martin
>
>
>
> --
>
> --
>
> http://www.xing.com/profile/Martin_Marcher
> http://www.linkedin.com/in/martinmarcher
>
> Mobil: +43 / 660 / 62 45 103 <+43%20660%206245103>
>
> UID: ATU68801424
>
>
>
> .
>
> .
>
> Ȉ̝͓̪̣̏̇̎̑̕͟
> l͔̠͙̲͚͔̲̿̊͋̀͛͗̔̚o̢̤̺͙̺͂̎̓̑̊̏̓̾̈́̓v̡̦͚͇͉̟̼̿͆͒͒̚͢ę̸̛̜͕͉͍͖̥͑̏̀̀̔͆͞
> ư̷̤͇̤̼͉̊̍́͂̕n̲̬̬̪̜̫̮̮͌́͒̄͢͟͝ị̴̺̮̙͈̗̌̀̆̅̃͒̍̊͜͝c̛̪̲̫͖̝̘̞̅̂͑̽͒̓̇͛͢͢͡ȍ̴̹̟͖̙͎̙̙͓̪̆̓̃̔͆d̢̳͈̬͍͍͛̇̽͂͠e̶̢̧̠̱͔̥̖͋̒̏̈̎̆̌̓̉͠!̛̯͎͙̰͔͇͛̓̕͢͡
>
> .
>
> .
>
> --
>
> --
>
> http://www.xing.com/profile/Martin_Marcher
> http://www.linkedin.com/in/martinmarcher
>
> Mobil: +43 / 660 / 62 45 103 <0660%206245103>
>
> UID: ATU68801424
>
>
>
> .
>
> .
>
> Ȉ̝͓̪̣̏̇̎̑̕͟
> l͔̠͙̲͚͔̲̿̊͋̀͛͗̔̚o̢̤̺͙̺͂̎̓̑̊̏̓̾̈́̓v̡̦͚͇͉̟̼̿͆͒͒̚͢ę̸̛̜͕͉͍͖̥͑̏̀̀̔͆͞
> ư̷̤͇̤̼͉̊̍́͂̕n̲̬̬̪̜̫̮̮͌́͒̄͢͟͝ị̴̺̮̙͈̗̌̀̆̅̃͒̍̊͜͝c̛̪̲̫͖̝̘̞̅̂͑̽͒̓̇͛͢͢͡ȍ̴̹̟͖̙͎̙̙͓̪̆̓̃̔͆d̢̳͈̬͍͍͛̇̽͂͠e̶̢̧̠̱͔̥̖͋̒̏̈̎̆̌̓̉͠!̛̯͎͙̰͔͇͛̓̕͢͡
>
> .
>
> .
>
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
>
> --
-- 
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
Mobil: +43 / 660 / 62 45 103
UID: ATU68801424

.
.
Ȉ̝͓̪̣̏̇̎̑̕͟
l͔̠͙̲͚͔̲̿̊͋̀͛͗̔̚o̢̤̺͙̺͂̎̓̑̊̏̓̾̈́̓v̡̦͚͇͉̟̼̿͆͒͒̚͢ę̸̛̜͕͉͍͖̥͑̏̀̀̔͆͞
ư̷̤͇̤̼͉̊̍́͂̕n̲̬̬̪̜̫̮̮͌́͒̄͢͟͝ị̴̺̮̙͈̗̌̀̆̅̃͒̍̊͜͝c̛̪̲̫͖̝̘̞̅̂͑̽͒̓̇͛͢͢͡ȍ̴̹̟͖̙͎̙̙͓̪̆̓̃̔͆d̢̳͈̬͍͍͛̇̽͂͠e̶̢̧̠̱͔̥̖͋̒̏̈̎̆̌̓̉͠!̛̯͎͙̰͔͇͛̓̕͢͡
.
.

Reply via email to