Skip to content

Commit df0ec40

Browse files
committed
Removed the now-redundant 'ArrayOps.swift' file.
1 parent 98e5704 commit df0ec40

File tree

2 files changed

+4
-241
lines changed

2 files changed

+4
-241
lines changed

stdlib/public/TensorFlow/ArrayOps.swift

Lines changed: 0 additions & 238 deletions
This file was deleted.

stdlib/public/TensorFlow/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization")
2828
list(APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-sil-ownership")
2929
list(APPEND swift_stdlib_compile_flags "-force-single-frontend-invocation")
3030
# FIXME(SR-7972): Some tests fail when TensorFlow is optimized.
31+
# list(APPEND swift_stdlib_compile_flags "-O" "-whole-module-optimization")
3132
list(APPEND swift_stdlib_compile_flags "-Onone")
3233
list(APPEND swift_stdlib_compile_flags "-DCOMPILING_TENSORFLOW_MODULE")
3334

3435
set(SOURCES
3536
CompilerRuntime.swift
36-
Dataset.swift
3737
DataTypes.swift
3838
Execution.swift
3939
ShapedArray.swift
@@ -45,13 +45,14 @@ set(SOURCES
4545
TensorProtocol.swift
4646
TensorShape.swift
4747
Utilities.swift
48-
ArrayOps.swift
4948
Threading.swift
5049
ExecuteOp.swift.gyb)
5150

5251
# Copy TensorFlow bindings file, if it exists.
5352
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}")
5556
endif()
5657

5758
# Copy TensorFlow high-level API sources, if they exist.

0 commit comments

Comments
 (0)