Opened 3 years ago

Closed 3 years ago

#62128 closed defect (fixed)

grpc needs a cmake build to be used as a dependency for apache-arrow, huggingface libraries, others

Reported by: essandess (Steve Smith) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: emcrisostomo (Enrico Maria Crisostomo)
Port: grpc

Description

grpc needs a cmake build to be used as a dependency for apache-arrow, the huggingface libraries, and others. See https://github.com/macports/macports-ports/pull/7791

The current grpc build does not generate the necessary cmake files and cannot be used within other cmake projects.

The PR https://github.com/macports/macports-ports/pull/9729 is a suggested cmake build of grpc.

Change History (2)

comment:1 Changed 3 years ago by essandess (Steve Smith)

Furthermore, the current Makefile patch ${prefix}//var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/grpc/files/patch-Makefile.diff is obsolete and does not work with the latest grpc version. The proposed cmake build fixes this issue.

comment:2 Changed 3 years ago by essandess (Steve Smith)

Owner: set to essandess
Resolution: fixed
Status: newclosed

In c4ba306bbea288e59108a0e785d3b7d08eaf5ba8/macports-ports (master):

grpc: Use cmake build; Update to version 1.36.2, Add Python ports

  • grpc
    • Use cmake build for grpc dependencies
    • Update grpc to version 1.36.2
    • Remove obsolete patch files patch-Makefile.diff that don't work with latest version
    • Fixes #62128
  • py*-grpcio
    • Build py*-grpcio from source
    • Update py*-grpcio to version 1.36.2
  • py*-grpcio-tools
    • Build py*-grpcio-tools from source
    • Update py*-grpcio-tools to version 1.36.2
Note: See TracTickets for help on using tickets.