Skip to content

Commit 539b241

Browse files
authored
Fallback to building Cmake from source on all platforms, not just Linux (swiftlang#33543)
* Fallback to building Cmake from source on all platforms, not just Linux * Remove no-longer-used import
1 parent 0990fa9 commit 539b241

File tree

1 file changed

+0
-4
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+0
-4
lines changed

utils/swift_build_support/swift_build_support/cmake.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from __future__ import absolute_import, unicode_literals
1919

2020
import os
21-
import platform
2221
import re
2322
from numbers import Number
2423

@@ -256,9 +255,6 @@ def build_cmake(self, source_root, build_root):
256255
# the source and build the source if necessary. Returns the path to the
257256
# cmake binary.
258257
def check_cmake_version(self, source_root, build_root):
259-
if platform.system() != 'Linux':
260-
return
261-
262258
cmake_source_dir = os.path.join(source_root, 'cmake')
263259
# If the source is not checked out then don't attempt to build cmake.
264260
if not os.path.isdir(cmake_source_dir):

0 commit comments

Comments
 (0)