From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aJQmKIW4t14LRgAA0tVLHw (envelope-from ) for ; Sun, 10 May 2020 08:17:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4CoqB5O4t14/awAAB5/wlQ (envelope-from ) for ; Sun, 10 May 2020 08:17:23 +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 E82EB9400A6 for ; Sun, 10 May 2020 08:17:20 +0000 (UTC) Received: from localhost ([::1]:44802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXh9F-0004uy-Nl for larch@yhetil.org; Sun, 10 May 2020 04:17:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXh8x-0004hx-Gw for guix-patches@gnu.org; Sun, 10 May 2020 04:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXh8x-0005LE-7U for guix-patches@gnu.org; Sun, 10 May 2020 04:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXh8x-0002QY-4V for guix-patches@gnu.org; Sun, 10 May 2020 04:17:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41167] [PATCH 3/5] gnu: Add libwhich. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 May 2020 08:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41167 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41167@debbugs.gnu.org Cc: nixo Received: via spool by 41167-submit@debbugs.gnu.org id=B41167.15890986029259 (code B ref 41167); Sun, 10 May 2020 08:17:03 +0000 Received: (at 41167) by debbugs.gnu.org; 10 May 2020 08:16:42 +0000 Received: from localhost ([127.0.0.1]:48877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXh8b-0002PB-V8 for submit@debbugs.gnu.org; Sun, 10 May 2020 04:16:42 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:37909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXh8a-0002Op-LN for 41167@debbugs.gnu.org; Sun, 10 May 2020 04:16:41 -0400 Received: by mail-wr1-f42.google.com with SMTP id x17so6911574wrt.5 for <41167@debbugs.gnu.org>; Sun, 10 May 2020 01:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Uae2ttFvm4MR0FR2OvC14miDdw2a9Gj1F+30ZMvCfyg=; b=ofBXKvuhgVwjIWaRab6ekIXt0wOUABQDTesnRZQNo5wIzC0+AwPo5OLXabHIwRg9rL gzDKTMb5OB624aZYe/gIssWPXOhai1IQAcjHJ4M7DCEjq/Wmpg4ZhqWMLjbuuNyNNBxX PYRhxouFNddqRsPHjgFIMx9AzUiRka84Yj/QX9Ukt8zGa3bmP33oSn4IoV1JsRjmXJOr 2VCEW/Wfw/qVq/eC74Y4uW5jBpKtxQkunzTdIgorqzluyGMj5eOeRetadXyp+Z2jQnl4 wa6/opwyHvWfWCRdszUnwIMHPM8zMGDKi5mQXlKHcFFw6RQcmmSCguax1v1VbWRHpGrs amCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Uae2ttFvm4MR0FR2OvC14miDdw2a9Gj1F+30ZMvCfyg=; b=AMDxJenLAtQPFzQs6mTDsdiqJ3G+YrDUCL+0D0Mv0/0c8OpLH5ozt4+s8abTeUnekQ YJMvxqHAYXmKjEgdi+GUo5ghvNj8JU+lGUB1lBHN7ycaKfVH++hgkYzvmvuH5DMeuJlO aa2qZBiuhtgd/uQWYbwhDD53RQhakqyOORszeCH0w5NpI6p3L/mVX+i9kLzCKMt9S4GP k5001RghUtfI2JJzIenq3dXkZTOesOzSidr7rLkUdb9hqOmtaEgdM8aVC8iYxJptFD5T o4OKJzRWd97RuD0fgFxCM8464fWIWL162GZZlPHrbkGDME4hniTFywxTPk2QO0wlhoGQ lYAw== X-Gm-Message-State: AGi0PubkBeY7TyZyp0fjhxJe/FINTaoVNoad8QOLfhg/QCBGpry7JigM 8g/Jx5ONQ/lNxxzIXfZEazy/4TgUR5A= X-Google-Smtp-Source: APiQypJE2OIqBbBYtv+kw1rismHBqncCQlOQrjnc0ZwP0vTfMZTrejRFyQNdSebXG6TEdbpYh4boww== X-Received: by 2002:a5d:654f:: with SMTP id z15mr12751153wrv.338.1589098594685; Sun, 10 May 2020 01:16:34 -0700 (PDT) Received: from localhost.localdomain (host187-75-dynamic.12-79-r.retail.telecomitalia.it. [79.12.75.187]) by smtp.gmail.com with ESMTPSA id t2sm21702475wmt.15.2020.05.10.01.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 01:16:34 -0700 (PDT) From: nixo X-Google-Original-From: nixo Date: Sun, 10 May 2020 10:15:11 +0200 Message-Id: <20200510081513.26015-3-nicolo@nixo.xyz> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200510081513.26015-1-nicolo@nixo.xyz> References: <20200510081513.26015-1-nicolo@nixo.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 4.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ofBXKvuh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [4.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53894651101138]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; BROKEN_CONTENT_TYPE(1.50)[]; R_MISSING_CHARSET(2.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.08), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[anothersms@gmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.12.75.187:received]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[linux-vdso.so:url]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[41167@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: hY4bxTV+arH0 * gnu/packages/julia.scm (libwhich): New variable. --- gnu/packages/julia.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index 375f933da7..2bef25277d 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -180,6 +180,45 @@ "-DLLVM_ENABLE_DUMP=ON" "-DLLVM_LINK_LLVM_DYLIB=ON")))))) +(define-public libwhich + (package + (name "libwhich") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vtjnash/libwhich.git") + ;; fixes linux-vdso.so related tests + (commit "87cffe10080c98e7b5786c5166e420bf1ada1d41"))) + (sha256 + (base32 + "1bpa0fcqpa3ai3hm8mz0p13bf76fsq53wsfcx5qw302zh22108xr")))) + (arguments + `(#:make-flags + (list "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'check 'set-ld-library-path + (lambda* (#:key inputs #:allow-other-keys) + (setenv "LD_LIBRARY_PATH" + (string-append (assoc-ref inputs "zlib") "/lib")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "libwhich" (string-append out "/bin"))) + #t))))) + (native-inputs + ;; used for tests + `(("zlib" ,zlib))) + (build-system gnu-build-system) + (home-page "https://github.com/vtjnash/libwhich") + (synopsis "Like @code{which}, for dynamic libraries") + (description "@code{libwhich} is like @code{which}, but for dynamic +libraries. It is also a bit like @code{ldd} and @code{otool -L}.") + (license license:expat))) + (define-public julia (package (name "julia") -- 2.26.2