[commit: ghc] wip/nfs-locking: Add example UserSettings.hs. (b5bf68d)
git at git.haskell.org
git at git.haskell.org
Thu Oct 26 23:11:03 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/b5bf68d5ec49bf888321dc7a55e02c772b073de5/ghc
>---------------------------------------------------------------
commit b5bf68d5ec49bf888321dc7a55e02c772b073de5
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Jun 14 01:18:49 2015 +0100
Add example UserSettings.hs.
>---------------------------------------------------------------
b5bf68d5ec49bf888321dc7a55e02c772b073de5
src/UserSettings.hs | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/UserSettings.hs b/src/UserSettings.hs
new file mode 100644
index 0000000..0a37159
--- /dev/null
+++ b/src/UserSettings.hs
@@ -0,0 +1,17 @@
+module UserSettings (
+ userSettings
+ ) where
+
+import Base hiding (arg, args, Args)
+import Rules.Data
+import Oracles.Builder
+import Expression
+import Expression.Settings
+
+userSettings :: Settings
+userSettings = mconcat
+ [ package compiler ? stage Stage0 ? append ["foo", "bar"]
+ , builder (Ghc Stage0) ? remove ["-O2"]
+ , builder GhcCabal ? removeSub "--configure-option=CFLAGS" ["-Werror"]
+ ]
+
More information about the ghc-commits
mailing list