Skip to content

Commit cfc872f

Browse files
committed
CMake: set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN at configure time
Looks like this is needed to build recent LLVM on Ubuntu 14.04.
1 parent af34e0a commit cfc872f

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)