darling icon indicating copy to clipboard operation
darling copied to clipboard

Improvement: DSYMs are built twice when doing debug builds, which takes a long time on older hardware.

Open hamishmb opened this issue 3 years ago • 2 comments

Build Log What is the build error?

There is no error.

System Information What system are you building with?

Software Version
Clang 10.0.0-4ubuntu1
CMake 3.16.3
Linux Kernel 5.15.0-46-generic
Darling Various

Doing a debug build as per the build instructions causes the DSYMs to be built a second time during make install

This takes a long time on my hardware (i7-3632QM), so it would be good to skip the unnecessary double build.

hamishmb avatar Sep 27 '22 16:09 hamishmb

Do you build darling with multi-threading? I noticed that with a multi-threaded build, you have to do another build without multi-threading to properly build all of the files.

Ex:

$ make -j8
$ make
$ sudo make install

CuriousTommy avatar Sep 27 '22 17:09 CuriousTommy

Oh, okay. I don't seem to have to do another single threaded build. I normally use make -j8 too

hamishmb avatar Sep 27 '22 17:09 hamishmb