[libclc] [libclc] Give a helpful error when an unknown target is requested (PR #111528)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 08:57:40 PDT 2024


================
@@ -137,10 +137,6 @@ if( llvm-spirv_exe )
   list( APPEND LIBCLC_TARGETS_ALL  spirv-mesa3d- spirv64-mesa3d- )
 endif()
 
-if( LIBCLC_TARGETS_TO_BUILD STREQUAL "all" )
-  set( LIBCLC_TARGETS_TO_BUILD ${LIBCLC_TARGETS_ALL} )
-endif()
-
 list( SORT LIBCLC_TARGETS_TO_BUILD )
----------------
DavidSpickett wrote:

Yes, I've moved it as well.

https://github.com/llvm/llvm-project/pull/111528


More information about the cfe-commits mailing list