Skip to content

Commit 303d88c

Browse files
authored
[Build] Remove Differentiation without tgmath (#34409)
Reverts #34116 -- this is no longer needed. This reverts commit b972bef.
1 parent 3cd6a65 commit 303d88c

File tree

3 files changed

+1
-33
lines changed

3 files changed

+1
-33
lines changed

stdlib/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ option(SWIFT_STDLIB_OS_VERSIONING
6969
"Build stdlib with availability based on OS versions (Darwin only)."
7070
TRUE)
7171

72-
option(SWIFT_COMPILE_DIFFERENTIATION_WITHOUT_TGMATH
73-
"Build Differentation without tgmath (and dependency on platform runtime libraries)"
74-
FALSE)
75-
7672
#
7773
# End of user-configurable options.
7874
#

stdlib/public/CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,7 @@ if(SWIFT_BUILD_STDLIB)
9191
add_subdirectory(SwiftOnoneSupport)
9292

9393
if(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
94-
if(SWIFT_COMPILE_DIFFERENTIATION_WITHOUT_TGMATH)
95-
# Use a different CMakeLists.txt for this configuration
96-
# while sharing the bulk of the code
97-
# This way we will reduce any side effect on the main configuration
98-
# and increase the readability of the CMake code
99-
add_subdirectory(Differentiation_NoTgMath)
100-
else()
101-
add_subdirectory(Differentiation)
102-
endif()
94+
add_subdirectory(Differentiation)
10395
endif()
10496

10597
if(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY)

stdlib/public/Differentiation_NoTgMath/CMakeLists.txt

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

0 commit comments

Comments
 (0)