Skip to content

Commit 060cd8b

Browse files
committed
Update for tensorflow branch.
1 parent 8ef2cf2 commit 060cd8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ set(SWIFTLIB_ESSENTIAL_GYB_SOURCES
200200
# Compile differentiable programming sources only if enabled.
201201
set(SWIFTLIB_DIFFERENTIABLE_PROGRAMMING_SOURCES)
202202
if(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
203-
# TODO: Add `_Differentiable` protocol.
203+
list(APPEND SWIFTLIB_DIFFERENTIABLE_PROGRAMMING_SOURCES
204+
Differentiable.swift
205+
# SWIFT_ENABLE_TENSORFLOW
206+
DifferentiationSupport.swift)
204207
message(STATUS "Differentiable programming standard library additions enabled.")
205208
endif()
206209

@@ -213,9 +216,6 @@ set(SWIFTLIB_SOURCES
213216
CollectionDifference.swift
214217
CollectionOfOne.swift
215218
Diffing.swift
216-
Differentiable.swift
217-
# SWIFT_ENABLE_TENSORFLOW
218-
DifferentiationSupport.swift
219219
Mirror.swift
220220
PlaygroundDisplay.swift
221221
CommandLine.swift

0 commit comments

Comments
 (0)