summaryrefslogtreecommitdiff
path: root/utests/setenv.sh.in
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2014-09-01 15:28:02 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-09-04 12:10:48 +0800
commit473683fa7f13a61f44c80eeac4699b17d41df33b (patch)
tree3d1470dc97008ac1d9d84f4cd333d98fefa5c3e7 /utests/setenv.sh.in
parent50bc7dd0e4d863265d81823ed6cbf9d0ee8de192 (diff)
downloadbeignet-473683fa7f13a61f44c80eeac4699b17d41df33b.tar.gz
Enable libocl and disable the usage of the old huge header.
The llvm ir print out is modified. From the OCL_OUTPUT_LLVM_BEFORE_EXTRA_PASS and OCL_OUTPUT_LLVM, we change to OCL_OUTPUT_LLVM_BEFORE_LINK OCL_OUTPUT_LLVM_AFTER_LINK OCL_OUTPUT_LLVM_AFTER_GEN The first one print out the IR before link the bitcode lib. The second one print out the IR result after linking. Then last one print out the IR after gen translating. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
Diffstat (limited to 'utests/setenv.sh.in')
-rw-r--r--utests/setenv.sh.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/utests/setenv.sh.in b/utests/setenv.sh.in
index b0f575fc..ac06b105 100644
--- a/utests/setenv.sh.in
+++ b/utests/setenv.sh.in
@@ -1,7 +1,8 @@
#!/bin/sh
#
-export OCL_PCM_PATH=@LOCAL_PCM_OBJECT_DIR@
-export OCL_PCH_PATH=@LOCAL_PCH_OBJECT_DIR@
+export OCL_BITCODE_LIB_PATH=@LOCAL_OCL_BITCODE_BIN@
+export OCL_HEADER_FILE_DIR=@LOCAL_OCL_HEADER_DIR@
+export OCL_PCH_PATH=@LOCAL_OCL_PCH_OBJECT@
export OCL_KERNEL_PATH=@CMAKE_CURRENT_SOURCE_DIR@/../kernels
export OCL_GBE_PATH=@LOCAL_GBE_OBJECT_DIR@
export OCL_INTERP_PATH=@LOCAL_INTERP_OBJECT_DIR@