From fd9d787b183a58295b621e375a35246e74340639 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Sun, 4 Nov 2018 00:54:45 +0000 Subject: [PATCH] configure: Provide symlink for amdgcn-mesa3d instead of configure hack Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry llvm-svn: 346085 --- libclc/amdgcn-mesa3d | 1 + libclc/configure.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 120000 libclc/amdgcn-mesa3d diff --git a/libclc/amdgcn-mesa3d b/libclc/amdgcn-mesa3d new file mode 120000 index 000000000000..400782833efe --- /dev/null +++ b/libclc/amdgcn-mesa3d @@ -0,0 +1 @@ +amdgcn-amdhsa \ No newline at end of file diff --git a/libclc/configure.py b/libclc/configure.py index 55ef1bbb1d0d..8c021b93fd48 100755 --- a/libclc/configure.py +++ b/libclc/configure.py @@ -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')