ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Boost header only patch


From: Mike Goins
Subject: Re: [Ltib] Boost header only patch
Date: Mon, 31 Oct 2011 07:35:00 -0400

> 2. When I did a test-build I get in the rpm clean phase:
>
> + cd boost_1_43_0
> + ./bjam --clean
> /data/seh/Src/ltib_bsps/sv_test/tmp/rpm-tmp.49070: line 22: ./bjam: No such
> file or directory
> error: Bad exit status from
> /data/seh/Src/ltib_bsps/sv_test/tmp/rpm-tmp.49070 (%clean)
>
> Clearly I don't have bjam built (as it was headers only).  Is it safe to
> omit this (I think so).
>
> Once I hear back, I'll get this checked-in.

You are right.   Clean needs to bypass the bjam:

 %Clean
-./bjam --clean
+if [ "$PKG_BOOST_WANT_HEADER_ONLY" != "y" ]
+then
+   ./bjam --clean
+fi
 rm -rf $RPM_BUILD_ROOT




> Regards, Stuart
>
>
> On 29/10/11 13:24, Mike Goins wrote:
>
> Attached is a patch to allow "header-only" install without building
> the libs.  Boost takes a really,really long time to build and many
> don't use the libs, just the headers.
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]