File tree 2 files changed +4
-2
lines changed
test/src/stdio/scanf_core
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ add_header_library(
54
54
libc.src.__support.CPP.string_view
55
55
)
56
56
57
- if (NOT (TARGET libc.src.__support.File.file) AND LLVM_LIBC_FULL_BUILD)
57
+ if (NOT (TARGET libc.src.__support.File.file) AND LLVM_LIBC_FULL_BUILD AND
58
+ (NOT LIBC_TARGET_OS_IS_GPU))
58
59
# Not all platforms have a file implementation. If file is unvailable, and a
59
60
# full build is requested, then we must skip all file based scanf sections.
60
61
return ()
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ add_libc_unittest(
18
18
libc.src.__support.arg_list
19
19
)
20
20
21
- if (NOT (TARGET libc.src.__support.File.file) AND LLVM_LIBC_FULL_BUILD)
21
+ if (NOT (TARGET libc.src.__support.File.file) AND LLVM_LIBC_FULL_BUILD AND
22
+ (NOT LIBC_TARGET_OS_IS_GPU))
22
23
# Not all platforms have a file implementation. If file is unvailable, and a
23
24
# full build is requested, then we must skip all file based scanf sections.
24
25
return ()
You can’t perform that action at this time.
0 commit comments