Added explanation how to checkout proper mainline swift toolchains (swift-cmark, swift-corelibs-dispatch, swift, llvm-project) and proper branches to enable LLDB + Python support compilation;
Switched to use target.swift-module-search-paths that is available in both mainline and Swift for Tensorflow 0.11. By doing that, also removed the parent_kernel.py invocation.
Per discussion https://github.com/google/swift-jupyter/issues/119 this PR tries to add steps and necessary changes to make swift-jupyter work for Swift 5.3 mainline.
Added explanation how to checkout proper mainline swift toolchains (swift-cmark, swift-corelibs-dispatch, swift, llvm-project) and proper branches to enable LLDB + Python support compilation;
target.swift-module-search-paths
that is available in both mainline and Swift for Tensorflow 0.11. By doing that, also removed theparent_kernel.py
invocation.I believe the 2nd change is safe, since both the old env var method: https://github.com/apple/llvm-project/blob/swift/tensorflow/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp#L2596 (https://github.com/apple/llvm-project/blob/swift/tensorflow/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp#L2221) and https://github.com/apple/llvm-project/blob/swift/tensorflow/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp#L2238 both end up in the
module_search_paths
hence no material difference.After this change, tried to use
%install
installDeckOfPlayingCards
and can still createDeck
instance and print.