Comments (8)
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.
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.
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.
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.
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.
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.
Thanks John :)
So is this package kind of like boost-python
? How is it different from boost-cpp
?
from boost-feedstock.
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)
- Boost.Python converter problem for Python 3.8.10 h3a889e0_1_cpython build for osx-64 HOT 1
- Missing CMake Config for Static Variant HOT 1
- Boost.Python and segmentation faults with numpy 1.21 HOT 9
- Rerender for new osx compiler HOT 1
- boost-Python issue with Python 3.11 HOT 3
- Missing static libraries? HOT 3
- Setting Python version with conda-forge boost HOT 2
- Possible macOS ABI breakage in boost-python when boost-python is compiled with clang 13 and downstream packages with clang 14? HOT 13
- Missing components showing up in dependent packages HOT 6
- Corrupted libs with osx-arm64 build?
- CMake: Could NOT find Boost HOT 5
- Does conda support helpers to generate props file for a conda package installed to be consumed in a C++ project? HOT 1
- boost/assert.hpp Missing HOT 2
- @conda-forge-admin, please rerender HOT 1
- Add missing new (built) cobalt library
- How to force boost 1.78 in conda-forge package? HOT 1
- boost-python minimalistic example segfaults on macOS HOT 4
- boost-python minimalistic example throws malloc error on macOS HOT 9
- @conda-forge-admin, please re-render HOT 1
- split into two packages? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-feedstock.