[Beignet] [PATCH] Add build clang option fno-builtin to disable intrinsics.

Yang Rong rong.r.yang at intel.com
Sun Jul 21 22:24:18 PDT 2013


Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 backend/src/backend/program.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp
index 2a4feb9..aaee3a7 100644
--- a/backend/src/backend/program.cpp
+++ b/backend/src/backend/program.cpp
@@ -150,6 +150,7 @@ namespace gbe {
     }
 
     args.push_back("-emit-llvm");
+    args.push_back("-fno-builtin");
     if(bOpt)  args.push_back("-O3");
 #if LLVM_VERSION_MINOR <= 2
     args.push_back("-triple");
-- 
1.7.10.4



More information about the Beignet mailing list