mirror of
https://gitlab.com/scemama/irpf90.git
synced 2025-01-03 10:05:40 +01:00
Fix makefile print
This commit is contained in:
parent
cd026b467e
commit
cf0e4996b8
@ -143,7 +143,7 @@ def create_build_link(t, l_irp_m, l_usr_m, l_ext_m, ninja=True):
|
||||
|
||||
result_make = '\n'.join([
|
||||
"{target}:{target_o} {irp_lib} | {list_of_module}",
|
||||
'\t@printf "Link {short_target}\\n"',
|
||||
'\t@printf "Link: {short_target}\\n"',
|
||||
"\t@$(FC) $^ $(LIB) -o $@",
|
||||
""])
|
||||
|
||||
|
@ -883,6 +883,7 @@ def remove_ifdefs(text):
|
||||
|
||||
######################################################################
|
||||
def check_OpenMP(text):
|
||||
'Not working!'
|
||||
assert type(text) == list
|
||||
inside_openmp = False
|
||||
for line in text:
|
||||
@ -895,8 +896,8 @@ def check_OpenMP(text):
|
||||
elif buffer[1] == "end" and buffer[2] == "parallel":
|
||||
inside_openmp = False
|
||||
|
||||
if inside_openmp and isinstance(line, (Provide_all, Provide, Touch, SoftTouch)):
|
||||
logger.error("%s is not allowed in an OpenMP block: %s" % (type(line),line))
|
||||
# if inside_openmp and isinstance(line, (Provide_all, Provide, Touch, SoftTouch)):
|
||||
# logger.error("%s is not allowed in an OpenMP block: %s" % (type(line),line))
|
||||
|
||||
return text
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user