From d2f97f20ea3099efdcaf1609d689c18b80fac569 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 22 Oct 2013 20:55:38 +2000 Subject: [PATCH] [PATCH] perf: Clean corpus and caches in distclean, not clean --- 95/70a747cc70a18baee651ed7d72416d8190b0ab | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 95/70a747cc70a18baee651ed7d72416d8190b0ab diff --git a/95/70a747cc70a18baee651ed7d72416d8190b0ab b/95/70a747cc70a18baee651ed7d72416d8190b0ab new file mode 100644 index 000000000..ced519a37 --- /dev/null +++ b/95/70a747cc70a18baee651ed7d72416d8190b0ab @@ -0,0 +1,93 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 960A5431FC7 + for ; Mon, 21 Oct 2013 17:55:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id neyv-Tc01crG for ; + Mon, 21 Oct 2013 17:55:49 -0700 (PDT) +Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu + [18.7.68.35]) + by olra.theworths.org (Postfix) with ESMTP id 4C1FA431FAF + for ; Mon, 21 Oct 2013 17:55:49 -0700 (PDT) +X-AuditID: 12074423-b7fc98e0000009a2-2b-5265cd125e54 +Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) + by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP + id 96.BC.02466.21DC5625; Mon, 21 Oct 2013 20:55:46 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r9M0tiJ6025818; + Mon, 21 Oct 2013 20:55:44 -0400 +Received: from drake.dyndns.org + (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com + [216.15.114.40]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9M0tfb4007089 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Mon, 21 Oct 2013 20:55:43 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) + id 1VYQG5-0002P4-BH; Mon, 21 Oct 2013 20:55:41 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH] perf: Clean corpus and caches in distclean, not clean +Date: Mon, 21 Oct 2013 20:55:38 -0400 +Message-Id: <1382403338-9200-1-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.8.4.rc3 +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6noit0NjXI4PNhK4sbrd2MFtdvzmR2 + YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDL2TG1jLZjNXnHv4QemBsZ+ti5GTg4JAROJ + 4x0nWCBsMYkL99YDxbk4hAT2MUq8WtrGDuFsZJRovraHBcK5wyTx/NssKGcuo8ScJX1g/WwC + GhLb9i9nBLFFBKQldt6dzQpiMwtYSlz92s4EYgsLuEmc6NnDDGKzCKhK3HkyHewOXgF7icfr + 9zBC3KEksfDUNtYJjLwLGBlWMcqm5Fbp5iZm5hSnJusWJyfm5aUW6Zrp5WaW6KWmlG5iBAeH + i/IOxj8HlQ4xCnAwKvHwZlilBgmxJpYVV+YeYpTkYFIS5S0+DRTiS8pPqcxILM6ILyrNSS0+ + xCjBwawkwrv3CFCONyWxsiq1KB8mJc3BoiTOe4vDPkhIID2xJDU7NbUgtQgmK8PBoSTBm34G + qFGwKDU9tSItM6cEIc3EwQkynAdo+BaQxbzFBYm5xZnpEPlTjLocff8+fWMUYsnLz0uVEue1 + AhkkAFKUUZoHNwcW1a8YxYHeEuYVBKniASYEuEmvgJYwAS1xZgRbUpKIkJJqYDwz4SrPOzHT + PQ1+PAJSmj/LzlTGch2bKvZbRoE3Yyfn/hXT62pVH5a7Xf+5c+X/h0prnpfG3n7x8syhiuWS + u+rXcU5Xypm0yNjQp3AX054tBzdV2B05v+RdoahbU5fX8icZB66m/NZqYf8S2NYpxyN/pPvH + Fdd3FtcWPr/zx6e+WFH4xBMdCUYlluKMREMt5qLiRACmNXCzxQIAAA== +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 22 Oct 2013 00:55:55 -0000 + +Previously, we cleaned the downloaded performance corpus and the +cached indexes on 'make clean'. This seems heavy-handed, since these +take a long time to download, unpack, and index. They also aren't +make targets to begin with. Move cleaning these to 'make distclean'. +This isn't exactly the right meaning of "distclean", but it's closer. +--- + performance-test/Makefile.local | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/performance-test/Makefile.local b/performance-test/Makefile.local +index e47219a..d97e56d 100644 +--- a/performance-test/Makefile.local ++++ b/performance-test/Makefile.local +@@ -39,4 +39,5 @@ $(TXZFILE): + download-corpus: + wget -O ${TXZFILE} ${DEFAULT_URL} + +-CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.* $(dir)/corpus $(dir)/notmuch.cache.* ++CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.* ++DISTCLEAN := $(dir)/corpus $(dir)/notmuch.cache.* +-- +1.8.4.rc3 + -- 2.26.2