Building with Miniconda #773
-
Hi all, I had a few questions regarding best practices + handling environment variables during builds.
Thanks, for the awesome project! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
For macos both
|
Beta Was this translation helpful? Give feedback.
-
Hi @benjaminrwilson ! Irrespective of @Czaki's response above, which is probably good advice,
I'm assuming you've hit this issue on the Linux build? On Linux, the ability to passthrough environment variables isn't yet implemented (see #730 and #117). But in this case, passing through the path wouldn't help, because that path isn't valid inside the linux container. Linux builds happen inside Docker 'manylinux' containers, so software installed on the host machine isn't available. You'd have to install conda inside the build container, using |
Beta Was this translation helpful? Give feedback.
-
Although it's not advisable to use conda to provide dependencies, it's possible if you know what you are doing. See https://github.com/symengine/symengine-wheels#repository-to-build-wheels for some catches. |
Beta Was this translation helpful? Give feedback.
For macos both
conda
andbrew
are bad sources. Both could provide libraries compiled against the current macOS version (this one from host runner), not targeted one.apt
,brew
, andchoco
are great for install the build tools but I suggest build libraries from the source.