Commit a54538d
committed
locate objdump via the compiler R actually builds with
The previous attempt looked beside Sys.which("gcc"/"clang"), but on the
aarch64 runner those resolve to C:/mingw64 -- the same x86_64 toolchain
that leads the PATH -- so both candidates were the one objdump that
cannot read an aarch64 PE, and the check still skipped there. They were
also not deduplicated, differing only in slash direction.
'R CMD config CC' names the compiler that produced the library, so its
objdump can read it by construction. Try that first, and normalize the
candidates so one objdump is not tried under two spellings.1 parent 5d1ca39 commit a54538d
1 file changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
115 | 130 | | |
116 | 131 | | |
117 | | - | |
118 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
119 | 137 | | |
120 | 138 | | |
121 | 139 | | |
| |||
0 commit comments