Skip to content

Commit

Permalink
no jblas with minimal build
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Dec 6, 2023
1 parent 4e32453 commit ae627d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ if (onnxruntime_USE_DNNL)
endif()

set(USE_JBLAS FALSE)
if (onnxruntime_USE_JBLAS)
if (onnxruntime_USE_JBLAS AND NOT onnxruntime_MINIMAL_BUILD)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND onnxruntime_target_platform STREQUAL "x86_64")
add_compile_definitions(MLAS_JBLAS)
set(USE_JBLAS TRUE)
Expand Down

0 comments on commit ae627d9

Please sign in to comment.