Way to build boost component from a GitHub repo?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Way to build boost component from a GitHub repo?

Boost - Build mailing list
Hello,

I have been making changes to date_time which I cloned from GitHub.  Now I want to build and run the test files included in that repository.  How can I go about building and running these tests making use of the boost build mechanism?

In the boost docs, I noticed bjam and b2, which appear to work off of .jam files.  However, the date_time repository seems to be using Jamfile.v2 files, which I haven’t found any reference to.

I do have the boost_1_64_0 source distribute and run the bootstrap so I have bjam and b2.


Thanks,


Tal
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Way to build boost component from a GitHub repo?

Boost - Build mailing list
On Mon, May 22, 2017 at 11:48 AM, Tal Lancaster via Boost-build <[hidden email]> wrote:
Hello,

I have been making changes to date_time which I cloned from GitHub.  Now I want to build and run the test files included in that repository.  How can I go about building and running these tests making use of the boost build mechanism?

In the boost docs, I noticed bjam and b2, which appear to work off of .jam files.  However, the date_time repository seems to be using Jamfile.v2 files, which I haven’t found any reference to.

I do have the boost_1_64_0 source distribute and run the bootstrap so I have bjam and b2.

You will need to clone Boost from git and substitute your date_time fork on that clone. Some info here <https://github.com/boostorg/boost/wiki/Getting-Started>, <https://github.com/boostorg/boost/wiki/Getting-Started#checking-out-a-particular-branch>. You'll have to figure out how to use git to look at your fork though. Don't know how to do that.


--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Way to build boost component from a GitHub repo?

Boost - Build mailing list

On May 22, 2017, at 12:29 PM, Rene Rivera via Boost-build <[hidden email]> wrote:

On Mon, May 22, 2017 at 11:48 AM, Tal Lancaster via Boost-build <[hidden email]> wrote:
Hello,

I have been making changes to date_time which I cloned from GitHub.  Now I want to build and run the test files included in that repository.  How can I go about building and running these tests making use of the boost build mechanism?

In the boost docs, I noticed bjam and b2, which appear to work off of .jam files.  However, the date_time repository seems to be using Jamfile.v2 files, which I haven’t found any reference to.

I do have the boost_1_64_0 source distribute and run the bootstrap so I have bjam and b2.

You will need to clone Boost from git and substitute your date_time fork on that clone. Some info here <https://github.com/boostorg/boost/wiki/Getting-Started>, <https://github.com/boostorg/boost/wiki/Getting-Started#checking-out-a-particular-branch>. You'll have to figure out how to use git to look at your fork though. Don't know how to do that.


--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build

Thanks for the reply.

I thought maybe there was a way to just have some minimal chunks of Boost and hack up a jam root file in date_time.

But I will go ahead and download the entire boost from GitHub and work from there.

Tal



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Way to build boost component from a GitHub repo?

Boost - Build mailing list
AMDG

On 05/23/2017 07:47 AM, Tal Lancaster via Boost-build wrote:
>
> I thought maybe there was a way to just have some minimal chunks of Boost and hack up a jam root file in date_time.
>

  It should be possible.  The Jamroot
would need to contain at least this
(possibly more, depending on what the
date_time Jamfiles use):

use-project boost : path/to/boost ;
path-constant BOOST_ROOT : path/to/boost ;
project : requirements
  <include>path/to/date_time/include&&<include>path/to/boost
  <implicit-dependency>/boost//headers
;

> But I will go ahead and download the entire boost from GitHub and work from there.
>

That's the most reliable, since date_time is meant
to be used as part of Boost.

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Loading...