From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cKg8LSb2XV9yEAAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 10:36:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wDOUJyb2XV92fwAA1q6Kng (envelope-from ) for ; Sun, 13 Sep 2020 10:36:22 +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 68C799404C7 for ; Sun, 13 Sep 2020 10:36:22 +0000 (UTC) Received: from localhost ([::1]:38292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHPMr-0004Xc-DR for larch@yhetil.org; Sun, 13 Sep 2020 06:36:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHPMj-0004XT-CY for guix-devel@gnu.org; Sun, 13 Sep 2020 06:36:13 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:48655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHPMh-0005m6-Co for guix-devel@gnu.org; Sun, 13 Sep 2020 06:36:13 -0400 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 21B6D200008; Sun, 13 Sep 2020 10:36:07 +0000 (UTC) From: Pierre Neidhardt To: Guillaume Le Vaillant Subject: Re: Improve ASDF build system for Common Lisp libraries In-Reply-To: <87pn6rtd1y.fsf@yamatai> References: <87sgbntjz4.fsf@yamatai> <87blibcmuy.fsf@ambrevar.xyz> <87y2lfb67c.fsf@ambrevar.xyz> <87pn6rtd1y.fsf@yamatai> Date: Sun, 13 Sep 2020 12:36:00 +0200 Message-ID: <87y2le9d67.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.178.232; envelope-from=mail@ambrevar.xyz; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 06:36:08 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=ham 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: phoPGrPvTWBu --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant writes: > I thought about having the sources, SBCL compiled files and ECL compiled > files respectively in the 'out', 'sbcl' and 'ecl' packages outputs; > however I thought there could be issues in some cases. > > For example, if a profile contained cl-xyz and cl-xyz:sbcl, and if the > user tried to load this xyz system in ECL, then I think ECL would try > to compile the system and write the compiled files to cl-xyz:sbcl and > fail because it is read-only. That's because cl-xyz:sbcl contains the > ASDF configuration indicating "the compiled files for cl-xyz are in > cl-xyz:sbcl", and ECL is going to read that configuration. > > It might be possible to have smarter ASDF configuration files behaving > differently depending on the lisp implementation running, but I have not > investigated this for the moment. There is probably a way to tell where to load the libraries from, and where to compile them. By default, each compiler compiles to ~/.cache/common-lisp/$compiler_name-$compiler_version. This is what ECL should do here. The ASDF configuration should be so that it does not change this behaviour. If you can't figure it out I can give it a shot. Otherwise let's ask the ASDF people. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9d9hASHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/JqgH+wQN6lKVpnoEyOGI8/i7o4PenNPYkMEG /PkCIvI7n15POEqbXYMDnoNELPemhU7OqLnEBWqcx+WLlqTT/n0Bjch8W11SBB3X GN/bAfinTN0iz52r1Hj4EmR90QsWFJt0oup5jFCN5nLIpE/L7dgPoNbZzvDEfCfc mAKnptxSnqOWP3O79FqK7at8J7bCwulvpKRgUHfhA3KDEL3hHuhexgP4HvMc0DQp XYQbOseTj8RG/txTiNl5DKhPS9Fi3YHPOFy0GUjg8B2PvIbHywndWIvoI2Vw7sfk KZYWjT9HYudLqYJv0Bs/mrPba2QfOhZ8B4nNKIrPQgc9j8L+5FeNP3E= =yMUJ -----END PGP SIGNATURE----- --=-=-=--