[MacPorts] #56292: fix ccpnmr package so that it actually builds again

MacPorts noreply at macports.org
Sun Apr 15 00:21:26 UTC 2018


#56292: fix ccpnmr package so that it actually builds again
--------------------------+---------------------------------
  Reporter:  jwhowarth    |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch maintainer
      Port:  ccpnmr       |
--------------------------+---------------------------------

Comment (by jwhowarth):

 Note that you can use the attached omp_hello.c c example to verify this
 against Apple clang.

 $ clang -fopenmp omp_hello.c
 clang: error: unsupported option '-fopenmp'
 clang: error: unsupported option '-fopenmp'

 whereas

 $ clang-mp-5.0 -fopenmp omp_hello.c
 howarth$ ./a.out
 Hello World from thread = 3
 Hello World from thread = 4
 Hello World from thread = 2
 Hello World from thread = 1
 Hello World from thread = 5
 Hello World from thread = 6
 Hello World from thread = 7
 Hello World from thread = 0
 Number of threads = 8

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


More information about the macports-tickets mailing list