Skip to content

Conversation

@PierreZ
Copy link
Contributor

@PierreZ PierreZ commented Aug 20, 2021

This commits is a cherry-pick of #5418, addressing the comments made by @xis19 on #5389. This PR is not trying to fix dependencies, but rather print binding's dependencies as warning when requirements are not reached.

Example

cmake -G Ninja -DBUILD_C_BINDING=OFF ../foundationdb

We now have some warnings if we are trying to do something illegal:

CMake Warning at cmake/FDBComponents.cmake:94 (message):
  Java binding depends on C binding, but C binding is not enabled
Call Stack (most recent call first):
  CMakeLists.txt:70 (include)

CMake Warning at cmake/FDBComponents.cmake:130 (message):             
  Go binding depends on C binding, but C binding is not enabled
Call Stack (most recent call first): 
  CMakeLists.txt:70 (include)

CMake Warning at cmake/FDBComponents.cmake:154 (message): 
  Ruby binding depends on C binding, but C binding is not enabled 
Call Stack (most recent call first):
  CMakeLists.txt:70 (include)

Code-Reviewer Section

The general guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

  • The PR has a description, explaining both the problem and the solution.
  • The description mentions which forms of testing were done and the testing seems reasonable.
  • Every function/class/actor that was touched is reasonably well documented.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

  • This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or master if this is the youngest branch)
  • There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 5ca4357
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@jzhou77 jzhou77 requested review from jzhou77 and xis19 August 23, 2021 20:30
@jzhou77 jzhou77 merged commit 2e4eac4 into apple:release-7.0 Aug 23, 2021
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.

4 participants