[MacPorts] #57093: caffe update fails after protobuf3 upgrade

MacPorts noreply at macports.org
Tue Sep 4 05:52:36 UTC 2018


#57093: caffe update fails after protobuf3 upgrade
-----------------------+--------------------
  Reporter:  jwhowse4  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.3
Resolution:            |   Keywords:
      Port:  caffe     |
-----------------------+--------------------

Comment (by kencu):

 well, here is a workaround that might wind up in the Portfile, in the end.
 clang-6.0 and clang-7.0 default to a higher c++ standard than c++11, so if
 you build `caffe` with those, there is not a problem:
 {{{
 $ sudo port -v installed caffe
 The following ports are currently installed:
   caffe @20170817_8+cpu+openblas+python27 (active) platform='darwin 17'
 archs='x86_64' date='2018-09-03T22:48:10-0700'
 }}}

 so do this:
 {{{
 sudo port install clang-7.0
 }}}
 then
 {{{
 sudo port -v install caffe configure.compiler=macports-clang-7.0
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57093#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list