Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Split build and host #155

Merged
merged 1 commit into from
Mar 15, 2019
Merged

Conversation

jakirkham
Copy link
Member

@jakirkham jakirkham commented Mar 15, 2019

Fixes #152

In conda-build 3, the new host environment was created and split from build requirements. If both are listed, conda-build creates two separate environments each with their own requirements. The build environment is only used to provide command line tools (not libraries) for the build and the host environment is for all dependencies that are linked to the package.

Here we split the build and host environments and move cmake into the build requirements. As cmake depends on curl, which depends on openssl, it wound up in the environment. As openssl uses run_exports, this amounts to adding an openssl runtime dependency to nvstrings. However this is not need as cmake is only a build dependency. So we can move it to build and leave everything else in host, which should fix this issue.

cc @kkraus14

In conda-build 3, the new `host` environment was created and split
from `build` requirements. If both are listed, conda-build creates
two separate environments each with their own requirements. The build
environment is only used to provide command line tools (not libraries)
for the build and the host environment is for all dependencies that are
linked to the package.

Here we split the build and host environments and move `cmake` into
the `build` requirements. This should ensure the package is not linked
to `openssl` at run time.
@jakirkham
Copy link
Member Author

Added a more detailed explanation of what was going on above. Hopefully this helps.

@kkraus14 kkraus14 merged commit 12f19db into rapidsai:branch-0.3 Mar 15, 2019
@jakirkham jakirkham deleted the split_build_host branch March 15, 2019 20:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants