Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2020 21:43:07 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r544845 - branches/2020Q3/misc/nn-insight/files
Message-ID:  <202008132143.07DLh7El005883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Aug 13 21:43:07 2020
New Revision: 544845
URL: https://svnweb.freebsd.org/changeset/ports/544845

Log:
  MFH: r544844
  
  misc/nn-insight: fix build with GCC and on head
  
  Add missing includes. This fixes build on stable/12 for powerpc64 (with GCC) and on head with powerpc64. Looking at https://www.freshports.org/misc/nn-insight/, it seems currently doesn't build even on head/amd64, so those includes should fix it.
  
  The original error that made me look into it was:
  /wrkdirs/usr/ports/misc/nn-insight/work/nn-insight-1.0.5/tensor.h:18:75: error: 'std::shared_ptr' has not been declared
     18 | bool readTensorDataAsJson(const char *fileName, const TensorShape &shape, std::shared_ptr<const float> &tensorData);
        |                                                                           ^~~
  
  Approved by:	portmgr (fix build blanket)

Added:
  branches/2020Q3/misc/nn-insight/files/
     - copied from r544844, head/misc/nn-insight/files/
Modified:
Directory Properties:
  branches/2020Q3/   (props changed)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008132143.07DLh7El005883>