File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ def x_path(file):
186186 else :
187187 cflags += '-lm ' # math library
188188
189+ print ("Past CFLAGS" )
190+
189191 # Special support for conda environment with compilers included. To be
190192 # conservative we (for now?) only apply this when both CONDA_PREFIX and
191193 # LDFLAGS/CFLAGS are set (C++/Fortran would use CXXFLAGS/FFLAGS instead
@@ -310,9 +312,10 @@ def x_path(file):
310312 if os .environ .get ('CONDA_PREFIX' ):
311313 if "${CONDA_PREFIX}" in cflags :
312314 cflags = cflags .replace ("${CONDA_PREFIX}" ,os .environ .get ('CONDA_PREFIX' ))
313-
315+ print ( "PRE LINTER" )
314316 # Lint or compile?
315317 if options .c_lint is not None :
318+ print ("LINTER" )
316319 args = [self .cpath ] + lexer .split (mccode_config .compilation ['CLINTERFLAGS' ])
317320 Process (lexer .quote (mccode_config .compilation ['CLINT' ])).run (args )
318321 LOG .info ('End of linting %s' , self .cpath )
@@ -323,7 +326,7 @@ def x_path(file):
323326 args = ['-o' , self .binpath , self .cpath ] + lexer .split (cflags )
324327 else :
325328 args = [self .cpath ] + lexer .split (cflags )
326- Process (lexer .quote (options .cc )).run (args )
329+ Process (lexer .quote (options .cc )).run (args )
327330
328331 def run (self , pipe = False , extra_opts = None , override_mpi = None ):
329332 ''' Run simulation '''
You can’t perform that action at this time.
0 commit comments