From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mBQjF4gbXl8YfAAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 13:15:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4NFkEYgbXl/lYAAAbx9fmQ (envelope-from ) for ; Sun, 13 Sep 2020 13:15:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C7844940609 for ; Sun, 13 Sep 2020 13:15:51 +0000 (UTC) Received: from localhost ([::1]:56694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHRrC-0005HV-Pp for larch@yhetil.org; Sun, 13 Sep 2020 09:15:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHRr0-0005HM-3B for guix-devel@gnu.org; Sun, 13 Sep 2020 09:15:38 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:33909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHRqx-0005cu-K1 for guix-devel@gnu.org; Sun, 13 Sep 2020 09:15:37 -0400 X-Originating-IP: 90.92.160.122 Received: from mimimi (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 949EDFF806; Sun, 13 Sep 2020 13:15:30 +0000 (UTC) From: Pierre Neidhardt To: Guillaume Le Vaillant Subject: Re: Improve ASDF build system for Common Lisp libraries In-Reply-To: <87pn6phmdt.fsf@yamatai> References: <87sgbntjz4.fsf@yamatai> <87blibcmuy.fsf@ambrevar.xyz> <87y2lfb67c.fsf@ambrevar.xyz> <87pn6rtd1y.fsf@yamatai> <87y2le9d67.fsf@ambrevar.xyz> <87pn6phmdt.fsf@yamatai> Date: Sun, 13 Sep 2020 15:15:28 +0200 Message-ID: <87a6xt7r7z.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@ambrevar.xyz; helo=relay9-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 09:15:31 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: P65ESomtWIZa --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant writes: > The ':implementation-type' or ':function' keywords of ASDF > configuration files described in [1] and [2] could be useful to do that. > > Now, let's suppose that we put the sources in cl-xyz, the SBCL > pre-compiled files in cl-xyz:sbcl and the ECL pre-compiled files in > cl-xyz:ecl. > If a user installs only cl-xyz (the sources) and loads the system using > SBCL or ECL, I think he would expect the lisp implementation to compile > the thing and store the compiled files in the default > '$HOME/.cache/common-lisp/...' location, because he didn't install the > pre-compiled files. > So we would need the ASDF output-translation configuration to be able to > say something like: "if the pre-compiled files for the running lisp > implementation exist in '/gnu/store/...' and if the Guix package for > these pre-compiled files is installed in the current profile or > environment, then use them, else use the default > $HOME/.cache/common-lisp/...' directory". > > I guess cl-xyz:sbcl and cl-xyz:ecl would also need to have links to the > ASDF configuration and to the sources in cl-xyz, in case the user > installs only cl-xyz:sbcl or only cl-xyz:ecl. Agreed on all points! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9eG3AACgkQm9z0l6S7 zH8edAf/fzFoQyN/n2SygokYtp8CrTEeImPnn5bZSthtnE0rFrRrduBh0MzgMLQv iiEqSfpYPEmckM8whkw41A0bjBw7q9+3RE7pdVTgZDNsp+dyx/rNdT43YeMgiSzY jEqLukfdKgt2VvSf3q0xC/nptqRGVW49q+AXYS89gg1hWJZiS/lLWN5Bqxwu4aCN oosOxy0zKbSp6efhnH6cBHZwZvyrBb/G2JakiSpIsl18QIzAp6SCkL3uDAhRW/Oj pQfDC8DznUKuShL2lJQV6xYmFfnaA1tW5Z6oQsPEtobyRGyrmpS0wyw359BJRfc9 aGQDM0phJyPXN4olJJ17aqBKj0iIOA== =diXn -----END PGP SIGNATURE----- --=-=-=--