Page MenuHomePhabricator

meson: cleanup the native-cpu optimization build code
ClosedPublic

Authored by bu5hm4n on Nov 16 2018, 7:59 AM.

Details

Summary

you were not able to disable the header checks, so if the header was not
there it indicated that you could turn it of. However, the option check
was in the has_header if not outside of it. Further more, header checks
are done in the subdirectory that is done for header checks,
unneccessary cpu_**** flags are removed, global optimization options are
added to the global_arguments instead of just the package_c_args, which
leads to the fact that also all binaries etc. are build by default with
those optimization flags.

This also reduces the amount of options to a minimum of 1 option, to
just control if there should be the optimization or not.
Depends on D7295

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bu5hm4n created this revision.Nov 16 2018, 7:59 AM
bu5hm4n requested review of this revision.Nov 16 2018, 7:59 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 16 2018, 8:29 AM
Closed by commit rEFL46422187d811: meson: cleanup the native-cpu optimization build code (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>). · Explain Why
This revision was automatically updated to reflect the committed changes.