Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 11:13:05 +0200
From:      =?UTF-8?Q?Fernando_Herrero_Carr=C3=B3n?= <elferdo@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   math/openblas + poudriere + manual building
Message-ID:  <CAMwkeZw_ZvJfEOce3U-sq2JMtHwzMaYzmAX%2BL%2BKtfTtAdHoubg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMwkeZw_ZvJfEOce3U-sq2JMtHwzMaYzmAX%2BL%2BKtfTtAdHoubg>