We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef94156 commit 63cd78bCopy full SHA for 63cd78b
utils/swift_build_support/swift_build_support/toolchain.py
@@ -137,10 +137,14 @@ def __init__(self):
137
138
class FreeBSD(GenericUnix):
139
def __init__(self):
140
+ # For testing toolchain initializer on non-FreeBSD systems
141
+ sys = platform.system()
142
+ if sys != 'FreeBSD':
143
+ suffixes = ['']
144
# See: https://github.com/apple/swift/pull/169
145
# Building Swift from source requires a recent version of the Clang
146
# compiler with C++14 support.
- if self._release_date and self._release_date >= 1100000:
147
+ elif self._release_date and self._release_date >= 1100000:
148
suffixes = ['']
149
else:
150
suffixes = ['38', '37', '36', '35']
0 commit comments