From patchwork Sat May 18 08:06:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 13993 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0A0C917024; Sat, 18 May 2019 09:36:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 857F816FC5 for ; Sat, 18 May 2019 09:36:15 +0100 (BST) Received: from localhost ([127.0.0.1]:59402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRup6-0007JO-5R for patchwork@mira.cbaines.net; Sat, 18 May 2019 04:36:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRuNw-00019Q-6f for guix-patches@gnu.org; Sat, 18 May 2019 04:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRuNu-0002Br-TW for guix-patches@gnu.org; Sat, 18 May 2019 04:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRuNu-0002BY-Qp for guix-patches@gnu.org; Sat, 18 May 2019 04:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRuNu-0002J5-KC for guix-patches@gnu.org; Sat, 18 May 2019 04:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35788] [PATCH] gnu: libjit: add at 0.1.4 Resent-From: atai@atai.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 May 2019 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35788 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35788@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15581668448818 (code B ref -1); Sat, 18 May 2019 08:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2019 08:07:24 +0000 Received: from localhost ([127.0.0.1]:59562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRuNI-0002IA-8m for submit@debbugs.gnu.org; Sat, 18 May 2019 04:07:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRuNG-0002Hx-9s for submit@debbugs.gnu.org; Sat, 18 May 2019 04:07:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:34041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRuNA-0001H6-Op for submit@debbugs.gnu.org; Sat, 18 May 2019 04:07:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRuN9-00018Y-96 for guix-patches@gnu.org; Sat, 18 May 2019 04:07:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRuN7-0001DF-De for guix-patches@gnu.org; Sat, 18 May 2019 04:07:15 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:42913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRuN5-00015l-Rt for guix-patches@gnu.org; Sat, 18 May 2019 04:07:13 -0400 Received: by mail-pg1-x543.google.com with SMTP id 145so4377762pgg.9 for ; Sat, 18 May 2019 01:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XpJEPdx3itiK/Wy2ijUOY1cRTacp1vVQAKbPBrqqjSE=; b=C6XQzIJdAzr+fArq2xfXnzp15eu0/4lSdwVy+km8g4wlEerJ00uC5pZOvNqVXdRNrn ZIRW/IsyQ97dEb8jk+DPGVRFbxYQskv39SIaJzP8CtkWRZYlXbIMz1TpVdoYX1Ei3+nv TY5XHsdzYVM0fbOSyMJCudWcSE/GGuJHi5Mj0KHwJx4nHjzePoPNwtarVYEUA4Dt9ZQJ 9MD9FeDGgnY8dsYvTFC4cvoW99sL2xkZwlvxHaYAiejsnfErGJaNuvzJpvwYXLNWtZQA HaOXIZUjnoTkbgXK/PKPOc8xE00vtEWyHP6vItiy3b+SApdtdSQwed6m3fj0Hp5uTgRG 5U+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=XpJEPdx3itiK/Wy2ijUOY1cRTacp1vVQAKbPBrqqjSE=; b=qjZ70/gPrCK8q/EtEOqx6R4nqDxveyvCHTCWjYHW4zR20y6xJcdGEwghTtun8nvAvS KtiZXCkFy2wM7w8rEK4ldqwggz+xh/C3L9cPQifB6c5KxNm4LRqma4OoLLy9SxVcGWTO vgJn/TcU/GrSNXUeL0CEboKXUGF4VuNxnuPRRIB6IYqIsbIwG9UZrHMKPzTAx8cPnmH+ l/bqAwbSzwMWFOjvXF+IgVlITTFai4KKFMpUu/ukxH8GOgS3M00rKwItkW0Jh0a5y8pa 1g1Fbcskk0qeYbxHQV9vca9FgrpdrhqL2WhIxmD3UDvWFRYFVqDF/kl5pdp4oCc/DQ6U dAhg== X-Gm-Message-State: APjAAAV5enh9hfg9EVK4Dndm4MREThuiQNwS7onKborBgefJP7ojvAMH 89qRUQHd7b7T1dIuuG2c+5zgDaks X-Google-Smtp-Source: APXvYqwrm2g/M4X0tYmN5n7OpS7dXYx+1lBXP9ow4uYQiO4IBB48lMkOBp5QlMUgyVLMzU3SnBCEdw== X-Received: by 2002:a62:cdc6:: with SMTP id o189mr39648575pfg.74.1558166827535; Sat, 18 May 2019 01:07:07 -0700 (PDT) Received: from localhost.localdomain (c-73-223-125-224.hsd1.ca.comcast.net. [73.223.125.224]) by smtp.gmail.com with ESMTPSA id y2sm802707pgk.59.2019.05.18.01.07.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 May 2019 01:07:06 -0700 (PDT) From: atai@atai.org Date: Sat, 18 May 2019 01:06:49 -0700 Message-Id: <20190518080649.21073-1-atai@atai.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Sat, 18 May 2019 04:36:06 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andy Tai Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Andy Tai --- gnu/packages/libjit.scm | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 gnu/packages/libjit.scm diff --git a/gnu/packages/libjit.scm b/gnu/packages/libjit.scm new file mode 100644 index 0000000000..4f35ff7de2 --- /dev/null +++ b/gnu/packages/libjit.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Li-cheng (Andy) Tai, atai@atai.org +;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages libjit) + #:use-module (gnu packages) + #:use-module (gnu packages admin) + #:use-module (gnu packages autotools) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages gcc) + #:use-module (gnu packages gettext) + #:use-module (gnu packages man) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages texinfo) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1)) + +(define-public libjit + (let ((commit "554c9f5c750daa6e13a6a5cd416873c81c7b8226")) + (package + (name "libjit") + (version "0.1.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "http://git.savannah.gnu.org/cgit/libjit.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("bison" ,bison) + ("flex" ,flex) + ("help2man" ,help2man) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool) + ("makeinfo" ,texinfo) + ("pkg-config" ,pkg-config))) + (home-page "https://www.gnu.org/software/libjit/") + (synopsis "Generic Just-In-Time compiler library") + (description + "GNU libjit is a library that provides generic Just-In-Time compiler +functionality independent of any particular bytecode, language, or +runtime") + (license license:lgpl2.1+))))