From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: LAPACK: tests fail; non-free files Date: Wed, 23 Oct 2013 13:08:55 +0400 Message-ID: <87ob6gpd5k.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuML-0000R0-Ts for guix-devel@gnu.org; Wed, 23 Oct 2013 05:04:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYuMH-0000zy-3K for guix-devel@gnu.org; Wed, 23 Oct 2013 05:04:09 -0400 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=51041 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuMG-0000zn-Sh for guix-devel@gnu.org; Wed, 23 Oct 2013 05:04:05 -0400 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 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The attached patch requires this one [1]. 1. Could anyone explain why the tests fail? 100% tests passed, 0 tests failed out of 86 Total Test time (real) =3D 169.48 sec No such file or directory Problem running command: ./lapack_testing.py -s -d TESTING Problem executing post-test command(s). Errors while running CTest make: *** [test] Error 8 phase `check' failed after 169 seconds When I sourced environment-variables and ran =E2=80=98lapack_testing.py= =E2=80=99, it didn=E2=80=99t complain. So it must be something else. How can I pass = the verbose flag to CMake? 2. These files are not free: lapacke/example/example_DGESV_rowmajor.c lapacke/example/example_ZGESV_rowmajor.c Should I report upstream or simply remove them? [1] https://lists.gnu.org/archive/html/guix-devel/2013-10/txtEV9ZKOlmFQ.txt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=lapack.scm Content-Transfer-Encoding: quoted-printable ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Nikita Karetnikov ;;; ;;; 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 lapack) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (gnu packages gcc) #:use-module (gnu packages python)) (define-public lapack (package (name "lapack") (version "3.4.2") (source (origin (method url-fetch) (uri (string-append "http://www.netlib.org/lapack/lapack-" version ".tgz")) (sha256 (base32 "1w7sf8888m7fi2kyx1fzgbm22193l8c2d53m8q1ibhvfy6m5v9k0")))) (build-system cmake-build-system) (home-page "http://www.gnu.org/software/lapack/") (inputs `(("fortran" ,gcc-fortran-4.8) ("python" ,python-2))) (arguments `(#:modules ((guix build cmake-build-system) (guix build utils) (srfi srfi-1)) #:phases (alist-cons-before 'check 'patch-python (lambda* (#:key inputs #:allow-other-keys) (let ((python (assoc-ref inputs "python"))) (substitute* "lapack_testing.py" (("/usr/bin/env python") python)))) %standard-phases))) (synopsis "Library for numerical linear algebra") (description "LAPACK is a Fortran 90 library for solving the most commonly occurring problems in numerical linear algebra.") (license (bsd-style "file://LICENSE" "See LICENSE in the distribution.")))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature --==-=-=--