[MacPorts] #50958: py-graph-tool fails to build with clang OpenMP option (configure.args=--enable-openmp)

MacPorts noreply at macports.org
Thu Mar 24 16:53:01 PDT 2016


#50958: py-graph-tool fails to build with clang OpenMP option (configure.args
=--enable-openmp)
----------------------------+--------------------------------------------
  Reporter:  s.t.smith@…    |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  graph-tool clang openmp libomp
      Port:  py-graph-tool  |
----------------------------+--------------------------------------------

Comment (by s.t.smith@…):

 On my system clang-3.7 fails with this error:

 {{{
 In file included from graph_betweenness.cc:20:
 In file included from /opt/local/include/boost/python.hpp:41:
 /opt/local/include/boost/python/make_constructor.hpp:177:32: warning:
 unused typedef 'assertion' [-Wunused-local-typedef]
           >::too_many_keywords assertion;
                                ^
 fatal error: error in backend: Cannot select: 0x7fe332ed22a0: f80 =
 zero_extend 0x7fe332ed1e00 [ORD=3] [ID=4]
   0x7fe332ed1e00: i64 = FrameIndex<14> [ID=1]
 In function: .omp_outlined..24
 clang: error: clang frontend command failed with exit code 70 (use -v to
 see invocation)
 }}}

 The build commands are:

 {{{
 sudo port install clang-3.7 +openmp
 sudo port -d install py-graph-tool configure.compiler=macports-clang-3.7
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50958#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list