summaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config.hs b/Config.hs
index 3e83eff..2ea0fa8 100644
--- a/Config.hs
+++ b/Config.hs
@@ -40,7 +40,7 @@ opts = [ "" -- Ubuntu/Debian
40 40
41-- compile a simple program with symbols from GSL and LAPACK with the given libs 41-- compile a simple program with symbols from GSL and LAPACK with the given libs
42testprog bInfo buildInfo libs fmks = 42testprog bInfo buildInfo libs fmks =
43 "echo \"#include <gsl/gsl_sf_gamma.h>\nint main(){zgesvd_(); gsl_sf_gamma(5);}\"" 43 "echo \"#include <gsl/gsl_sf_gamma.h>\nint main(){dgemm_(); zgesvd_(); gsl_sf_gamma(5);}\""
44 ++" > " ++ (buildDir bInfo) ++ "/dummy.c; gcc " 44 ++" > " ++ (buildDir bInfo) ++ "/dummy.c; gcc "
45 ++ (join $ ccOptions buildInfo) ++ " " 45 ++ (join $ ccOptions buildInfo) ++ " "
46 ++ (join $ cppOptions buildInfo) ++ " " 46 ++ (join $ cppOptions buildInfo) ++ " "
@@ -90,7 +90,7 @@ try l i b f (opt:rest) = do
90 else try l i b f rest 90 else try l i b f rest
91 91
92-- read --configure-option=link:lib1,lib2,lib3,etc 92-- read --configure-option=link:lib1,lib2,lib3,etc
93linkop = "link:" 93linkop = "--configure-option=link:"
94getUserLink = concatMap (g . drop (length linkop)) . filter (isPrefixOf linkop) 94getUserLink = concatMap (g . drop (length linkop)) . filter (isPrefixOf linkop)
95 where g = map cs 95 where g = map cs
96 cs ',' = ' ' 96 cs ',' = ' '