Skip to content

Commit e4aaa98

Browse files
i#6326 M1 hang: Work around M1 build hang (#7272)
Works around a Mac M1 build hang on assembly configuration. Tested on a local M1 machine where CMake configuration now finishes. Issue: #6326
1 parent 347a701 commit e4aaa98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

make/cpp2asm_support.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ if (NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio")
178178
# NASM support was added in 2.8.3. It clears ASM_DIALECT for us.
179179
enable_language(ASM_NASM)
180180
else (APPLE AND NOT AARCH64)
181+
# XXX i#6326: Avoid a cmake hang by setting this.
182+
set(CMAKE_ASM_LINKER_DEPFILE_SUPPORTED TRUE)
181183
enable_language(ASM)
182184
endif ()
183185
endif ()

0 commit comments

Comments
 (0)