Skip to content

Commit c556662

Browse files
committed
Ubuntu TaylorTorch Ubuntu fix-10 Package.swift
1 parent bfd27a9 commit c556662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ if let cStandardLibraryModuleMap {
182182
let platformCxxSettings: [CXXSetting] = [
183183
// Use libstdc++ (what PyTorch actually uses in Docker)
184184
.unsafeFlags(["-stdlib=libstdc++"]),
185-
// Use C++11 ABI to match PyTorch's std::__cxx11 symbols
186-
.define("_GLIBCXX_USE_CXX11_ABI", to: "1")
185+
// Use old ABI (ABI=0) to match Docker PyTorch build
186+
.define("_GLIBCXX_USE_CXX11_ABI", to: "0")
187187
]
188188
#else
189189
let platformCxxSettings: [CXXSetting] = []

0 commit comments

Comments
 (0)