From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6KoPJlcnoGC3xwAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 21:56:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wMfJIVcnoGAAUgAA1q6Kng (envelope-from ) for ; Sat, 15 May 2021 19:56:07 +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 1538DAD31 for ; Sat, 15 May 2021 21:56:07 +0200 (CEST) Received: from localhost ([::1]:45946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li0OM-0001n6-1E for larch@yhetil.org; Sat, 15 May 2021 15:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li0Nn-0001mw-Dm for guix-devel@gnu.org; Sat, 15 May 2021 15:55:31 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:42712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li0Nk-0000qA-0A for guix-devel@gnu.org; Sat, 15 May 2021 15:55:30 -0400 Received: from nijino.local (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FjGMt2xvgz1LWp5; Sat, 15 May 2021 21:55:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FjGMt2xvgz1LWp5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621108522; bh=E96+koIJigwo+ChYwn45eoAGrc/uXsVehcJZ6xmDdx0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=mttc4S1SdR+N7xyhwKQ9WPpDht4mMrC7eoH8gQIAJ+PevsQYq1S+pGVQilz/S3+ds btIk2W96ywB+BkBEj/jbIsFIGly+0Y1IWVkhP884aR7TAZfrlkjTJfPlsyHiSPbE6i NQW/jdIMetaW7NqwgNx7Vvcu2Gyp+ZF+wnBNMurY= Message-ID: <28180c9b9b7306bc6b8f9cdc370006d62a2fcf8c.camel@student.tugraz.at> Subject: Re: Help me create a janet-build-system From: Leo Prikler To: Jack Hill Date: Sat, 15 May 2021 21:55:20 +0200 In-Reply-To: References: <7ab06ee76495f5018af94d667fa606433e217766.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621108567; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=E96+koIJigwo+ChYwn45eoAGrc/uXsVehcJZ6xmDdx0=; b=jKXKscABid2TqEpJTcsbjogJGQtDBTGGf2x9XavGlRWa6Mh9GKx6MOIsYwigmPkZmnIqeX QDLCHOLp3aR6QdjguxTG8LaT5czpiwzDtL7p9z1G6hjus1QwM2R2pyTvW8xtfLx1wPmEPc Ctp9wL/Lew2OOioqeYm3A7IdyWbked21b9kmBkuPaGTZzA2/CWx9MK89zkizJxRw6vYjEZ oY8NPRPpmmwJDLAjOlGXC29437wPps9ALN2rwdEf+ll7M9YJ0Ww9MNAauQZeiDYu7IyvTp Z6DFv0mzN1fJj4lWwy0szZU44lLAQBuXILWvvwObmvrmoJ4r4AMkRXyKXaq4zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621108567; a=rsa-sha256; cv=none; b=R5Fr1IgDgjZQFjxIQ6btzD43eVziJam3ohamRUdr5o0hp+SDJydWfPM4YsdXXRDddhQ/Zh 64I1P5eZn0MbepEy4OGgU4DGojb8rGQOMY82NiREtk2VSWvvXhrB5A40MSGsx9OKCOBUce tURnt1kCt6JeE88HriaiH+gVZ2pY6/cak7IPeI9n++ZRrXymye/ZCTx3vpVVK1KlYUaofM B7K3MFzEDviekxtOOqHDSUO/Orx2WsyT4m9NGxzw4h94SUdgXbuZPcJyCRDDzFtMAH/wig cwQkMn+8nPXmzdEX61N+fa4fbJHByx/B5ATAzJETnz63JsvlM2R8+WdKLsU33w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=mttc4S1S; dmarc=pass (policy=none) header.from=student.tugraz.at; 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-Migadu-Spam-Score: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=mttc4S1S; dmarc=pass (policy=none) header.from=student.tugraz.at; 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-Migadu-Queue-Id: 1538DAD31 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: w3zrlkJ1sTau Am Samstag, den 15.05.2021, 15:25 -0400 schrieb Jack Hill: > Leo, > > Thanks for your reply > > On Sat, 15 May 2021, Leo Prikler wrote: > > > Your code imports (guix utils), but (guix utils) is not present > > within > > the module closure present at build time. > > Did you mean (guix build utils)? > > I used cc-for-target and cxx-for-target from (guix utils). Where > would I add (guix utils) so it is included on the build side? In my opinion, these flags ought to be added on the build-system side of things, not on the build side. There you can just add those two flags to the ones already provided by the package. > > > More generally, I expect there are many ways I could improve the > > > build system. What are they? > > I know little about jpm, but in my opinion you ought to let the > > user > > customize the flags passed on to jpm at least in the build target > > -- > > not so sure about check and install. If janet-build-system allows > > some > > degree of customization, consider also letting the user override > > the > > test-target. > > I think I should at least try to make the with-toolchain package > transformation option work. Beyond that, I'm not sure how much > customization jpm offers without editing project.janet. [...] If certain guixy things would require you to edit/create that file, you should do that. I think ant-build-system does something similar. Regards, Leo