Page MenuHomePhabricator

Update modules build after changes to master
AbandonedPublic

Authored by jon on Jul 5 2022, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 10:50 AM
Unknown Object (File)
Tue, Jun 11, 11:04 PM
Unknown Object (File)
Mon, Jun 10, 8:27 AM
Unknown Object (File)
Mon, Jun 10, 8:27 AM
Unknown Object (File)
Mon, Jun 10, 8:26 AM
Unknown Object (File)
Mon, Jun 10, 8:18 AM
Unknown Object (File)
Sun, Jun 9, 5:59 AM
Unknown Object (File)
Fri, Jun 7, 5:05 AM

Details

Summary

The structure of the NativeModules
directory has changed on master. Due to the
order in which the changes took place, these
changes can't be applied to D4296

Depends on D4302

Test Plan

cd native/cpp && mkdir build && cd build && cmake .. && make

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 5 2022, 12:01 PM
Harbormaster failed remote builds in B10301: Diff 14201!
Harbormaster returned this revision to the author for changes because remote builds failed.Jul 7 2022, 3:51 PM
Harbormaster failed remote builds in B10394: Diff 14304!

Resigning since I'm usually not a good person to set as a first-pass reviewer. Exceptions here

atul requested changes to this revision.Jul 15 2022, 11:05 AM

cd native/cpp && mkdir build && cd build && cmake .. && make

Running into

CMake Error at /opt/homebrew/lib/cmake/grpc/gRPCTargets.cmake:72 (set_target_properties):
  The link interface of target "gRPC::grpc" contains:

    OpenSSL::SSL

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /opt/homebrew/lib/cmake/grpc/gRPCConfig.cmake:25 (include)
  CommonCpp/grpc/CMakeLists.txt:6 (find_package)

Is the assumption that this should be run within a nix shell? Can we use FetchContent here to make this build more portable?

This revision now requires changes to proceed.Jul 15 2022, 11:05 AM

should be able to re-order this to not need this diff. Or if I do, it will look quite different