Bug 257053

Summary: devel/google-cloud-cpp: Patch to create a downgraded version to fix tensorflow build
Product: Ports & Packages Reporter: Anthony Donnelly <amzo1337>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: mizhka, yuri
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 250646    
Attachments:
Description Flags
Create a port of version 117 for google-cloud-cpp
none
Remove duplicate functool patch none

Description Anthony Donnelly 2021-07-08 15:06:22 UTC
Created attachment 226300 [details]
Create a port of version 117 for google-cloud-cpp

I've fixed the tensorflow building but for it to successfully build it needs an older version of google-cloud-cpp. I've attached a patch which creates a port in devel/google-cloud-cpp117 and creates the correct version to successfully build tensorflow 1.15.x


I propose having the older version as well as the new version as I hope to also create a tensorflow2 port when I have the time and be able to have both compile from within the port tree.
Comment 1 Anthony Donnelly 2021-07-08 17:44:34 UTC
Created attachment 226309 [details]
Remove duplicate functool patch

I had an error in my previous patch, and accidentally had a duplicate patch within it. This patch should remedy the problem. If not, I pushed the full changes to my git.

https://github.com/Amzo/FreeBSD-Tensorflow/tree/master/science/py-tensorflow
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2021-07-09 00:31:29 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-07-09 00:32:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0acc413f3a76e04fa5be1d30c7af1104a438549e

commit 0acc413f3a76e04fa5be1d30c7af1104a438549e
Author:     Anthony Donnelly <amzo1337@gmail.com>
AuthorDate: 2021-07-09 00:24:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-09 00:31:36 +0000

    devel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google Cloud Platform services (frozen at version 1.17.0 to support science/py-tensorflow)

    PR:             257053

 devel/Makefile                            |   1 +
 devel/google-cloud-cpp117/Makefile (new)  |  47 +++
 devel/google-cloud-cpp117/distinfo (new)  |   5 +
 devel/google-cloud-cpp117/pkg-descr (new) |   5 +
 devel/google-cloud-cpp117/pkg-plist (new) | 636 ++++++++++++++++++++++++++++++
 5 files changed, 694 insertions(+)