[MacPorts] #52554: libomp @3.9.0_1 won't build on Snow Leopard, Mac OS X 10.6.8, because of missing llvm-lit?

MacPorts noreply at macports.org
Thu Apr 7 00:42:45 UTC 2022


#52554: libomp @3.9.0_1 won't build on Snow Leopard, Mac OS X 10.6.8, because of
missing llvm-lit?
------------------------+--------------------------------
  Reporter:  ballapete  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:  wontfix    |   Keywords:
      Port:  libomp     |
------------------------+--------------------------------

Comment (by kencu):

 this was fixed years ago, and it is not broken now.

 {{{
 #include <atomic>
 }}}

 requires a c++11 capable compiler that is put into c++11 mode and building
 against a c++11-capable standard library.

 For most of macports that is {{{clang++ -std=c++11 -stdlib=libc++}}}.

 For gcc7, you should not have to do anything much as it defaults to c++11
 and also a c++11-capable stdlib. You would only have to make sure you
 don't screw up the defaults somehow by being too clever about things.

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


More information about the macports-tickets mailing list