We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e365f1 commit d06549cCopy full SHA for d06549c
backends/iluvatar_gpu/CMakeLists.txt
@@ -70,7 +70,10 @@ target_include_directories(external_error_proto
70
target_link_libraries(external_error_proto PUBLIC protobuf)
71
set_target_properties(external_error_proto PROPERTIES POSITION_INDEPENDENT_CODE
72
ON)
73
-add_custom_target(external_deps DEPENDS eigen3 zlib protobuf flagcx)
+add_custom_target(external_deps DEPENDS eigen3 zlib protobuf)
74
+if(WITH_FLAGCX)
75
+ add_custom_target(external_deps DEPENDS flagcx)
76
+endif()
77
78
if(WITH_COREX)
79
add_definitions(-DPADDLE_WITH_COREX)
0 commit comments