File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ llvm_canonicalize_cmake_booleans(
1010 CLANG_PLUGIN_SUPPORT
1111 CLANG_SPAWN_CC1
1212 CLANG_ENABLE_CIR
13+ CLANG_USE_XCSELECT
1314 ENABLE_BACKTRACES
1415 LLVM_BUILD_EXAMPLES
1516 LLVM_BYE_LINK_INTO_TOOLS
Original file line number Diff line number Diff line change 1+ // REQUIRES: xcselect
2+ // RUN: %clang -target arm64-apple-darwin -c -### %s 2> %t.log
3+ // RUN: FileCheck %s <%t.log
4+
5+ // CHECK: "-isysroot" "{{.*}}/SDKs/MacOSX{{([0-9]+(\.[0-9]+)?)?}}.sdk"
Original file line number Diff line number Diff line change @@ -338,6 +338,8 @@ def calculate_arch_features(arch_string):
338338if config .have_llvm_driver :
339339 config .available_features .add ("llvm-driver" )
340340
341+ if config .use_xcselect :
342+ config .available_features .add ("xcselect" )
341343
342344# Some tests perform deep recursion, which requires a larger pthread stack size
343345# than the relatively low default of 192 KiB for 64-bit processes on AIX. The
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ config.standalone_build = @CLANG_BUILT_STANDALONE@
4444config.ppc_linux_default_ieeelongdouble = @PPC_LINUX_DEFAULT_IEEELONGDOUBLE@
4545config.have_llvm_driver = @LLVM_TOOL_LLVM_DRIVER_BUILD@
4646config.substitutions.append(("%llvm-version-major", "@LLVM_VERSION_MAJOR@"))
47+ config.use_xcselect = @CLANG_USE_XCSELECT@
4748
4849import lit.llvm
4950lit.llvm.initialize(lit_config, config)
You can’t perform that action at this time.
0 commit comments