forked from sighingnow/xgboost-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xgboost-haskell.cabal
56 lines (53 loc) · 1.85 KB
/
xgboost-haskell.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
name: xgboost-haskell
version: 0.1.0.0
synopsis: XGBoost library for Haskell.
description: XGBoost library for Haskell via FFI binding, on top of foundation.
homepage: https://github.com/sighingnow/xgboost-haskell#readme
author: Tao He
maintainer: sighingnow@gmail.com
license: MIT
license-file: LICENSE
copyright: Copyright: (c) 2017 Tao He
category: Development
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
Library
hs-source-dirs: src
exposed-modules:
ML.DMLC.XGBoost
ML.DMLC.XGBoost.Exception
ML.DMLC.XGBoost.FFI
ML.DMLC.XGBoost.Rabit.FFI
other-modules:
ML.DMLC.XGBoost.Foreign
default-language: Haskell2010
default-extensions: NoImplicitPrelude
, OverloadedStrings
build-depends: base >= 4.7 && < 5
, foundation
-- Linking approach: http://www.the-efficient-programmer.com/programming/link-c-lib-in-haskell.html#linking-to-the-c-library
extra-libraries: xgboost
executable xgboost-app
hs-source-dirs: app
main-is: Main.hs
default-language: Haskell2010
default-extensions: NoImplicitPrelude
, OverloadedStrings
build-depends: base >= 4.7 && < 5
, foundation
, xgboost-haskell
buildable: False
extra-libraries: xgboost
extra-lib-dirs: ./
executable xgb-agaricus
hs-source-dirs: examples
main-is: agaricus.hs
default-language: Haskell2010
default-extensions: NoImplicitPrelude
, OverloadedStrings
build-depends: base >= 4.7 && < 5
, foundation
, xgboost-haskell
extra-libraries: xgboost
extra-lib-dirs: ./