From c41fd9cb5f47695077165fb769e1754f7886517e Mon Sep 17 00:00:00 2001 From: dhuth Date: Thu, 9 Oct 2014 11:40:37 -0600 Subject: Small changes to Makefile and test-chill --- test-chill/testchill/chill.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test-chill/testchill/chill.py') diff --git a/test-chill/testchill/chill.py b/test-chill/testchill/chill.py index bfd9c81..b881ef4 100644 --- a/test-chill/testchill/chill.py +++ b/test-chill/testchill/chill.py @@ -54,11 +54,11 @@ class ChillConfig(object): def _buildfunc(self, cc, link=True): if not link: - compile_args = ['-c'] + compile_args = ['-c -Wuninitialized'] elif link and cc == 'nvcc': - compile_args = ['-L/usr/local/cuda/lib64/lib', '-lcuda', '-lcudart', '-lstdc++', '-lrt'] + compile_args = ['-L/usr/local/cuda/lib64/lib', '-lcuda', '-lcudart', '-lstdc++', '-lrt', '-Wuninitialized'] else: - compile_args = ['-lstdc++', '-lrt'] + compile_args = ['-lstdc++', '-lrt', '-Wuninitialized'] def build(src, dest, args=[], defines={}, wd=None): if wd is None: -- cgit v1.2.3-70-g09d2