File tree Expand file tree Collapse file tree 2 files changed +4
-241
lines changed Expand file tree Collapse file tree 2 files changed +4
-241
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization")
28
28
list (APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-sil-ownership" )
29
29
list (APPEND swift_stdlib_compile_flags "-force-single-frontend-invocation" )
30
30
# FIXME(SR-7972): Some tests fail when TensorFlow is optimized.
31
+ # list(APPEND swift_stdlib_compile_flags "-O" "-whole-module-optimization")
31
32
list (APPEND swift_stdlib_compile_flags "-Onone" )
32
33
list (APPEND swift_stdlib_compile_flags "-DCOMPILING_TENSORFLOW_MODULE" )
33
34
34
35
set (SOURCES
35
36
CompilerRuntime.swift
36
- Dataset.swift
37
37
DataTypes.swift
38
38
Execution.swift
39
39
ShapedArray.swift
@@ -45,13 +45,14 @@ set(SOURCES
45
45
TensorProtocol.swift
46
46
TensorShape.swift
47
47
Utilities.swift
48
- ArrayOps.swift
49
48
Threading.swift
50
49
ExecuteOp.swift.gyb )
51
50
52
51
# Copy TensorFlow bindings file, if it exists.
53
52
if (TENSORFLOW_SWIFT_BINDINGS )
54
- list (APPEND SOURCES "${TENSORFLOW_SWIFT_BINDINGS} " )
53
+ file (GLOB_RECURSE TENSORFLOW_SWIFT_BINDINGS_SOURCES
54
+ "${TENSORFLOW_SWIFT_BINDINGS} /*.swift" )
55
+ list (APPEND SOURCES "${TENSORFLOW_SWIFT_BINDINGS_SOURCES} " )
55
56
endif ()
56
57
57
58
# Copy TensorFlow high-level API sources, if they exist.
You can’t perform that action at this time.
0 commit comments