aboutsummaryrefslogtreecommitdiff
path: root/libclc/CMakeLists.txt
diff options
context:
space:
mode:
authorZoltán Böszörményi <zboszor@gmail.com>2024-01-22 09:32:13 +0100
committerGitHub <noreply@github.com>2024-01-22 15:32:13 +0700
commit262735bbcc22f216a688b934ca9ff50b427c9dc1 (patch)
treeeb4bb7d5a3b90bb20ed11d2806bfbb6d5b184945 /libclc/CMakeLists.txt
parent8658d157654832fe24b4f3d2a9a62784a4d6a162 (diff)
downloadllvm-262735bbcc22f216a688b934ca9ff50b427c9dc1.zip
llvm-262735bbcc22f216a688b934ca9ff50b427c9dc1.tar.gz
llvm-262735bbcc22f216a688b934ca9ff50b427c9dc1.tar.bz2
libclc: add missing AMD gfx symlinks (#78884)
Fixes #44186 --------- Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Diffstat (limited to 'libclc/CMakeLists.txt')
-rw-r--r--libclc/CMakeLists.txt20
1 files changed, 9 insertions, 11 deletions
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index 9daef82..fa1d8e4 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 )