We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 409805e commit d4a1879Copy full SHA for d4a1879
1 file changed
build-whisper.sh
@@ -46,10 +46,13 @@ WHISPER_CMAKE_ARGS=(
46
47
# For ARM64 cross-compilation, tell CMake we're cross-compiling
48
# This triggers the automatic host compiler detection for vulkan-shaders-gen
49
+# Also use clang-cl for ARM64 as MSVC is not supported for ARM CPU backend
50
if [ "$BUILD_ARCH" == "arm64" ]; then
51
WHISPER_CMAKE_ARGS+=(
52
-DCMAKE_SYSTEM_NAME=Windows
53
-DCMAKE_SYSTEM_PROCESSOR=ARM64
54
+ -DCMAKE_C_COMPILER=clang-cl
55
+ -DCMAKE_CXX_COMPILER=clang-cl
56
)
57
fi
58
0 commit comments