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 7eb6f46 commit 7ea9d54Copy full SHA for 7ea9d54
test/lit.cfg
@@ -557,12 +557,15 @@ if run_vendor == 'apple':
557
(run_cpu, run_os, run_vers, clang_mcp_opt))
558
559
config.target_cc_options = target_cc_options
560
+ extra_frameworks = ['AppKit', 'CoreGraphics', 'SceneKit', 'CoreLocation',
561
+ 'Accelerate', 'CoreImage', 'QuartzCore', 'CoreMedia',
562
+ 'OpenCL', 'GameplayKit']
563
config.target_build_swift = (
- "%s %s %s -F %s -Xlinker -rpath -Xlinker %s %s %s %s"
564
+ "%s %s %s -F %s -Xlinker -rpath -Xlinker %s %s %s %s %s"
565
% (xcrun_prefix, config.swiftc, target_options,
566
extra_frameworks_dir, extra_frameworks_dir,
567
sdk_overlay_linker_opt, config.swift_test_options,
- swift_execution_tests_extra_flags))
568
+ swift_execution_tests_extra_flags, " -framework " + " -framework ".join(extra_frameworks)))
569
config.target_swift_frontend = (
570
"%s -frontend %s -sdk %s %s" %
571
(config.swiftc, target_options, config.variant_sdk,
0 commit comments