From 262735bbcc22f216a688b934ca9ff50b427c9dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= Date: Mon, 22 Jan 2024 09:32:13 +0100 Subject: [PATCH] libclc: add missing AMD gfx symlinks (#78884) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #44186 --------- Signed-off-by: Zoltán Böszörményi --- libclc/CMakeLists.txt | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index 9daef8265c16..fa1d8e4adbcc 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -142,17 +142,15 @@ set( cypress_aliases hemlock ) set( barts_aliases turks caicos ) set( cayman_aliases aruba ) set( tahiti_aliases pitcairn verde oland hainan bonaire kabini kaveri hawaii - mullins tonga iceland carrizo fiji stoney polaris10 polaris11 ) - -# Support for gfx9 was added in LLVM 5.0 (r295554) -if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "4.99.99" ) - set( tahiti_aliases ${tahiti_aliases} gfx900 gfx902 ) -endif() - -# Support for Vega12 and Vega20 was added in LLVM 7 (r331215) -if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "6.99.99" ) - set( tahiti_aliases ${tahiti_aliases} gfx904 gfx906 ) -endif() + mullins tonga tongapro iceland carrizo fiji stoney polaris10 polaris11 + gfx602 gfx705 gfx805 + gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx940 gfx941 gfx942 + gfx1010 gfx1011 gfx1012 gfx1013 + gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036 + gfx1100 gfx1101 gfx1102 gfx1103 + gfx1150 gfx1151 + gfx1200 gfx1201 +) # pkg-config file configure_file( libclc.pc.in libclc.pc @ONLY )