diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-12-10 17:26:13 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-01-11 16:02:19 +0000 |
commit | 4bf5db7940d3f9e8c19db3b316386d876aeb1d87 (patch) | |
tree | 2a7c610a19970314a7d03a16bab82e574c628521 | |
parent | 3028f8db006f0d8b2d811050991feb28b761eb54 (diff) |
Revert "configure: Allow targets to override generic cl implementations with LLVM IR"
This reverts commit 327f78fd8474eb5e0bd13aaba6c9c4dcc9cd1f1d.
-rwxr-xr-x | configure.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.py b/configure.py index 554e205..4a1c679 100755 --- a/configure.py +++ b/configure.py @@ -143,12 +143,8 @@ for target in targets: manifest_deps.add(subdir_list_file) for src in open(subdir_list_file).readlines(): src = src.rstrip() - # Only add the base filename (e.g. Add get_global_id instead of - # get_global_id.cl) to sources_seen. - # This allows targets to overide generic .cl sources with .ll sources. - src_base = os.path.splitext(src)[0] - if src_base not in sources_seen: - sources_seen.add(src_base) + if src not in sources_seen: + sources_seen.add(src) obj = os.path.join(target, 'lib', src + '.bc') objects.append(obj) src_file = os.path.join(libdir, src) |