Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add an LTO_EXTRA_FLAG flag for cmake.
authorAugustin Degomme <adegomme@gmail.com>
Mon, 24 Feb 2020 14:11:22 +0000 (15:11 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Mon, 24 Feb 2020 14:49:11 +0000 (15:49 +0100)
commitd030a75b32b364f4fa464be3878256cf429f0cee
tree16f43a0b21a422eafbe2be3dd395baca2d6bc498
parentf1623a362b20f59ab27938f3f073f43ef7404deb
add an LTO_EXTRA_FLAG flag for cmake.
This enables to give "auto", to use all cores, a number to use n cores and speedup linking phase.
flto=auto should be enabled by default in GCC 10, so this option can be used to give a lower value in case resources are scarce.
tools/cmake/Flags.cmake