Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ def use_interpreter_for_simple_runs():

target_specific_module_triple = config.variant_triple

config.target_run = ""

if run_vendor == 'apple':
target_specific_module_triple = '{}-apple-{}'.format(
{ 'aarch64': 'arm64', 'amd64': 'x86_64' }.get(run_cpu, run_cpu),
Expand Down Expand Up @@ -1356,7 +1358,8 @@ if not kIsWindows:
"/usr/bin/env "
"DYLD_LIBRARY_PATH='{0}' " # Apple option
"LD_LIBRARY_PATH='{0}' " # Linux option
.format(target_stdlib_path))
"SIMCTL_CHILD_DYLD_LIBRARY_PATH='{0}' " # Simulator option
.format(target_stdlib_path)) + config.target_run
else:
os_stdlib_path = ''
if run_vendor == 'apple':
Expand All @@ -1368,7 +1371,8 @@ if not kIsWindows:
"/usr/bin/env "
"DYLD_LIBRARY_PATH='{0}' " # Apple option
"LD_LIBRARY_PATH='{0}' " # Linux option
.format(all_stdlib_path))
"SIMCTL_CHILD_DYLD_LIBRARY_PATH='{0}' " # Simulator option
.format(all_stdlib_path)) + config.target_run

#
# When changing substitutions, update docs/Testing.rst.
Expand Down