[riot-notifications] [RIOT-OS/RIOT] make: disable dwarf compression on CI builds (#12198)

Kaspar Schleiser notifications at github.com
Wed Sep 11 11:42:09 CEST 2019


So the gist of this is:

1. if *any* debug option starting with "-g" is used, ccache adds the current working directory to the compilation hash, unless base_dir is set and matches cwd *and* ```-fdebug-prefix-map``` is used.

2. RIOT does set the basedir correctly, but not configure ```-fdebug-prefix-map```

3. without "-gz", ccache correctly strips the basedir from the absolute path's that RIOT's build system uses and thus caches between builds on CI

4. with "-gz", ccache assumes it is generating debug info and includes the cwd hash, breaking cross-build caching

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12198#issuecomment-530305471
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/2d6622f9/attachment.htm>


More information about the notifications mailing list