Skip to content

Commit

Permalink
i#6326 M1 hang: Work around M1 build hang
Browse files Browse the repository at this point in the history
Works around a Mac M1 build hang on assembly configuration.

Tested on a local M1 machine where CMake configuration now finishes.

Issue: #6326
  • Loading branch information
derekbruening committed Feb 11, 2025
1 parent e73f0bc commit 6d87780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/cpp2asm_support.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ if (NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio")
# NASM support was added in 2.8.3. It clears ASM_DIALECT for us.
enable_language(ASM_NASM)
else (APPLE AND NOT AARCH64)
# XXX i#6326: Avoid a cmake hang by setting this.
set(CMAKE_ASM_LINKER_DEPFILE_SUPPORTED TRUE)
enable_language(ASM)
endif ()
endif ()
Expand Down

0 comments on commit 6d87780

Please sign in to comment.