add normal safety

wrap safety around normal checks, this was done on the scalar math may as well do it here just in case.

Ad the impl.inl files to libraries so they can actually be found.
This commit is contained in:
marauder2k7 2026-03-04 23:49:08 +00:00
parent 5a6467d54a
commit 8c1acbd1da
7 changed files with 61 additions and 14 deletions

View file

@ -142,7 +142,9 @@ function(add_math_backend name compile_defs)
return()
endif()
add_library(math_${name} OBJECT ${SRC})
file(GLOB_RECURSE INL CONFIGURE_DEPENDS "math/impl/*.inl")
add_library(math_${name} OBJECT ${SRC} ${INL})
message(STATUS "adding math library for isa ${name}")
target_include_directories(math_${name} PUBLIC