From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4DXQLYEsnWI/awEAbAwnHQ (envelope-from ) for ; Mon, 06 Jun 2022 00:21:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YOTtLIEsnWKugwAAG6o9tA (envelope-from ) for ; Mon, 06 Jun 2022 00:21:53 +0200 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 4B1DD4148 for ; Mon, 6 Jun 2022 00:21:53 +0200 (CEST) Received: from localhost ([::1]:60102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxyd5-0002BG-7W for larch@yhetil.org; Sun, 05 Jun 2022 18:21:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxyd2-0002As-He for gwl-devel@gnu.org; Sun, 05 Jun 2022 18:21:48 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:36693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxycz-0006FJ-HP for gwl-devel@gnu.org; Sun, 05 Jun 2022 18:21:46 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 255MLXnv030276 for ; Sun, 5 Jun 2022 18:21:38 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 255MLXnv030276 To: gwl-devel@gnu.org Subject: GWL as a build-automation Date: Sun, 05 Jun 2022 18:21:32 -0400 Message-ID: <871qw2ycnn.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Sun, 5 Jun 2022 22:21:33 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654467713; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=TRUwNIC9lValTqmP0cCFhuiKuq5Ivb4N4SBCPm2tPtY=; b=lLJE+zxKhzhF02GlJNABOexeSyve161pnBfyRJPYJYKyynjzNOLZG/IVI0hU/jyme+UzEb mefzMp3Aqm3gpzg6YByubj7k2oSahBBvPPvJ7afdXy9tpOEsHPXrcz385BfpFphyr24atR ymWU772/WKyFMNc+ZHvvB1dWBwglreqaThOQDTgF0LJsCg2zU9MBJqckzowDI4khEh39NJ m/Q7BIA5fbUvmcRSBfI/iTKwwT30NZPEJ9bGVt8ryK8Z6JAtufFCRm/4+v30hEfkl5YNzH DBFmib20ipi1fZOm2hhqigBqexV5QDXQYrU/pZ3r+8nOSZKAxli34rxeoBhnvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654467713; a=rsa-sha256; cv=none; b=jU3URPhBn+dNNVYE3D8D9IsqmrCoTbzGsUT7VulPBtTZfmzMcJrYI/ZJJjfH5Jg5VXCrRJ cJ+6y9xog3MTmyWhXeNFcb6gZp6txhLf7YnRlYHqouLuK+lfnEvzKUDa5k3ZjzY6erydl9 VeVDOnQYxTXlghV0gVuzi4QU7ktrabMttjAILsh3gX+D9p/nl/+zaAEm2eL0YpeGDfJwFI SbZVphWb0IcWxRwBy921xcc/LQrKvbrYnX87pAOnn+gDZGhxFBABMmZkceC8L9SpVNquDY CTHkCG2F7hFB0cI5CEMHqZ7Lo1kbKfDN9wIEtWTtB1frvSPqUdggiO+NEnCiRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4B1DD4148 X-Spam-Score: -1.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: jwRBVYVD8dP0 Hi, I've been hacking around for the past weeks on a build system that uses Guix. The more I write it, the more I find similarities with what GWL already does/provides. So I'm thinking, one could easily do something like this for a simple Guile project: --8<---------------cut here---------------start------------->8--- process compile-guile-source (with dot-scm) package "guile" inputs : file dot-scm outputs : file : string-replace-substring dot-scm ".scm" ".go" # { guild compile --output {{outputs}} {{inputs}} } --8<---------------cut here---------------end--------------->8--- And this could also be done for other projects, e.g.: --8<---------------cut here---------------start------------->8--- process compile-c-source (with dot-c) package "gcc-toolchain" inputs : file dot-c outputs : file : string-replace-substring dot-c ".c" ".o" # { gcc -c -o {{outputs}} {{inputs}} } --8<---------------cut here---------------end--------------->8--- I know that GWL focuses on scientific workflows, but I think that it can go beyond its original goal. Thoughts? -- Olivier Dion oldiob.dev