Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Aug 1, 2019

Based off of #198 but nightly specific changes were dropped.

Signed-off-by: Edward Z. Yang [email protected]

Based off of #198 but nightly specific changes were dropped.

Signed-off-by: Edward Z. Yang <[email protected]>
@ezyang ezyang requested review from jamarshon and soumith August 1, 2019 19:45

# build mad, statically
pushd libmad-0.15.1b
# See https://stackoverflow.com/a/12864879/23845
Copy link
Member

Choose a reason for hiding this comment

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

if you want, you can use: https://github.com/conda-forge/mad-feedstock/blob/master/recipe/mad.patch

I had issues with clang as well, which need this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was able to build wheels after only this change, so that's kind of interesting.

@@ -1,7 +1,7 @@
if [[ ":$PATH:" == *"conda"* ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

without this, you are prone to accidents. but up to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure how the accident occurs; the script initializes a fresh conda environment and then sources it?

Copy link
Member

Choose a reason for hiding this comment

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

if you already have a conda install in path, and you install + source a new conda install, the PATH will have both conda installs at the same time. Then your cmake will find stuff in the first OR the second conda install

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see. OK I'll bring it back

@ezyang ezyang merged commit e1f28d4 into v0.2.0 Aug 2, 2019
@jamarshon jamarshon deleted the pr/0.2-packaging-improvements branch August 5, 2019 13:19
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.

3 participants