File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,10 @@ option(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT
77
77
"If not building stdlib, controls whether to build 'stdlib/toolchain' content"
78
78
TRUE )
79
79
80
+ # `SWIFT_ENABLE_TENSOFRFLOW` affects lit tests, adding "tensorflow" as an
81
+ # available feature.
80
82
option (SWIFT_ENABLE_TENSORFLOW
81
- "Enable TensorFlow in the compiler and build the Swift TensorFlow library "
83
+ "Enable TensorFlow in the compiler"
82
84
FALSE )
83
85
84
86
# In many cases, the CMake build system needs to determine whether to include
Original file line number Diff line number Diff line change @@ -1698,8 +1698,8 @@ for host in "${ALL_HOSTS[@]}"; do
1698
1698
-DSWIFT_TOOLS_ENABLE_LTO:STRING=" ${SWIFT_TOOLS_ENABLE_LTO} "
1699
1699
-DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER:BOOL=$( true_false " ${BUILD_RUNTIME_WITH_HOST_COMPILER} " )
1700
1700
-DLIBDISPATCH_CMAKE_BUILD_TYPE:STRING=" ${LIBDISPATCH_BUILD_TYPE} "
1701
-
1702
1701
# SWIFT_ENABLE_TENSORFLOW
1702
+ # CMake options specific to `tensorflow` branch here.
1703
1703
-DSWIFT_ENABLE_TENSORFLOW:BOOL=TRUE
1704
1704
# SWIFT_ENABLE_TENSORFLOW END
1705
1705
" ${swift_cmake_options[@]} "
You can’t perform that action at this time.
0 commit comments