From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: [PATCH] Update numactl Date: Sat, 17 Oct 2015 21:49:17 +0200 Message-ID: <20151017194917.GA28893@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnXTr-0000AY-QM for guix-devel@gnu.org; Sat, 17 Oct 2015 15:49:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnXTm-00083D-MF for guix-devel@gnu.org; Sat, 17 Oct 2015 15:49:27 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:63446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnXTm-000839-Gt for guix-devel@gnu.org; Sat, 17 Oct 2015 15:49:22 -0400 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The attached patch updates numactl. My secret hope is that it will now build on arm (together with potentially 15 dependent packages). I successfully compiled hwloc with it. Is the comment about the test suite still valid? I tried to run the tests, they require taskset (which is available in util-linux). Andreas --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-numactl-Update-to-2.0.10.patch" >From 9c620c228a99335798212f37d3788a9bfa353a78 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sat, 17 Oct 2015 21:42:42 +0200 Subject: [PATCH] gnu: numactl: Update to 2.0.10. * gnu/packages/linux.scm (numactl)[source]: Update to 2.0.10. [arguments]: Adapt phases to use the autotools machinery. [native-inputs]: Add autotools packages. --- gnu/packages/linux.scm | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4ee4234..d4b9229 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1389,7 +1389,7 @@ file system is as easy as logging into the server with an SSH client.") (define-public numactl (package (name "numactl") - (version "2.0.9") + (version "2.0.10") (source (origin (method url-fetch) (uri (string-append @@ -1398,35 +1398,23 @@ file system is as easy as logging into the server with an SSH client.") ".tar.gz")) (sha256 (base32 - "073myxlyyhgxh1w3r757ajixb7s2k69czc3r0g12c3scq7k3784w")))) + "0qfv2ks6d3gm0mw5sj4cbhsd7cbsb7qm58xvchl2wfzifkzcinnv")))) (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) (arguments - '(#:phases (alist-replace - 'configure - (lambda* (#:key outputs #:allow-other-keys) - ;; There's no 'configure' script, just a raw makefile. - (substitute* "Makefile" - (("^prefix := .*$") - (string-append "prefix := " (assoc-ref outputs "out") - "\n")) - (("^libdir := .*$") - ;; By default the thing tries to install under - ;; $prefix/lib64 when on a 64-bit platform. - (string-append "libdir := $(prefix)/lib\n")))) - %standard-phases) - - #:make-flags (list - ;; By default the thing tries to use 'cc'. - "CC=gcc" - - ;; Make sure programs have an RPATH so they can find - ;; libnuma.so. - (string-append "LDLIBS=-Wl,-rpath=" - (assoc-ref %outputs "out") "/lib")) - + '(#:phases + (modify-phases %standard-phases + (add-after + 'unpack 'autogen + (lambda _ + (zero? (system* "sh" "autogen.sh"))))) ;; There's a 'test' target, but it requires NUMA support in the kernel ;; to run, which we can't assume to have. #:tests? #f)) + (home-page "http://oss.sgi.com/projects/libnuma/") (synopsis "Tools for non-uniform memory access (NUMA) machines") (description -- 2.5.0 --mP3DRpeJDSE+ciuQ--