From owner-freebsd-ports@freebsd.org Sun May 29 09:13:06 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB654B51D6A for ; Sun, 29 May 2016 09:13:06 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88FD217B0 for ; Sun, 29 May 2016 09:13:06 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: by mail-io0-x244.google.com with SMTP id d197so9102643ioe.1 for ; Sun, 29 May 2016 02:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=y4XNKzgh7cSDzYfatRksDhnpHvAGIiljgLrE3pxR9g8=; b=epHkmfMnrNBaxrqyFYPvcda9weQocAELRlIjLVEgM2YfhxSXVS5LDSz6WAQJbpVCvJ baAnzJ6H/Uncw9/epdNtGugTMIewqaI83h3MW8KafmZ502PQKEtTiGZfEuC6FTkTw3JO /ezxpjkKqxWN9cwk3wSTWr2vCZEt8Yl897bID+qEhBNb7bBpoC6l2O8KGL+TUVgG6RTw C4eaT1VG/b/iMjwgMB6kDd77Ev8KF+HoUVAGjyOZmeRzegvcXP8jBFybc981VX/VmRLu bf0LIV4ogtseZpb3xAz/OquhBW1BlUDLpD9xZ0ltGfCv0gH9STnjZoSC4gq9C4rPTT2O s9bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=y4XNKzgh7cSDzYfatRksDhnpHvAGIiljgLrE3pxR9g8=; b=jqItyl5/kd13WCSN618mOSAvoRQU1/E3ZJNhw5HwO1Mao7YDxTC41s0Mu4WTWRc3II Len/2hgYArEsyRq7C56T8PxmJOF/KeoxEi/6XbVFnuC9bIaiJGXN3t2ZooDu716eLVwO OZck+sOYlBw26H0qgDzmuJJFqiUBg5WPOc0P3rc1BVrMOVcLdTbUWy6oSZZU8Gu8vh4Z uHkMa2EpTWc5KqvVJ/uEinWau/gehYDwG744VyLrq59w/KHuRmgFTxDZFpe4cWIlfdJu wh/qgFFakZARftW3LOKToN3QdOPuSGabXY1W908NYERJQiYxn2tVTNBOzlDS0c5zCQMa qWNg== X-Gm-Message-State: ALyK8tLl42gcy36fpB8nM8+toOwA7r4qpBORQ8wNMsVTOuYBQfAc7xQvfVQ80/KWW1dYg6u/DglN5qEyege3IA== MIME-Version: 1.0 X-Received: by 10.107.55.196 with SMTP id e187mr9924183ioa.18.1464513185978; Sun, 29 May 2016 02:13:05 -0700 (PDT) Received: by 10.36.206.3 with HTTP; Sun, 29 May 2016 02:13:05 -0700 (PDT) Date: Sun, 29 May 2016 11:13:05 +0200 Message-ID: Subject: math/openblas + poudriere + manual building From: =?UTF-8?Q?Fernando_Herrero_Carr=C3=B3n?= To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 09:13:06 -0000 Hi everyone, I am using poudriere for the first time to test some patches to math/R. One new feature will be the ability to link against math/openblas. My portstree was updated yesterday (28/05). math/openblas is one of the de-facto, open source, high performance basic linear algebra packages (including paralellism, architecture specific code and so on). For my purposes right now I only want to build math/openblas (0.2.18,1) for my computer, so I uncheck the DYNAMIC_ARCH option, which I suppose will generate code for many architectures. I see there is a closed PR [1] suggesting that the port would automatically set this option as default if bulk building. However, since I have manually unset it, poudriere bails out suggesting that I build the package manually because the port optimizes for the build machine Finished build of math/openblas: Ignored: has to be built manually: Optimizes for the local machine Here come two questions: * After searching a bit, I have not found how to *manually* build a package in poudriere. Does that mean: build the port in your ports tree outside poudriere? Should that message be reworded? Is there something missing in the documentation? Am I missing something? * I see some people are manually editing the Makefile of math/atlas to tune to their machines [2]. My solution with math/openblas has been to finally enable DYNAMIC_ARCH, which probably compiles more code than I need to. I am fairly comfortable with the package optimizing for the build machine. Isn't there any easy way to force poudriere to go on? Setting NO_IGNORE in the environment or something like that (which, surprisingly, allows building of forbidden, but not ignored ports)? Cheers, Fernando [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209190 [2] https://lists.freebsd.org/pipermail/freebsd-ports/2014-December/097102.html