Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libevent #1491

Merged
merged 3 commits into from
Nov 4, 2016
Merged

Add libevent #1491

merged 3 commits into from
Nov 4, 2016

Conversation

jakirkham
Copy link
Member

This adds a package for libevent on OS X and Linux. It may be possible to get a Windows build once there is an official stable 2.1.x release.

Letting you know as this may be of interest for thrift-cpp, @wesm.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/libevent) and found it was in an excellent condition.

@jakirkham jakirkham changed the title Add libevent WIP: Add libevent Sep 6, 2016
@jakirkham jakirkham force-pushed the add_libevent branch 2 times, most recently from d0d5f10 to 5485a14 Compare September 6, 2016 19:57
./autogen.sh
./configure --prefix="${PREFIX}"
make
eval ${LIBRARY_SEARCH_VAR}="${PREFIX}/lib" make check
Copy link
Member Author

Choose a reason for hiding this comment

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

This test section is causing some sort of hanging behavior so it may need to be commented and skipped for now.

@wesm
Copy link
Member

wesm commented Sep 6, 2016

Cool. I don't have an immediate use for the non-blocking server in Apache Thrift, but it would be nice to get it building in conda-forge

@jakirkham jakirkham changed the title WIP: Add libevent Add libevent Sep 7, 2016
#
# Seems to hand on Mac builds. So have commented it for now.
#
#eval ${LIBRARY_SEARCH_VAR}="${PREFIX}/lib" make check
Copy link
Member Author

Choose a reason for hiding this comment

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

Will address this in the feedstock.

@jakirkham jakirkham force-pushed the add_libevent branch 2 times, most recently from bca4c6a to e93afcc Compare September 7, 2016 15:05
@jakirkham jakirkham changed the title Add libevent WIP: Add libevent Sep 7, 2016
@jakirkham jakirkham changed the title WIP: Add libevent Add libevent Sep 7, 2016

run:
- openssl 1.0.*
- python
Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't realize defaults had a copy of this package. Not seeing a recipe now that I'm looking. Though the defaults copy doesn't seem to depend on Python despite the fact there is a Python script installed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Opened issue ( ContinuumIO/anaconda-recipes#44 ) upstream about this problem.

@jakirkham
Copy link
Member Author

Would love to get your thoughts on this, @msarahan.

@jakirkham
Copy link
Member Author

After some discussion with Continuum, it seems the easiest path forward is to drop Python as dependency and remove the Python script that libevent installs. Have updated this recipe to follow that same trend.

@jakirkham
Copy link
Member Author

Thoughts on this recipe @ilanschnell ?

@jakirkham
Copy link
Member Author

@conda-forge/staged-recipes , could I please get a review of this PR and then PR ( #1507 )?

export LDFLAGS="-L${PREFIX}/lib ${LDFLAGS}"

# Set the fallback library environment variable.
if [[ `uname` == 'Darwin' ]];
Copy link
Member

Choose a reason for hiding this comment

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

Isn't $(uname) preferred over backticks?

Copy link
Member Author

Choose a reason for hiding this comment

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

Both work (albeit slightly differently). That being said, I don't have a preference. So went ahead and changed it.

@scopatz
Copy link
Member

scopatz commented Nov 3, 2016

LGTM @jakirkham other than the backtick thing

@jakirkham
Copy link
Member Author

Thanks for the review @scopatz . Have incorporated your changes.

@scopatz
Copy link
Member

scopatz commented Nov 3, 2016

Thanks! I'll merge after CI.

@scopatz scopatz merged commit 9a4025a into conda-forge:master Nov 4, 2016
@scopatz
Copy link
Member

scopatz commented Nov 4, 2016

Thanks @jakirkham!

@jakirkham jakirkham deleted the add_libevent branch November 4, 2016 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants