Unverified Commit e5dc713c authored by Varad Ahirwadkar's avatar Varad Ahirwadkar Committed by GitHub
Browse files

[Hardware][PowerPC] Make oneDNN dependency optional for Power (#9039)


Signed-off-by: default avatarVarad Ahirwadkar <varad.ahirwadkar1@ibm.com>
parent 36eecfbd
......@@ -84,7 +84,12 @@ endif()
message(STATUS "CPU extension compile flags: ${CXX_COMPILE_FLAGS}")
list(APPEND LIBS dnnl numa)
list(APPEND LIBS numa)
# Appending the dnnl library for the AVX2 and AVX512, as it is not utilized by Power architecture.
if (AVX2_FOUND OR AVX512_FOUND)
list(APPEND LIBS dnnl)
endif()
#
# _C extension
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment