Skip to content

Commit 460d83f

Browse files
karolzwolakigcbot
authored andcommitted
Enable mold linker by default
Enables linking with mold by default if it's available on the system. Mold is around 2x as fast as lld on my system. I've been using for it a short while and it supports all the features we need and I haven't encountered any issues so far.
1 parent 5afd830 commit 460d83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ if(UNIX)
17371737
endfunction()
17381738

17391739
# List of linkers to auto-detect when user didn't specify one
1740-
set(_default_linkers lld ld)
1740+
set(_default_linkers mold lld ld)
17411741

17421742
if (USE_LINKER STREQUAL "")
17431743
message(STATUS "No linker specified — probing system")

0 commit comments

Comments
 (0)