math/openblas + poudriere + manual building
Fernando Herrero Carrón
elferdo at gmail.com
Sun May 29 09:13:06 UTC 2016
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 
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 . 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)?
More information about the freebsd-ports