[MacPorts] #63038: clang12: please re-enable the +analyzer as a default variant

MacPorts noreply at macports.org
Fri Jun 11 14:21:51 UTC 2021


#63038: clang12: please re-enable the +analyzer as a default variant
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  kencu
      Type:  request     |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  clang-12    |
-------------------------+----------------------

Comment (by kencu):

 None of upstream uses the Makefiles method of building the llvm tree. They
 all use ninja, and presumably ninja does not show this issue.

 We can't use ninja, because we install llvm separately from the clang and
 other components, and the ninja build does not allow going into each
 directory and running destroot separately like we have to do.

 What I can look into is adding a Makefile command {{{.notparallel}}} into
 the compiler-rt build top Makefile, so that only that part builds with one
 process.

 To do that using cmake as a generator turns out to be non-trivial. It's
 all made worse because I almost never see this issue on my 16 core
 machines, so I can't really test it properly.

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


More information about the macports-tickets mailing list