Skip to content

Commit d8a879c

Browse files
committed
[android][tests] Pass Android include paths to sil-opt for testing.
The Android NDK has the SDK for each architecture in one place, while the headers are in an unified sysroot. This makes the --sdk option insufficient for compiling GlibC. This commits adds the include paths so the test can succeed.
1 parent 1ee66cd commit d8a879c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
10361036
config.target_sil_opt = ' '.join([
10371037
config.sil_opt,
10381038
'-target', config.variant_triple,
1039+
android_include_paths_opt,
10391040
resource_dir_opt, mcp_opt, config.sil_test_options])
10401041
config.target_swift_ide_test = ' '.join([
10411042
config.swift_ide_test,

0 commit comments

Comments
 (0)