Hi,
On 23.05.2015 20:18, jp charras wrote:
Sorry to say that, but what is the interest of this work:
Now that is a good question. My initial goal was to basically shave a
few percents off in text size and get a bit of extra speed, just by
setting a few compiler flags.
I'm happy to put this on
Hi again,
last comment/test:
Just dropping in “-flto” in CMakeLists.txt here:
set( CMAKE_CXX_FLAGS_DEBUG -g3 -ggdb3 -DDEBUG
-Wno-deprecated-declarations )
set( CMAKE_C_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE} -DNDEBUG -flto )
set( CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE}
Hi,
built your branch on OS X.
Good thing is that build did work for me.
I just quickly fired up pcbnew and loaded an existing board… seems to work.
But, it doesn’t seem to have a real effect on code size (first one is my
current working version, second one your branch):
bstegmaier$ ls -al
Hi again,
I guess this is due to LTO not even being used on OS X, if I understand your
cmake change correctly:
find_program(CMAKE_GCC_AR NAMES
${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar${_CMAKE_TOOLCHAIN_SUFFIX} HINTS
${_CMAKE_TOOLCHAIN_LOCATION})
find_program(CMAKE_GCC_NM NAMES
Hi,
On 23.05.2015 18:48, Bernhard Stegmaier wrote:
I guess this is due to LTO not even being used on OS X, if I understand your
cmake change correctly:
find_program(CMAKE_GCC_AR NAMES
${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar${_CMAKE_TOOLCHAIN_SUFFIX} HINTS
${_CMAKE_TOOLCHAIN_LOCATION})
Hi,
really nice, especially also OpenGL mode is really looking good now on Retina!
Thanks,
Bernhard
On 22 May 2015, at 09:39, Maciej Sumiński maciej.sumin...@cern.ch wrote:
Hi Garth,
Applied in 5677, thank you for notification.
Regards,
Orson
On 05/22/2015 03:59 AM, Garth Corral
Le 22/05/2015 16:51, Simon Richter a écrit :
Hi,
I've submitted a branch for inclusion at
https://code.launchpad.net/~sjr/kicad/lto
that seeks to use link-time optimization when possible.
We've already established that this is broken on MSYS, so I'm going
to disable it there, while
Le 23/05/2015 19:17, Simon Richter a écrit :
Hi,
On 23.05.2015 18:48, Bernhard Stegmaier wrote:
I guess this is due to LTO not even being used on OS X, if I
understand your cmake change correctly: find_program(CMAKE_GCC_AR
NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar${_CMAKE_TOOLCHAIN_SUFFIX}
8 matches
Mail list logo