[MacPorts] #44062: root6: either make it work on 10.6 (or declare it broken)

MacPorts noreply at macports.org
Wed Jun 18 08:44:32 PDT 2014


#44062: root6: either make it work on 10.6 (or declare it broken)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  snowleopard
      Port:  root6    |
----------------------+--------------------------------

Comment (by mojca@…):

 Or, a [https://github.com/root-
 mirror/root/blob/master/montecarlo/vmc/inc/TMCtls.h way more likely
 candidate] `montecarlo/vmc/inc/TMCtls.h`:
 {{{
 #define VMC_MULTITHREADED 1
 #if ( defined (VMC_MULTITHREADED) )
 #if ( ( defined(__MACH__) && defined(__clang__) && defined(__x86_64__) )
 || \
 ( defined(__MACH__) && defined(__GNUC__) && __GNUC__>=4 &&
 __GNUC_MINOR__>=7 ) || \
 defined(__linux__) || defined(_AIX) ) && ( !defined(__CINT__) )
       // Multi-threaded build: for POSIX systems
 #include <pthread.h>
 #define TMCThreadLocal __thread
 #else
       //# error "No Thread Local Storage (TLS) technology supported for
 this platform. Use sequential build !"
 #define TMCThreadLocal
 #endif
 #else
 #define TMCThreadLocal
 #endif
 }}}

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


More information about the macports-tickets mailing list