commit 95421f8b0a24e73d6d6999e547fbe004e61f7537
parent 0ebdc0a6971d76db967d4130674f9d5dbf05df5c
Author: Jared Tobin <jared@jtobin.io>
Date: Sun, 17 May 2026 21:00:13 -0230
meta: add llvm flag
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/ppad-bolt8.cabal b/ppad-bolt8.cabal
@@ -18,11 +18,18 @@ source-repository head
type: git
location: git.ppad.tech/bolt8.git
+flag llvm
+ description: Use GHC's LLVM backend.
+ default: False
+ manual: True
+
library
default-language: Haskell2010
hs-source-dirs: lib
ghc-options:
-Wall
+ if flag(llvm)
+ ghc-options: -fllvm -O2
exposed-modules:
Lightning.Protocol.BOLT8
Lightning.Protocol.BOLT8.Internal