Skip to content

Commit cd3ff5d

Browse files
committed
---
yaml --- r: 322277 b: refs/heads/tensorflow-next c: 3ec4b4e h: refs/heads/master i: 322275: 65133ff
1 parent de54896 commit cd3ff5d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,4 +1461,4 @@ refs/heads/master-rebranch: 86e95c23aa0d37f24ec138b7853146c1cead2e40
14611461
refs/heads/rdar-53901732: 9bd06af3284e18a109cdbf9aa59d833b24eeca7b
14621462
refs/heads/revert-26776-subst-always-returns-a-type: 1b8e18fdd391903a348970a4c848995d4cdd789c
14631463
refs/heads/tensorflow-merge: 8b854f62f80d4476cb383d43c4aac2001dde3cec
1464-
refs/heads/tensorflow-next: 08b6871abb38b002d9bcdea07361b1574323b468
1464+
refs/heads/tensorflow-next: 3ec4b4e0f9ee04ea597afa0e46565c3ba91ba3d4

branches/tensorflow-next/cmake/modules/AddSwift.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,15 @@ function(_add_swift_library_single target name)
12091209
"${SWIFTLIB_SINGLE_FORCE_BUILD_OPTIMIZED_keyword}"
12101210
RESULT_VAR_NAME c_compile_flags
12111211
)
1212+
1213+
if(SWIFTLIB_IS_STDLIB)
1214+
# We don't ever want to link against the ABI-breakage checking symbols
1215+
# in the standard library, runtime, or overlays because they only rely
1216+
# on the header parts of LLVM's ADT.
1217+
list(APPEND c_compile_flags
1218+
"-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1")
1219+
endif()
1220+
12121221
if(SWIFTLIB_SINGLE_SDK STREQUAL WINDOWS)
12131222
if(libkind STREQUAL SHARED)
12141223
list(APPEND c_compile_flags -D_WINDLL)

0 commit comments

Comments
 (0)