diff options
author | Kévin Petit <kpet@free.fr> | 2023-02-14 18:23:35 +0000 |
---|---|---|
committer | Kévin Petit <kpet@free.fr> | 2023-02-14 18:23:35 +0000 |
commit | 290308a99e6b9e6f808a9824c8e5a58a65749585 (patch) | |
tree | 485ca4e1a5f684555c100c641f936f7caff5de20 /libclc | |
parent | 9c8f3409494feac1ffc5082a9b32db56d208a9e5 (diff) | |
download | llvm-290308a99e6b9e6f808a9824c8e5a58a65749585.zip llvm-290308a99e6b9e6f808a9824c8e5a58a65749585.tar.gz llvm-290308a99e6b9e6f808a9824c8e5a58a65749585.tar.bz2 |
libclc: add generated convert.cl to clspv/clspv64 targets
https://reviews.llvm.org/D136772
Patch by: Aaron Greig <aaron.greig@codeplay.com>
Diffstat (limited to 'libclc')
-rw-r--r-- | libclc/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index f712100..89f08b8 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() |