Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run boost commands from boost source-tree #4

Merged
merged 2 commits into from Feb 9, 2016

Conversation

n-west
Copy link
Member

@n-west n-west commented Feb 8, 2016

Building boost from source requires running bootstrap and bjam from the source tree. There may be a better way to do this, but I found this to work. The build still takes place in build.

Related, is there a recipe variable that contains the full path to the build directory?

@n-west
Copy link
Member Author

n-west commented Feb 8, 2016

related: this is going to bite people as they upgrade distros/glibc's and try to build boost from source: https://svn.boost.org/trac/boost/changeset/84950

the boost failure manifests as

./boost/atomic/atomic.hpp:166:16: error: ‘uintptr_t’ was not declared in this scope

I suggest using a newer boost from source. otherwise we might need the ability to add patches.

install_static: './bjam cxxflags=''-fPIC'' --threading=multi --layout=tagged link=static
-j$makewidth install
install: cd .. && ./bjam --threading=multi --layout=tagged link=shared -j$makewidth install --build-dir=build
install_static: 'cd && ./bjam cxxflags=''-fPIC'' --threading=multi --layout=tagged link=static
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong? Please comment if there's a missing '..'.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, nevermind that other comment. I misread. You're right.

@n-west
Copy link
Member Author

n-west commented Feb 8, 2016

I'm not on my dev machine and modified from online editor. Feel free to squash or I can do it later

mbr0wn added a commit that referenced this pull request Feb 9, 2016
run boost commands from boost source-tree
@mbr0wn mbr0wn merged commit b2c2eec into gnuradio:master Feb 9, 2016
@mbr0wn mbr0wn deleted the boost-source branch February 9, 2016 17:14
@mbr0wn
Copy link
Member

mbr0wn commented Feb 9, 2016

nah too lazy

@mbr0wn
Copy link
Member

mbr0wn commented Feb 9, 2016

Didn't see your 2nd question until now. We don't have such a variable, but I see its utility. Please add a feature request to the issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants