Occurrrence analysis improvements for NOINLINE functions
[ghc.git] / hadrian / src / Settings / Packages / RunGhc.hs
1 module Settings.Packages.RunGhc (runGhcPackageArgs) where
2
3 import Oracles.Setting
4 import Expression
5
6 runGhcPackageArgs :: Args
7 runGhcPackageArgs = package runGhc ? builder Ghc ? input "//Main.hs" ? do
8 version <- getSetting ProjectVersion
9 pure ["-cpp", "-DVERSION=" ++ show version]