From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0vz0-0000mO-TK for guix-patches@gnu.org; Sat, 07 Oct 2017 16:46:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0vz0-0004qR-1R for guix-patches@gnu.org; Sat, 07 Oct 2017 16:46:02 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0vyz-0004qN-VA for guix-patches@gnu.org; Sat, 07 Oct 2017 16:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0vyz-0004Cc-PM for guix-patches@gnu.org; Sat, 07 Oct 2017 16:46:01 -0400 Subject: [bug#28593] [PATCH] gnu: openfoam: Clean up to reduce closure. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170925104459.17798-1-fx@gnu.org> <87fubbj5yr.fsf@gnu.org> <1506426036.2423.32.camel@tourbillion-technology.com> <873779hdci.fsf@gnu.org> Date: Sat, 07 Oct 2017 22:45:38 +0200 In-Reply-To: <873779hdci.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 26 Sep 2017 14:08:13 +0200") Message-ID: <87o9piit59.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Paul Garlick Cc: 28593@debbugs.gnu.org, Dave Love Hi, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Paul Garlick skribis: [...] >>> Rather: >>>=20 >>> =C2=A0 (for-each delete-file (find-files "." "\\.o$")) >>>=20 >>> Paul can you confirm that this is OK? >>>=20 >> >> Maybe. =C2=A0We need to be careful that we not delete files which are ne= eded >> later on. =C2=A0Typically, a user will copy part of the directory struct= ure >> to a subdirectory of $HOME and compile a new solver. =C2=A0The OpenFOAM >> 'wmake' utility takes care of the dependencies and re-compiles object >> files as needed. =C2=A0 >> >> So, object files under 'platforms/linux64GccDPInt32Opt/src' should be >> safe to delete. =C2=A0However, this needs to be checked to make sure no >> dependencies are deleted that cannot easily be re-compiled. =C2=A0Have y= ou >> already checked this Dave by, for example, re-compiling a standard >> solver? > > I let Dave answer on this part. I think we got sidetracked by the discussion about debugging info. Paul, Dave: what do we do this patch? https://bugs.gnu.org/28593 TIA, Ludo=E2=80=99.