Skip to content

Commit 2df8775

Browse files
authored
link executables dynamically to speed up linking (#4423)
* link executables dynamically to speed up linking * build: disable dynamic linking on Windows
1 parent df24af6 commit 2df8775

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: cabal.project

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ benchmarks: True
1717

1818
write-ghc-environment-files: never
1919

20+
-- Link executables dynamically so the linker doesn't produce test
21+
-- executables of ~150MB each and works lightning fast at that too
22+
-- Disabled on Windows
23+
if(!os(windows))
24+
executable-dynamic: True
25+
2026
-- Many of our tests only work single-threaded, and the only way to
2127
-- ensure tasty runs everything purely single-threaded is to pass
2228
-- this at the top-level

0 commit comments

Comments
 (0)