File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1+ if(LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
2+ set(extra_entrypoints
3+ # stdio.h entrypoints
4+ libc.src.stdio.sprintf
5+ libc.src.stdio.snprintf
6+ libc.src.stdio.vsprintf
7+ libc.src.stdio.vsnprintf
8+ )
9+ endif()
10+
111set(TARGET_LIBC_ENTRYPOINTS
212 # assert.h entrypoints
313 libc.src.assert.__assert_fail
@@ -175,6 +185,7 @@ set(TARGET_LIBC_ENTRYPOINTS
175185 libc.src.errno.errno
176186
177187 # stdio.h entrypoints
188+ ${extra_entrypoints}
178189 libc.src.stdio.feof
179190 libc.src.stdio.ferror
180191 libc.src.stdio.fseek
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ add_libc_test(
8686 libc.src.__support.uint128
8787)
8888
89- # The GPU does not support varargs currently.
90- if (NOT LIBC_TARGET_OS_IS_GPU )
89+ # NVPTX does not support varargs currently.
90+ if (NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX )
9191 add_libc_test(
9292 arg_list_test
9393 SUITE
You can’t perform that action at this time.
0 commit comments