forked from fossas/fossa-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcabal.project
More file actions
19 lines (16 loc) · 795 Bytes
/
cabal.project
File metadata and controls
19 lines (16 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
packages: .
tests: True
optimization: False
package spectrometer
-- Building with file-embed fails on GHC >= 9.2 on Mac OS X when using no optimizations (-O0).
-- I found that we can keep most of the speed of compiling with -O0 and compile succesfully by enabling this one extension.
-- In CI, we use either -O1 or -O2 so this should not be a problem.
--
-- When upgrading to GHC 9.4 consumers of spectrometer may also need to enable this flag if they use -O0.
-- Bug filed here: https://github.com/snoyberg/file-embed/issues/45
ghc-options: -ffull-laziness
import: ./cabal.project.common
package *
extra-include-dirs: /opt/homebrew/include
extra-lib-dirs: /opt/homebrew/lib
ghc-options: -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi