How do I copy all source files?
I do adhoc builds of boost using the boost modular git repo. All libs build just fine, but I can't for the life of me copy the source files. I have tried doing it through FileZilla (SFTP) but it skips a ton of files due to the symlinks. How can I get the complete "boost" header source tree?
On 18. jan. 2015 01:16, Robert Dailey wrote:
I do adhoc builds of boost using the boost modular git repo. All libs build just fine, but I can't for the life of me copy the source files. I have tried doing it through FileZilla (SFTP) but it skips a ton of files due to the symlinks.
How can I get the complete "boost" header source tree?
try to do "b2 headers" after you make the copy to re-create links. -- Bjørn
On Sat, Jan 17, 2015 at 6:21 PM, Bjørn Roald
On 18. jan. 2015 01:16, Robert Dailey wrote:
I do adhoc builds of boost using the boost modular git repo. All libs build just fine, but I can't for the life of me copy the source files. I have tried doing it through FileZilla (SFTP) but it skips a ton of files due to the symlinks.
How can I get the complete "boost" header source tree?
try to do "b2 headers" after you make the copy to re-create links.
Sorry but what do you mean "after you make the copy"? Do I run that after running normal "b2" to build the static libs? Will that copy the includes to staging so there are no symlinks? I'm hoping so, because it seems the symlinks cause problems.
On 18. jan. 2015 01:37, Robert Dailey wrote:
On Sat, Jan 17, 2015 at 6:21 PM, Bjørn Roald
wrote: On 18. jan. 2015 01:16, Robert Dailey wrote:
I do adhoc builds of boost using the boost modular git repo. All libs build just fine, but I can't for the life of me copy the source files. I have tried doing it through FileZilla (SFTP) but it skips a ton of files due to the symlinks.
How can I get the complete "boost" header source tree?
try to do "b2 headers" after you make the copy to re-create links.
Sorry but what do you mean "after you make the copy"? Do I run that after running normal "b2" to build the static libs? Will that copy the includes to staging so there are no symlinks? I'm hoping so, because it seems the symlinks cause problems.
You normally should do it before the regular "b2", but it probably will work just fine to do it after. Without it links to headers that are not used building the libraries are not created. "b2 headers" will create all the links. -- Bjørn
Thanks; I'm not 100% sure this will fix the copy issues. When I
initially tried to copy over SFTP without running b2 headers, I
literally only got like 5-6 directories. Not nearly enough. Is b2
headers really the problem here or might it be something else? I can't
imagine only 6 directories under `boost` are used during the build.
On Sat, Jan 17, 2015 at 6:42 PM, Bjørn Roald
On 18. jan. 2015 01:37, Robert Dailey wrote:
On Sat, Jan 17, 2015 at 6:21 PM, Bjørn Roald
wrote: On 18. jan. 2015 01:16, Robert Dailey wrote:
I do adhoc builds of boost using the boost modular git repo. All libs build just fine, but I can't for the life of me copy the source files. I have tried doing it through FileZilla (SFTP) but it skips a ton of files due to the symlinks.
How can I get the complete "boost" header source tree?
try to do "b2 headers" after you make the copy to re-create links.
Sorry but what do you mean "after you make the copy"? Do I run that after running normal "b2" to build the static libs? Will that copy the includes to staging so there are no symlinks? I'm hoping so, because it seems the symlinks cause problems.
You normally should do it before the regular "b2", but it probably will work just fine to do it after. Without it links to headers that are not used building the libraries are not created. "b2 headers" will create all the links.
-- Bjørn
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On 18. jan. 2015 02:12, Robert Dailey wrote:
Thanks; I'm not 100% sure this will fix the copy issues. When I initially tried to copy over SFTP without running b2 headers, I literally only got like 5-6 directories. Not nearly enough.
Some of the directories are not symbolic links, so they are probably copied just fine by FileZilla, those are: detail/ exception/ graph/ numeric/ pending/ utility/ Their content are probably not copied completely though as there will be links within them. That may be what you have mistaken for complete directories. They would be there before you run regular "b2" command.
Is b2 headers really the problem here or might it be something else?
I don't know if I will say "b2 headers" is the problem. But as things currently are set up you have to run that command if you copy the source tree with tools that does not retain the header file links in $BOOST_ROOT/boost.
I can't imagine only 6 directories under `boost` are used during the build.
That sounds strange. Are you sure you had only those 6 directories after the "b2" build. If that is the case I am not sure the build worked as it should as you had not done "b2 headers" first, which is the convention. But if something did not work you should have seen errors, at least unless you have other boost headers in INCLUDE paths or something. -- Bjørn
participants (2)
-
Bjørn Roald
-
Robert Dailey