Skip to content

Commit 4b81837

Browse files
committed
fix make flags in job_info
on some systems, it is empty, so use MAKEOVERRIDES instead
1 parent 35c653d commit 4b81837

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Exec/Make.auto_source

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ ifeq ($(USE_CUDA), TRUE)
150150
endif
151151

152152
clean_flags := $(filter-out --jobserver%,$(MAKEFLAGS))
153+
ifeq ($(strip $(clean_flags)),)
154+
clean_flags = $(MAKEOVERRIDES)
155+
endif
153156

154157
$(objEXETempDir)/AMReX_buildInfo.o: .FORCE
155158
@if [ ! -d $(objEXETempDir) ]; then mkdir -p $(objEXETempDir); fi

0 commit comments

Comments
 (0)