-
Notifications
You must be signed in to change notification settings - Fork 0
/
GSW.cabal
63 lines (60 loc) · 1.91 KB
/
GSW.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
--
-- There seems to be a bug in c2hs-2.28.2
-- https://github.com/haskell/c2hs/issues/192
--
-- To work this around,
-- (1) /usr/include/bits/mathcalls-helper-functions.h
-- was replaced with
-- /usr/include/bits/mathcalls-helper-functions.h.workaround
-- where the latter was produced by hand-replacing
-- `_Mdoubel_' in the former with `double'.
--
-- (2) After copying $(LIB)/gswteos10.h into Oceanogr
-- % stack exec c2hs GSW.chs
--
-- (3) Modify this file
-- (4) Recover /usr/include/bits/mathcalls-helper-functions.h
--
name: GSW
version: 0.2.0.3
-- synopsis:
-- description:
license: OtherLicense
license-file: LICENSE
author: kkats
maintainer: k.katsumata@jamstec.go.jp
-- copyright:
-- category:
build-type: Simple
cabal-version: >=1.10
library
exposed-modules: Oceanogr.GSW,
Oceanogr.GSWtools
-- other-extensions: ForeignFunctionInterface, TypeFamilies, ScopedTypeVariables
-- build-tools: c2hs
other-extensions: TypeFamilies, ScopedTypeVariables
include-dirs: lib/C/GSW-C-3.05.0-4/
build-depends: base,
ieee754,
vector (>= 0.10.2)
default-language: Haskell2010
extra-lib-dirs: lib/C/GSW-C-3.05.0-4/
extra-libraries: gswteos-10
ghc-options: -Wall -O
Test-Suite simpleTool
type: exitcode-stdio-1.0
main-is: SimpleToolTest.hs
hs-source-dirs: Test
build-depends: base,
GSW
default-language: Haskell2010
ghc-options: -optl-Wl,-rpath,lib/C/GSW-C-3.05.0-4/
Test-Suite simpleDH
type: exitcode-stdio-1.0
main-is: SimpleDynamicHeightTest.hs
hs-source-dirs: Test
build-depends: base,
GSW,
vector
default-language: Haskell2010
ghc-options: -optl-Wl,-rpath,/home/ka/lib/C/GSW-C-3.05.0-4/