diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2012-11-21 13:59:41 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2012-11-21 13:59:41 +0200 |
commit | 84da8d4094a0d16d6589558208c6582c64f43f08 (patch) | |
tree | a2b2285c3e4b05ad327abc048c3d3780d8e1dd9f /media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch | |
parent | 0672ebbe2a455152b6eaa2fc35327d4a8f738861 (diff) |
new file: files/0002-radeong-opencl-rename-target-from-r600-to-r600-amd-n.patch
new file: files/0003-clover-fix-building-and-add-standart-locations-for-l.patch
new file: files/eselect-mesa.conf.8.1
new file: files/glx_ro_text_segm.patch
new file: files/mesa-8.1-dont-require-llvm-for-r300.patch
new file: mesa-9999.ebuild
Diffstat (limited to 'media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch')
-rw-r--r-- | media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch b/media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch new file mode 100644 index 0000000..2b18806 --- /dev/null +++ b/media-libs/mesa/files/0003-clover-fix-building-and-add-standart-locations-for-l.patch @@ -0,0 +1,38 @@ +From 3d4239edd2c89d3b67aef11786f0846fba96d718 Mon Sep 17 00:00:00 2001 +From: Alexey Shvetsov <alexxy@gentoo.org> +Date: Sun, 3 Jun 2012 04:35:51 +0400 +Subject: [PATCH 3/3] clover fix building and add standart locations for + libclc + +--- + src/gallium/state_trackers/clover/llvm/invocation.cpp | 4 ++-- + src/gallium/targets/opencl/Makefile.am | 1 + + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp +index 27276bc..78c8670 100644 +--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp ++++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp +@@ -107,7 +107,7 @@ namespace { + c.getHeaderSearchOpts().ResourceDir = CLANG_RESOURCE_DIR; + + // Add libclc generic search path +- c.getHeaderSearchOpts().AddPath(LIBCLC_PATH "/generic/include/", ++ c.getHeaderSearchOpts().AddPath(LIBCLC_PATH "/include/", + clang::frontend::Angled, + false, false, false); + +@@ -142,7 +142,7 @@ namespace { + llvm::Linker linker("clover", mod); + + // Link the kernel with libclc +- linker.LinkInFile(llvm::sys::Path(LIBCLC_PATH + triple + "/lib/builtins.bc"), isNative); ++ linker.LinkInFile(llvm::sys::Path(LIBCLC_PATH + ("/lib/clc/" + triple + "/builtins.bc")), isNative); + mod = linker.releaseModule(); + + // Run link time optimizations +diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am +index d55b21e..4c89e36 100644 +-- +1.7.10.2 + |