Support building on mac

This commit is contained in:
Jakub Kozłowski 2022-04-22 15:00:22 +02:00
parent 8cc1a0efaa
commit 0fcef907cc
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ executables:
ghc-options:
- -threaded
- -rtsopts
- -optP-Wno-nonportable-include-path # For macos
# -N3: Use three threads, because we only need three threads:
# 1. FS Notify listener
# 2. 'processWorker'

View File

@ -38,6 +38,7 @@ in
"--ghc-options=-Wredundant-constraints"
"--ghc-options=-Wcpp-undef"
"--ghc-options=-Werror"
"--ghc-options=-optP-Wno-nonportable-include-path" # For macos
];
# Ugly hack because we can't just add flags to the 'test' invocation.
# Show test output as we go, instead of all at once afterwards.