[libclc] 262735b - libclc: add missing AMD gfx symlinks (#78884)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 22 00:32:17 PST 2024
Author: Zoltán Böszörményi
Date: 2024-01-22T15:32:13+07:00
New Revision: 262735bbcc22f216a688b934ca9ff50b427c9dc1
URL: https://github.com/llvm/llvm-project/commit/262735bbcc22f216a688b934ca9ff50b427c9dc1
DIFF: https://github.com/llvm/llvm-project/commit/262735bbcc22f216a688b934ca9ff50b427c9dc1.diff
LOG: libclc: add missing AMD gfx symlinks (#78884)
Fixes #44186
---------
Signed-off-by: Zoltán Böszörményi <zboszor at gmail.com>
Added:
Modified:
libclc/CMakeLists.txt
Removed:
################################################################################
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index 9daef8265c16f26..fa1d8e4adbcc4fb 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 )
More information about the cfe-commits
mailing list