[libclc] 290308a - libclc: add generated convert.cl to clspv/clspv64 targets
Kévin Petit via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 14 10:21:40 PST 2023
Author: Kévin Petit
Date: 2023-02-14T18:23:35Z
New Revision: 290308a99e6b9e6f808a9824c8e5a58a65749585
URL: https://github.com/llvm/llvm-project/commit/290308a99e6b9e6f808a9824c8e5a58a65749585
DIFF: https://github.com/llvm/llvm-project/commit/290308a99e6b9e6f808a9824c8e5a58a65749585.diff
LOG: libclc: add generated convert.cl to clspv/clspv64 targets
https://reviews.llvm.org/D136772
Patch by: Aaron Greig <aaron.greig at codeplay.com>
Added:
Modified:
libclc/CMakeLists.txt
Removed:
################################################################################
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index f712100689b0..89f08b889ea1 100644
--- a/libclc/CMakeLists.txt
+++ b/libclc/CMakeLists.txt
@@ -218,11 +218,11 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
# Add the generated convert.cl here to prevent adding
# the one listed in SOURCES
- if( NOT ${ARCH} STREQUAL "spirv" AND NOT ${ARCH} STREQUAL "spirv64" AND
- NOT ${ARCH} STREQUAL "clspv" AND NOT ${ARCH} STREQUAL "clspv64" )
+ if( NOT ${ARCH} STREQUAL "spirv" AND NOT ${ARCH} STREQUAL "spirv64" )
set( rel_files convert.cl )
set( objects convert.cl )
- if( NOT ENABLE_RUNTIME_SUBNORMAL )
+ if( NOT ENABLE_RUNTIME_SUBNORMAL AND NOT ${ARCH} STREQUAL "clspv" AND
+ NOT ${ARCH} STREQUAL "clspv64" )
list( APPEND rel_files generic/lib/subnormal_use_default.ll )
endif()
else()
More information about the cfe-commits
mailing list