From owner-freebsd-ports@FreeBSD.ORG Wed Dec 17 21:02:02 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEB4C72B for ; Wed, 17 Dec 2014 21:02:02 +0000 (UTC) Received: from gw.catspoiler.org (cl-1657.chi-02.us.sixxs.net [IPv6:2001:4978:f:678::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69A071CCC for ; Wed, 17 Dec 2014 21:02:02 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id sBHL1qOh056572; Wed, 17 Dec 2014 13:01:56 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201412172101.sBHL1qOh056572@gw.catspoiler.org> Date: Wed, 17 Dec 2014 13:01:52 -0800 (PST) From: Don Lewis Subject: Re: math/atlas in poudriere ? To: pi@opsec.eu In-Reply-To: <20141217204535.GC44537@home.opsec.eu> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 21:02:02 -0000 On 17 Dec, Kurt Jaeger wrote: > Hi! > > If I build math/atlas in poudriere (bulk), it says: > > [00:02:58] ====>> [02][00:00:00] Finished build of math/atlas: Ignored: has to be built manually: Optimizes for the local machine. > > What can I do to get this to build using poudriere ? What I do is comment out the MANUAL_PACKAGE_BUILD line in my local copy of the Makefile, but then I manually rebuild the port from source on an idle machine so that the tuning is done correctly on the machine where it is installed. I only do this because I have other ports that are configured to use atlas as a dependency and I want to build them with poudriere and install them with pkg. Other than that, the poudriere-built atlas package is useless. The atlas build relies on runtime timing of various alternative algorithms to find the fastest, and the load on the machine from other ports being built in parallel will disturb the timing which may cause the build to chose a slower algorithm. It's even worse if the package is built on one machine and installed on another, because the best algorithm depends on the CPU/motherboard/RAM combo.