wok-current view libclc/stuff/libclc-add-missing-AMD-gfx9-and-gfx10-symlinks.patch @ rev 25786

Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 29 18:05:13 2025 +0000 (2 months ago)
parents
children
line source
1 From 6b63f3e7ef90bcaef54e960a4a5d8df9b5165afc Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= <zboszor@pr.hu>
3 Date: Mon, 22 Feb 2021 05:48:28 +0100
4 Subject: [PATCH] libclc: add missing AMD gfx9 and gfx10 symlinks
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
10 ---
11 libclc/CMakeLists.txt | 15 +++++++++++++++
12 1 file changed, 15 insertions(+)
14 diff --git a//CMakeLists.txt b//CMakeLists.txt
15 index b8b5ceff086c..b60bafa21e4f 100644
16 --- a//CMakeLists.txt
17 +++ b//CMakeLists.txt
18 @@ -170,6 +170,21 @@ if( ${LLVM_VERSION} VERSION_GREATER "6.99.99" )
19 set( tahiti_aliases ${tahiti_aliases} gfx904 gfx906 )
20 endif()
22 +# Support for gfx909, gfx1010, gfx1011 and gfx1012 was added in LLVM 10 (r345120)
23 +if( ${LLVM_VERSION} VERSION_GREATER "9.99.99" )
24 + set( tahiti_aliases ${tahiti_aliases} gfx909 gfx1010 gfx1011 gfx1012 )
25 +endif()
26 +
27 +# Support for gfx908 was added in LLVM 11 (r373411)
28 +if( ${LLVM_VERSION} VERSION_GREATER "10.99.99" )
29 + set( tahiti_aliases ${tahiti_aliases} gfx908 )
30 +endif()
31 +
32 +# Support for gfx90c, gfx1030, gfx1031, gfx1032, gfx1033 was added in LLVM 12
33 +if( ${LLVM_VERSION} VERSION_GREATER "11.99.99" )
34 + set( tahiti_aliases ${tahiti_aliases} gfx90c gfx1030 gfx1031 gfx1032 gfx1033 )
35 +endif()
36 +
37 # pkg-config file
38 configure_file( libclc.pc.in libclc.pc @ONLY )
39 install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig )
40 --
41 2.29.2