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

cmake: detect bzip2 and lz4 #7126

Merged
merged 2 commits into from Jan 9, 2016
Merged

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Jan 6, 2016

  • this change is the cmake port of 911e7a0.
    the rocksdb's Makefile will detect the installed libbz2 and libz4 by
    its own. if the building env happens to have these libraries installed,
    a link time dependency is introduced. so we are forced to link against
    them.
  • do not REQUIRE BZip2 in cmake anymore
  • only link against bzip2 if it is detected

@tchaikov tchaikov changed the title cmake: detect bzip2 lz4 cmake: detect bzip2 and lz4 Jan 6, 2016
@tchaikov tchaikov force-pushed the wip-detect-bzip2-lz4 branch 2 times, most recently from f07af9f to dd2c750 Compare January 6, 2016 11:50
Signed-off-by: Kefu Chai <kchai@redhat.com>
* this change is the cmake port of 911e7a0.
  the rocksdb's Makefile will detect the installed libbz2 and libz4 by
  its own. if the building env happens to have these libraries installed,
  a link time dependency is introduced. so we are forced to link against
  them.
* do not REQUIRE BZip2 in cmake anymore
* only link against bzip2 if it is detected

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

tchaikov commented Jan 9, 2016

@cbodley could you take a look at this pull request? thanks.

cbodley added a commit that referenced this pull request Jan 9, 2016
@cbodley cbodley merged commit 0c5e0c2 into ceph:master Jan 9, 2016
@tchaikov tchaikov deleted the wip-detect-bzip2-lz4 branch January 9, 2016 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants