Code Monkey home page Code Monkey logo

Comments (8)

scopatz avatar scopatz commented on June 22, 2024 1

Should I have raised this issue in that feedstock repo?

Yes, probably :)

Please feel free to open an issue or a PR there!

from boost-feedstock.

grisaitis avatar grisaitis commented on June 22, 2024

This person seemed to have the same issue... also with caffe on Mac with conda (though not conda-forge): BVLC/caffe#4926 (comment)

I'd love to avoid brew and just use a conda-forge-installed boost and get all required libraries from that, if possible :)

from boost-feedstock.

jschueller avatar jschueller commented on June 22, 2024

it's likely this is picked up by some dependency outside conda-forge
caffe builds fine on osx on conda-forge where all the dependencies are consistent

from boost-feedstock.

jakirkham avatar jakirkham commented on June 22, 2024

We don't currently build Caffe on macOS. So it may not work fine.

That said, the actual C++ libraries referenced in this issue come from another package called boost-cpp. On all platforms it builds multithreaded libraries (hence -mt ;) ). However on Unix IIUC Boost prefers to leave the -mt off of the library names. This SO question is relevant here. Our options would be start tagging them as -mt, which is pretty easy to do, or symlink the -mt library names back to the non--mt library name. The latter is less likely to break existing Boost dependent packages. Thoughts?

from boost-feedstock.

grisaitis avatar grisaitis commented on June 22, 2024

Thanks John and Julien!

As John suggested, using symlinks fixed my problem.

What would be the downsides to adding these symlinks to the boost-cpp recipe?

Should I have raised this issue in that feedstock repo?

$ ls -l ~/anaconda2/lib/libboost_thread*
...      Dec  5 00:33 libboost_thread-mt.a -> libboost_thread.a
...      Dec  5 00:33 libboost_thread-mt.dylib -> libboost_thread.dylib
...      Nov 15 12:34 libboost_thread.a
...      Dec  5 00:15 libboost_thread.dylib
$ conda list | grep boost
boost                     1.65.1                   py27_0    conda-forge
boost-cpp                 1.65.1                        1    conda-forge
libboost                  1.65.1               h8182a68_3  
py-boost                  1.65.1           py27h75ca4b9_3  

from boost-feedstock.

jakirkham avatar jakirkham commented on June 22, 2024

Glad that solved the issue.

I think adding the symlinks should be fine. The only slightly tricky thing is doing this systematically for all the Boost libraries, but we can discuss further in a PR.

Yeah it should have, but I can understand how that is not at all obvious. IOW don't worry about it. :) Welcome suggestions about how to better inform people of the purposes of these two packages.

from boost-feedstock.

grisaitis avatar grisaitis commented on June 22, 2024

Thanks John :)

So is this package kind of like boost-python? How is it different from boost-cpp?

from boost-feedstock.

jakirkham avatar jakirkham commented on June 22, 2024

np. Glad to help. :)

So is this package kind of like boost-python?

Basically.

How is it different from boost-cpp?

Historically this package did have all the Boost content (C++ and Python) much like the original boost package in defaults. However we decided to split out the C++ content from the Python content for various reasons, which became boost-cpp. To preserve compatibility, the Python content stayed here and this package became dependent on boost-cpp. Thus downstream packages requiring boost get the same behavior even though the C++ content doesn't live in this package any more. Hope that clarifies it.

Side note: We may look at better naming in the future.

from boost-feedstock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.