File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5435,7 +5435,7 @@ def test_dump_env_script(self):
54355435 "module load hwloc/1.11.8-GCC-4.6.4" , # loading of dependency module
54365436 # defining build env
54375437 "export FC='gfortran'" ,
5438- "export CFLAGS='-O2 -ftree-vectorize -m(arch|cpu)=native -fno-math-errno'" ,
5438+ "export CFLAGS='-O2 -ftree-vectorize -m(arch|cpu)=native -fno-math-errno -g '" ,
54395439 ]
54405440 for pattern in patterns :
54415441 regex = re .compile ("^%s$" % pattern , re .M )
Original file line number Diff line number Diff line change @@ -1278,7 +1278,7 @@ def test_fosscuda(self):
12781278 tc .prepare ()
12791279
12801280 archflags = tc .COMPILER_OPTIMAL_ARCHITECTURE_OPTION [(tc .arch , tc .cpu_family )]
1281- optflags = "-O2 -ftree-vectorize -%s -fno-math-errno -fopenmp" % archflags
1281+ optflags = "-O2 -ftree-vectorize -%s -fno-math-errno -g - fopenmp" % archflags
12821282 nvcc_flags = r' ' .join ([
12831283 r'-Xcompiler="%s"' % optflags ,
12841284 # the use of -lcudart in -Xlinker is a bit silly but hard to avoid
You can’t perform that action at this time.
0 commit comments