From 25402b5b5299b32fb4c3da36605f3a518758b0e3 Mon Sep 17 00:00:00 2001 From: Paul Fultz II Date: Wed, 22 Jul 2020 10:19:33 -0500 Subject: [PATCH] Remove greping for warnings --- clang-ocl.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clang-ocl.in b/clang-ocl.in index fd5097d..206151f 100644 --- a/clang-ocl.in +++ b/clang-ocl.in @@ -66,12 +66,6 @@ ${CLANG} -c -emit-llvm \ ${BITCODE_ARGS} \ ${options} -o ${output_file}.linked.bc ${input_file} -# Fail on warnings -if grep -qi warning ${output_file}.linked.bc.out; then - echo "clang failed!" - exit 1 -fi - ${CLANG} \ -target $TRIPLE \ -O3 \