tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Detecting binary package build
On Fri, Sep 22, 2017 at 03:01:13PM -0500, Jason Bacon wrote:
>
> Is there a canonical way to detect a binary package build within the package
> Makefile, whether the build was invoked by pbulk or just "make package"?
>
> I just added wip/openblas and I want to use different build options for a
> binary package and a local source build.
>
> I.e. if building a binary package for distribution on x86, I would enable
> DYNAMIC_ARCH, which generates CPU-agnostic code. When doing a local source
> build, I would turn this off so the upstream build system can optimize for
> the local CPU.
I think this is a bad idea. packages built by pbulk, or by 'make' from shell in
the package's directory should produce the same result (I expect so, at last).
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index