================
@@ -151,6 +147,17 @@ if( "spirv-mesa3d-" IN_LIST LIBCLC_TARGETS_TO_BUILD OR 
"spirv64-mesa3d-" IN_LIST
   endif()
 endif()
 
+if( LIBCLC_TARGETS_TO_BUILD STREQUAL "all" )
----------------
DavidSpickett wrote:

I've put this after the spir-v tool check so that if you already knew to ask 
for `spirv-mesa3d-`, you will still get an error if the tool is not installed. 
Instead of getting "unknown target spirv-mesa3d-".

https://github.com/llvm/llvm-project/pull/111528
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to