Commit d92f7414 authored by illsilin's avatar illsilin
Browse files

build codegen folder only for gfx9 targets

parent a93d07c7
...@@ -539,7 +539,9 @@ if(NOT DEFINED INSTANCES_ONLY) ...@@ -539,7 +539,9 @@ if(NOT DEFINED INSTANCES_ONLY)
PACKAGE_NAME examples PACKAGE_NAME examples
) )
add_subdirectory(example) add_subdirectory(example)
add_subdirectory(codegen) if(GPU_TARGETS MATCHES "gfx9" AND NOT INSTANCES_ONLY)
add_subdirectory(codegen)
endif()
if(BUILD_TESTING) if(BUILD_TESTING)
add_subdirectory(test) add_subdirectory(test)
endif() endif()
......
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