# -*- 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 cmake 1.1 PortGroup compiler_blacklist_versions 1.0 PortGroup github 1.0 github.setup microsoft LightGBM 4.3.0 v revision 0 categories math license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Fast, distributed, high performance gradient boosting \ (GBT, GBDT, GBRT, GBM or MART) framework long_description {*}${description}, based on decision tree algorithms, \ used for ranking, classification and many other \ machine learning tasks. homepage https://lightgbm.readthedocs.io checksums rmd160 6e713e9b99a624d35ea063219afcf2c638af1a0a \ sha256 9e5a88bc231addfe4a0e57aa5ceb157f045103cd69ad8c2f393ef941ef52a9ac \ size 7070807 github.tarball_from archive patchfiles-append 0001-Fix-CMakeLists.txt.patch \ 0002-common.h-fix-includes.patch set libfmt_ver 10 cmake.module_path-append \ ${prefix}/lib/libfmt${libfmt_ver}/cmake depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \ port:fast_double_parser \ port:libfmt${libfmt_ver} compiler.cxx_standard 2014 compiler.blacklist-append \ {clang < 900} {*gcc-[34].*} configure.args-append \ -DBUILD_CLI=ON \ -DBUILD_CPP_TEST=OFF \ -DBUILD_STATIC_LIB=OFF \ -DEIGEN_DIR=${prefix}/include/eigen3 \ -DINSTALL_HEADERS=ON \ -DLIBFMT_DIR=${prefix}/include/libfmt${libfmt_ver} \ -DUSE_CUDA=OFF \ -DUSE_GPU=OFF \ -DUSE_HDFS=OFF \ -DUSE_MPI=OFF \ -DUSE_OPENMP=ON \ -DUSE_SANITIZER=OFF platform darwin { configure.args-append \ -DAPPLE_OUTPUT_DYLIB=ON } compiler.openmp_version 3.0 if {[string match *clang* ${configure.compiler}]} { configure.ldflags-append \ -L${prefix}/lib/libomp -lomp }