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

options handling change #57

Closed
wants to merge 2 commits into from
Closed

options handling change #57

wants to merge 2 commits into from

Conversation

DrYak
Copy link
Member

@DrYak DrYak commented Nov 20, 2017

This branches contains 2 different modifications to haploclique :

docopt

I've replaced the built-in docopt version 0.6.1 with an external git submodule pulling version 0.6.2.

That version contains bugfixes that cause the exceptions thrown to disappear.
It also has an officially supported switch (-DUSE_BOOST_REGEX) that replace the C++11 std::regex engine with Boost.Regex, for older version like GCC 4.8.x that lack functionnal Regex.

help return code

I turned on docopt's support for --help (and --version) so that now these display the info and return a success exit code (which is a requirement for bioconda recipes' test: sections)

 - contains Boost fix for borken C++11 std::regex on GCC 4.8.x
@DrYak DrYak mentioned this pull request Nov 20, 2017
else()
target_link_libraries(hc BamTools)
target_link_libraries(hc BamTools docopt_s)
Copy link
Member Author

Choose a reason for hiding this comment

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

NOTE:

I am mimicking the current behaviour where docopt is compiled as an object (docopt.o) straight into
haploclique, no matter what shared/static setting is in action. No external shared object is ever needed.

Here the static docopt library is used no matter what, so that the final haploclique never relies on any lib docopt.so

@DrYak
Copy link
Member Author

DrYak commented Nov 21, 2017

@armintoepfer : oops, something is wrong Circleci doesn't even start!?

@DrYak
Copy link
Member Author

DrYak commented Nov 21, 2017

@SoapZA : If you would also like to review this pull.

@DrYak
Copy link
Member Author

DrYak commented Nov 27, 2017

This pull request did also happen to solve this issue regarding using upstream docopt as a submodule (done in this commit )

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.

2 participants