Commit 2f4c1bc
committed
loader: Resolve armasm64 by full path for arm64 builds
CMake's MARMASM compiler detection (CMakeDetermineASM_MARMASMCompiler.cmake)
only matches "ARM64", so for an arm64ec target it selects the 32-bit armasm,
which cannot assemble arm64ec code. It also leaves CMAKE_ASM_MARMASM_COMPILER as
a bare "armasm64", which the assembler check runs directly and so fails when the
dev tools are not on PATH (e.g. a stock CI configure). Either way the check fails
and unknown function support gets silently disabled.
Find armasm64 next to the C compiler and point the language at its full path so a
plain `-A arm64`/`-A arm64ec` configure works without a manual
-DCMAKE_ASM_MARMASM_COMPILER override or a developer command prompt. Drop this
once CMake's detection matches ARM64EC (#1884).1 parent 7205aa5 commit 2f4c1bc
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
142 | 154 | | |
143 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
144 | 160 | | |
145 | 161 | | |
146 | 162 | | |
| |||
0 commit comments