www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14939] New: dmd slow build of botan library with -inline and -O


          Issue ID: 14939
           Summary: dmd slow build of botan library with -inline and -O
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: chalucha gmail.com

Just clone the https://github.com/etcimon/botan library
Run dub build --config=32mscoff -b release

It takes over 3 minutes to build for me.

dmd params are: -m32mscoff -lib -release -inline -O -w

if -inline is removed, it builds within 12s.

On the linux it is a similar story.

DMD version: 2.068.0
OS: Windows 8.1 x86_64

Aug 20 2015