[libc][NFC] Instead of erroring, skip math targets with missing implementations.

Fixes Aarch64 bot.
This commit is contained in:
Siva Chandra Reddy 2021-05-13 19:22:11 +00:00
parent 861dc75906
commit 7deb5ef44f

View file

@ -29,7 +29,15 @@ function(add_math_entrypoint_object name)
return()
endif()
message(FATAL_ERROR "No machine specific or generic implementation found for ${name}.")
# Add a dummy entrypoint object for missing implementations. They will be skipped
# anyway as there will be no entry for them in the target entrypoints list.
add_entrypoint_object(
${name}
SRCS
dummy_srcs
HDRS
dummy_hdrs
)
endfunction()
add_entrypoint_object(