From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: 03/03: gnu: clang-from-llvm: Clean up share/clang folder. Date: Wed, 28 Nov 2018 12:54:21 +0200 Message-ID: <20181128105421.GB28059@macbook41> References: <20181126135350.20543.84585@vcs0.savannah.gnu.org> <20181126135351.C5B4420427@vcs0.savannah.gnu.org> <874lc29jqp.fsf@netris.org> <20181128093247.GA28059@macbook41> <87va4hlebj.fsf@ambrevar.xyz> <87sgzllcuc.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRxUC-0006i9-Pf for guix-devel@gnu.org; Wed, 28 Nov 2018 05:54:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRxU8-0007uz-Ns for guix-devel@gnu.org; Wed, 28 Nov 2018 05:54:28 -0500 Received: from flashner.co.il ([178.62.234.194]:33694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRxU8-0007uD-9U for guix-devel@gnu.org; Wed, 28 Nov 2018 05:54:24 -0500 Content-Disposition: inline In-Reply-To: <87sgzllcuc.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 28, 2018 at 11:23:55AM +0100, Pierre Neidhardt wrote: > I've successfully built clang-3.9.1 with two (file-exists? ...). > Efraim, let me know if I should push. >=20 If yours works then go ahead and push it. I forgot to check bash-autocomplete.sh and so my build of clang@3.8 failed. Make sure yours covers that too. diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 0b12f736a..6197c2795 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -243,13 +243,16 @@ compiler. In LLVM this library is called \"compiler-= rt\".") out "/etc/bash_completion.d"))) (with-directory-excursion (string-append out "/share/c= lang") - ;; Delete extensions for proprietary text editor= s. - (delete-file "clang-format-bbedit.applescript") - (delete-file "clang-format-sublime.py") - ;; Delete Emacs extensions: see their respective= Emacs - ;; Guix package instead. - (delete-file "clang-rename.el") - (delete-file "clang-format.el") + (for-each + (lambda (file) + (when (file-exists? file) + (delete-file file))) + ;; Delete extensions for proprietary text edit= ors. + '("clang-format-bbedit.applescript" + "clang-format-sublime.py" + ;; Delete Emacs extensions: see their respec= tive Emacs + ;; Guix package instead. + "clang-rename.el" "clang-format.el")) ;; Install bash completion. (mkdir-p compl-dir) (rename-file "bash-autocomplete.sh" --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlv+c9oACgkQQarn3Mo9 g1G7Pw//fQdlj3zUoTPe7iJ3JVE61WIawOZmVW7WZ4YGgpEzTL2Lo7c+iquQ3l3Z YS79jxU5D64dXeZ/kYBdkIwzUJELfLgto0eStaIe6bWOaciqX/z6IOwFB/ru15hi Bzx4VT5ok9R6x802H35UthAGXNLmtSVrL9gjaFLQ3DY9CCjsKyP7qYdhlKYA2lRT /cjuZHPIXD3GoW+Iu+9WBexTFBy3CnokF/tSxThB5JqIgk050Xht3rWhc3DHr8ub ZPjLyErD6HsUvdBZTwaSE9rOQ8jMMvSWYCPQnlJjLXxol1Yb0PUPrTRkwjRwdErK ylzA5rfgyMvH+nTXLUWVPyfTBm8a/jbcrfw3BgPw/AD8sHNOUypY2sC+vnrkhHio rp63TIXR521cyVObHnK92bZBy/MU3cKvgex0B8n6TiK0TGOSdeeuM7YvlVqkFBu7 lNsjE3eLMx4epeqFrGMo4DY7koIbL+zIFctApUhOUjlHMflsZpCZlqQbIiUaHD8P puP+m8bxVvKLzexxk2uGMD9Qmng760MYwlaRvQIrz7Ogw+2mrgrf+f64JqTH+A2+ 9OzMuS8NV59IWv8WfvZsvrjBDB5GUR4FDYgLMKPVE518vstvcm4X5S6knrlpSXPL Mf7wgh5Fza146+CTOiYGbDmG1kT+q4UffbAtTfpQXZ54A053UP0= =8W60 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--