Commit ea99abc
ci: Strip debug info from host binaries
Some host utilities, namely *-gdb & *-lto-dump are insanely huge
as they are built. But there's not much sense in them having extra
200+ MiB of debug data for a casual toolchain user, yet much slimmer
toolchain both gets loaded from GitHub much faster and occupies much less
space on the user's machine.
Note, there might be non-Elf files in "bin" folder, for example
"arc64-elf-gdb-add-index" on which "strip" will throw an error:
"File format not recognized". But that doesn't really hurt as real
executables will be stripped anyway and working around that problem
will be too much trouble, so just ignore it with "|| true".
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>1 parent 7ab98f5 commit ea99abc
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments