[MacPorts] #68995: debug variant is not CMAKE_BUILD_TYPE=Debug

MacPorts noreply at macports.org
Thu Dec 28 13:52:43 UTC 2023


#68995: debug variant is not CMAKE_BUILD_TYPE=Debug
---------------------------+---------------------
 Reporter:  infinitesteps  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:                 |       Port:  llvm-14
---------------------------+---------------------
 When I installed the +debug port variant I expected that the build type
 would be:

 CMAKE_BUILD_TYPE=Debug

 It would be helpful if it was. But it is not:



 {{{
 ❯ /opt/local/bin/opt-mp-14 --version
 LLVM (http://llvm.org/):
   LLVM version 14.0.6
   Optimized build.
   Default target: x86_64-apple-darwin21.6.0
   Host CPU: skylake
 }}}

 If it was the debug build it would report as follows:


 {{{
 ❯ bin/opt --version
 LLVM (http://llvm.org/):
   LLVM version 14.0.6
   DEBUG build with assertions.
   Default target: x86_64-apple-darwin21.6.0
   Host CPU: skylake
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68995>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list