From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vivien Kraus Newsgroups: gmane.lisp.guile.user Subject: Re: Does the eval-when example work? Date: Fri, 21 Oct 2022 19:41:28 +0200 Message-ID: <4cc167d9a1131484b6539957ee48d36a48421e74.camel@planete-kraus.eu> References: <0be9df35-559e-3c06-a190-1cb30f84daa6@telenet.be> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33290"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.0 To: Maxime Devos , guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Oct 21 21:18:18 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olxX5-0007TN-7U for guile-user@m.gmane-mx.org; Fri, 21 Oct 2022 21:18:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olxUv-0002xY-Jt; Fri, 21 Oct 2022 15:16:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olw1i-0007TS-VK for guile-user@gnu.org; Fri, 21 Oct 2022 13:41:47 -0400 Original-Received: from planete-kraus.eu ([2a00:5881:4008:2810::309]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1olw1h-0004F9-5O for guile-user@gnu.org; Fri, 21 Oct 2022 13:41:46 -0400 Original-Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 35623efe; Fri, 21 Oct 2022 17:41:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s=dkim; bh=RMj+gYQSJSqBNAcC04SIGyVwwyc=; b=IT48m1zExZn2kYKWdZloICyRLelQ uUnU+Ipdg7Y15h/Z0H7vN7/0tOV89ITCht9sTh840eUMk+YMbsPn7yhCv2VwV/DW nugNWlO79Ne7Kw1BruYazf/TKNYVstiNWYqdLAMkQf2r5YtJDKR/eh/oNyEhj5u1 D+xlEJInmL6lFQk= Original-Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id fc3f5de2 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Fri, 21 Oct 2022 17:41:31 +0000 (UTC) In-Reply-To: <0be9df35-559e-3c06-a190-1cb30f84daa6@telenet.be> Received-SPF: pass client-ip=2a00:5881:4008:2810::309; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "guile-user" Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18668 Archived-At: Le jeudi 20 octobre 2022 =C3=A0 10:53 +0200, Maxime Devos a =C3=A9crit=C2= =A0: > =C2=A0If so, this is not exactly what I am looking for. I am looking for = a > > way to run the (date) form during the compilation phase, and save > > the > > date to the compilation unit so that it does not change. Is this > > possible? >=20 > I don't know the answer, but for (bit-for-bit) reproducibility, > please=20 > support something like=20 > . I have to confess, I lied to you. I=E2=80=99m not interested in the compila= tion date. What I want is to encode the typelib path at compile time, so I can tell guile-gi where to find the typelibs (including the recursive pkg-config requirements). Now that I know how to do that, I don=E2=80=99t h= ave to propagate any inputs, and I don=E2=80=99t have to keep pkg-config around= at run-time (except if the compilation cache gets invalidated, but who does that).