Skip to content

Commit c75793f

Browse files
committed
[Backtracing] Add target-arch to lit.cfg.
This must have ended up in the wrong PR in the stack. It is needed in this one so that we can locate libswiftCore. rdar://103071801
1 parent 35a2f17 commit c75793f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,6 +1759,9 @@ config.substitutions.append(('%module-target-future', target_future))
17591759
# Add 'target-sdk-name' as the name for platform-specific directories
17601760
config.substitutions.append(('%target-sdk-name', config.target_sdk_name))
17611761

1762+
# Also add 'target-arch' so we can locate some things inside the build tree
1763+
config.substitutions.append(('%target-arch', target_arch))
1764+
17621765
# Add 'stdlib_dir' as the path to the stdlib resource directory
17631766
stdlib_dir = os.path.join(config.swift_lib_dir, "swift")
17641767
if run_os == 'maccatalyst':

0 commit comments

Comments
 (0)