libclc: add missing AMD gfx symlinks (#78884)
Fixes #44186
---------
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
GitOrigin-RevId: 262735bbcc22f216a688b934ca9ff50b427c9dc1
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9daef82..fa1d8e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -142,17 +142,15 @@
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 )