-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathxgboost.cabal
More file actions
73 lines (59 loc) · 1.97 KB
/
Copy pathxgboost.cabal
File metadata and controls
73 lines (59 loc) · 1.97 KB
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
64
65
66
67
68
69
70
71
72
73
name: xgboost
version: 0.1.0.3
synopsis: A foreign interface to the Xgboost library
category: Data Mining, Machine Learning, Algorithms, Data structures
license: MIT
license-file: LICENSE
author: Robert Krzyzanowski
maintainer: technoguyrob@gmail.com
build-type: Custom
cabal-version: >= 1.10
homepage: https://github.com/robertzk/xgboost.hs
bug-reports: https://github.com/robertzk/xgboost.hs/issues
description:
A foreign function interface to the <https://github.com/dmlc/xgboost Xgboost>
C library for gradient-boosted distributed trees.
extra-source-files:
README.md,
cbits,
include
Library
hs-source-dirs: src
exposed-modules:
Xgboost
Xgboost.Construct
Xgboost.Example
Xgboost.Foreign
build-depends: base >= 4.7 && < 4.8,
vector
include-dirs:
./include
includes:
./include/test.h
c-sources:
./cbits/test.c
other-extensions: CPP
, ForeignFunctionInterface
, EmptyDataDecls
, RecordWildCards
default-language: Haskell2010
if (arch(i386) || arch(x86_64))
cpp-options: -DARCH_X86 -dynamic -Wall -msse2 -Wno-unknown-pragmas -funroll-loops -DDISABLE_OPENMP -static-libgcc -fPIC
-- TODO: (RK) Else...?
Test-Suite test-xgboost
type: exitcode-stdio-1.0
hs-source-dirs: tests
src
main-is: Test.hs
build-depends: base,
Cabal >= 1.9.2,
vector,
xgboost
--extra-include-dirs: /opt/local/include
--extra-lib-dirs: /opt/local/lib
cpp-options: -DARCH_X86 -dynamic -Wall -msse2 -Wno-unknown-pragmas -funroll-loops -DDISABLE_OPENMP -static-libgcc -fPIC
ghc-options: xgboost/wrapper/libxgboostwrapper.so
other-extensions: CPP
, ForeignFunctionInterface
, EmptyDataDecls
, RecordWildCards