]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
spline3.cabal: remove untested and probably-busted "llvm" flag.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 01:09:11 +0000 (20:09 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 01:09:11 +0000 (20:09 -0500)
spline3.cabal

index 5e73d401461b1ab2c06b2d84a07a46d23ced533e..a6c638b291d427c6f8c04a338a647d4ec27674fe 100644 (file)
@@ -31,10 +31,6 @@ extra-source-files:
   doc/results/3d/*.png
   util/view-mri-data.py
 
-flag LLVM
-  description: Build with LLVM
-  default:     False
-
 
 executable spline3
 
@@ -96,16 +92,10 @@ executable spline3
     -rtsopts
     -threaded
 
-  if flag(llvm)
-    ghc-options:
-      -fllvm
-      -optlo-O3
-      -optlc-O3
-  else
-    ghc-options:
-      -O2
-      -optc-O3
-      -optc-march=native
+  ghc-options:
+    -O2
+    -optc-O3
+    -optc-march=native
 
   ghc-prof-options:
     -prof
@@ -130,16 +120,10 @@ test-suite doctests
     -fexcess-precision
     -fno-spec-constr-count
 
-  if flag(llvm)
-    ghc-options:
-      -fllvm
-      -optlo-O3
-      -optlc-O3
-  else
-    ghc-options:
-      -O2
-      -optc-O3
-      -optc-march=native
+  ghc-options:
+    -O2
+    -optc-O3
+    -optc-march=native
 
 
 test-suite testsuite
@@ -185,16 +169,10 @@ test-suite testsuite
     -fexcess-precision
     -fno-spec-constr-count
 
-  if flag(llvm)
-    ghc-options:
-      -fllvm
-      -optlo-O3
-      -optlc-O3
-  else
-    ghc-options:
-      -O2
-      -optc-O3
-      -optc-march=native
+  ghc-options:
+    -O2
+    -optc-O3
+    -optc-march=native
 
 
 source-repository head