forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPortfile
More file actions
38 lines (30 loc) · 1.39 KB
/
Portfile
File metadata and controls
38 lines (30 loc) · 1.39 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
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup R 1.0
R.setup cran Microsoft lightgbm 4.5.0
revision 0
categories-append math
maintainers nomaintainer
license MIT
description Light Gradient Boosting Machine
long_description {*}${description}
homepage https://github.com/lightgbm-org/LightGBM
checksums rmd160 438265b41b7aa3045cb6bbd7f714da1caf3f3227 \
sha256 5980c93ccf36cc8dbe2d9a9d0caac3b2b729a06b5f3e08c30394295d2b87deae \
size 1723817
# OpenMP detected is broken: https://github.com/fabsig/GPBoost/issues/95
# Also it uses an outdated Eigen with yet unfixed Altivec headers.
# For now, just disable vectorization on PowerPC.
patchfiles patch-unbreak-openmp.diff \
patch-unbreak-ppc.diff
depends_lib-append port:R-data.table \
port:R-jsonlite \
port:R-R6
compiler.cxx_standard 2017
depends_test-append port:R-knitr \
port:R-RhpcBLASctl \
port:R-rmarkdown \
port:R-testthat
test.run yes
# FIXME: linking on Rosetta may fail: https://github.com/lightgbm-org/LightGBM/issues/5931
# No problem when building natively on PowerPC.