From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: forcing local build from a package definition Date: Fri, 24 Oct 2014 18:10:41 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhhRs-0007fx-7P for guix-devel@gnu.org; Fri, 24 Oct 2014 12:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhhRq-0002Gw-Fl for guix-devel@gnu.org; Fri, 24 Oct 2014 12:10:44 -0400 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:40444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhhRq-0002Gk-74 for guix-devel@gnu.org; Fri, 24 Oct 2014 12:10:42 -0400 Received: by mail-ig0-f182.google.com with SMTP id hn18so656056igb.3 for ; Fri, 24 Oct 2014 09:10:41 -0700 (PDT) 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 Hi, I'm preparing a package for ATLAS (Automatically Tuned Linear Algebra Software). The library provides functions from LAPACK which are automatically speed optimized for the hardware on which the library is built (the optimization takes place during the build phase). My question is the following: is there a way to force a local build from a package definition (without having to pass '--no-substitutes' to guix)? If not, what do you think about explicitly stating in the description of the package that it MUST be installed with the '--no-substitutes' flag and, if the user does not do so, hydra may provide a package which does not run on the user hardware? Most other distributions deliver binary packages which have been compiled for a very general CPU. However, this not satisfactory since it results in a much slower library. Guix is in a nice position to provide a good performance version of the library and I think we should do so. Regards, Fede