Skip to content

Commit 58c09af

Browse files
Carl PetoCarl Peto
Carl Peto
authored and
Carl Peto
committed
Skip building the Synchronization library on embedded AVR for now.
1 parent baf9100 commit 58c09af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/Synchronization/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
142142
list(GET list 0 arch)
143143
list(GET list 1 mod)
144144
list(GET list 2 triple)
145+
146+
# Disable the Synchronization library on AVR for now.
147+
if("${arch}" MATCHES "avr")
148+
continue()
149+
endif()
145150

146151
set(SWIFT_SDK_embedded_ARCH_${arch}_MODULE "${mod}")
147152
set(SWIFT_SDK_embedded_LIB_SUBDIR "embedded")

0 commit comments

Comments
 (0)