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