[ET Trac] [Einstein Toolkit] #2045: remove piraha cache files in make clean
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Jun 28 12:12:13 CDT 2017
#2045: remove piraha cache files in make clean
---------------------+------------------------------------------------------
Reporter: rhaas | Owner: sbrandt
Type: defect | Status: assigned
Priority: major | Milestone: ET_2017_05
Component: Cactus | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by sbrandt):
OK, so updating...
{{{
diff --git a/Makefile b/Makefile
index b4ed2e9..d0e4539 100644
--- a/Makefile
+++ b/Makefile
@@ -505,6 +505,7 @@ ifneq ($strip($(CONFIGURATIONS)),)
$(addsuffix -clean,$(CONFIGURATIONS)):
$(NOTIFY_DIVIDER)
@echo Cleaning configuration $(@:%-clean=%)
+ @rm -fr $(CONFIGS_DIR)/$(@:%-clean=%)/piraha
cd $(CONFIGS_DIR)/$(@:%-clean=%)
$(MAKE) -f $(CCTK_HOME)/lib/make/make.configuration
TOP=$(CONFIGS_DIR)/$(@:%-clean=%) CCTK_HOME=$(CCTK_HOME) clean
$(NOTIFY_DIVIDER)
@@ -591,6 +592,7 @@ ifneq ($strip($(CONFIGURATIONS)),)
$(addsuffix -realclean,$(CONFIGURATIONS)):
$(NOTIFY_DIVIDER)
@echo Cleaning configuration $(@:%-realclean=%)
+ @rm -fr $(CONFIGS_DIR)/$(@:%-clean=%)/piraha
cd $(CONFIGS_DIR)/$(@:%-realclean=%)
$(MAKE) -f $(CCTK_HOME)/lib/make/make.configuration
TOP=$(CONFIGS_DIR)/$(@:%-realclean=%) CCTK_HOME=$(CCTK_HOME) realclean
$(NOTIFY_DIVIDER)
}}}
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2045#comment:10>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list