From 397f31962156df807488670a3349a7a3687fdf66 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Fri, 10 May 2024 13:15:45 -0400 Subject: [PATCH] fix an issue with AMReX_BuildInfo.o sometimes we haven't yet created the output directory at the point where this rule is executed --- Exec/Make.Maestro | 1 + 1 file changed, 1 insertion(+) diff --git a/Exec/Make.Maestro b/Exec/Make.Maestro index 008c3916c..3ab47ea3a 100644 --- a/Exec/Make.Maestro +++ b/Exec/Make.Maestro @@ -259,6 +259,7 @@ ifdef BUILD_GIT_NAME endif $(objEXETempDir)/AMReX_buildInfo.o: .FORCE + @if [ ! -d $(objEXETempDir) ]; then mkdir -p $(objEXETempDir); fi $(AMREX_HOME)/Tools/C_scripts/makebuildinfo_C.py \ --amrex_home "$(AMREX_HOME)" \ --COMP "$(COMP)" --COMP_VERSION "$(COMP_VERSION)" \