[libclc] [libclc] Give a helpful error when an unknown target is requested (PR #111528)
Fraser Cormack via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 08:17:37 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 )
----------------
frasercrmck wrote:
Do we need to move this `SORT` too? I doubt it's important for correctness, but if the targets under `all` aren't sorted, then this changes their order.
https://github.com/llvm/llvm-project/pull/111528
More information about the cfe-commits
mailing list