Commit 0bad319
authored
fix(pipelines/strip): Don't try to strip ELFs for non-native platforms (#2542)
strip only supports the architecture it was built for so when we
intentionally package non-native binaries (I.E. cubins), strip fails
loudly
We still want to strip the binaries we can so skip when the platform
isn't the platform strip is being used on
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>1 parent 0f1394e commit 0bad319
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
| 28 | + | |
| 29 | + | |
21 | 30 | | |
22 | | - | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
0 commit comments