Skip to content

Commit 262735b

Browse files
authored
libclc: add missing AMD gfx symlinks (llvm#78884)
Fixes llvm#44186 --------- Signed-off-by: Zoltán Böszörményi <[email protected]>
1 parent 8658d15 commit 262735b

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

Diff for: libclc/CMakeLists.txt

+9-11
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,15 @@ set( cypress_aliases hemlock )
142142
set( barts_aliases turks caicos )
143143
set( cayman_aliases aruba )
144144
set( tahiti_aliases pitcairn verde oland hainan bonaire kabini kaveri hawaii
145-
mullins tonga iceland carrizo fiji stoney polaris10 polaris11 )
146-
147-
# Support for gfx9 was added in LLVM 5.0 (r295554)
148-
if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "4.99.99" )
149-
set( tahiti_aliases ${tahiti_aliases} gfx900 gfx902 )
150-
endif()
151-
152-
# Support for Vega12 and Vega20 was added in LLVM 7 (r331215)
153-
if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "6.99.99" )
154-
set( tahiti_aliases ${tahiti_aliases} gfx904 gfx906 )
155-
endif()
145+
mullins tonga tongapro iceland carrizo fiji stoney polaris10 polaris11
146+
gfx602 gfx705 gfx805
147+
gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx940 gfx941 gfx942
148+
gfx1010 gfx1011 gfx1012 gfx1013
149+
gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036
150+
gfx1100 gfx1101 gfx1102 gfx1103
151+
gfx1150 gfx1151
152+
gfx1200 gfx1201
153+
)
156154

157155
# pkg-config file
158156
configure_file( libclc.pc.in libclc.pc @ONLY )

0 commit comments

Comments
 (0)