Skip to content

Commit 4af4b4e

Browse files
authored
Merge pull request #27323 from fredriss/fix-cmake-ubuntu-14.04
CMake: set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN at configure time
2 parents 264c8fe + cfc872f commit 4af4b4e

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

utils/swift_build_support/swift_build_support/cmake.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def common_options(self):
132132
define("CMAKE_CXX_COMPILER:PATH", toolchain.cxx)
133133
define("CMAKE_LIBTOOL:PATH", toolchain.libtool)
134134

135+
define("LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN", "ON")
136+
135137
if args.cmake_generator == 'Xcode':
136138
define("CMAKE_CONFIGURATION_TYPES",
137139
"Debug;Release;MinSizeRel;RelWithDebInfo")

0 commit comments

Comments
 (0)