configure: Provide symlink for amdgcn-mesa3d instead of configure hack

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-By: Aaron Watry <awatry@gmail.com>
llvm-svn: 346085
This commit is contained in:
Jan Vesely 2018-11-04 00:54:45 +00:00
parent ee93cda9b4
commit fd9d787b18
2 changed files with 1 additions and 2 deletions

1
libclc/amdgcn-mesa3d Symbolic link
View File

@ -0,0 +1 @@
amdgcn-amdhsa

View File

@ -187,8 +187,6 @@ for target in targets:
for arch in archs:
subdirs.append("%s-%s-%s" % (arch, t_vendor, t_os))
subdirs.append("%s-%s" % (arch, t_os))
if t_os == 'mesa3d':
subdirs.append('amdgcn-amdhsa')
subdirs.append(arch)
if arch == 'amdgcn' or arch == 'r600':
subdirs.append('amdgpu')