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

MacPorts noreply at macports.org
Sun Apr 15 00:18:12 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):

 Replying to [comment:4 ryandesign]:
 > Replying to [ticket:56292 jwhowarth]:
 > > The ccpnmr package has been broken for almost a year now and every
 attempt to fix it has failed.
 >
 > Which attempts to fix it are you referring to? The last commit to the
 port that fixed anything was r144223 over 2 years ago.
 >

 I was looking at the bulk commits for compilers.setup

 [https://github.com/macports/macports-
 ports/commit/907a4a8117d60463b70f5c3da327f4b7e8d34946#diff-
 9829349dfd70fc6e907badaaa36d2d45]

 > > The attached Portfile diff and revised patch eliminates these build
 failures by blacklisting the cc, clang and all clang-macports compilers
 without working -fopenmp support.
 >
 > I see you've blacklisted all versions of clang provided by Xcode. Are
 you certain that none of them support `-fopenmp`?

 Apple clang has never supported -fopenmp. Don't expect them to ever
 support openmp as it represents a competing technology to their blocks
 technology introduced with Grand Central Dispatch. If you try to compile
 any openmp code with the -fopenmp flag in Apple clang, you will get the
 errors...

 clang: error: unsupported option '-fopenmp'
 clang: error: unsupported option '-fopenmp'

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


More information about the macports-tickets mailing list