# -*- 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 github 1.0 github.setup microsoft LightGBM 4.7.0 v revision 0 categories math license MIT maintainers {@barracuda156 macos-powerpc.org:barracuda} 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 a96e799edf5c0d51f67c1e6273eb2f438be5ab83 \ sha256 2463b653b456cb3c9816dd014105d05917e38432f360f9e9739b5446fac9021d \ size 6347677 github.tarball_from archive patchfiles-append 0001-Fix-CMakeLists.txt.patch set libfmt_ver 12 cmake.prefix_path-append \ ${prefix}/share/eigen3/cmake \ ${prefix}/lib/libfmt${libfmt_ver}/cmake depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \ port:fast_double_parser \ port:libfmt${libfmt_ver} \ port:nanoarrow compiler.cxx_standard 2017 compiler.blacklist-append \ {clang < 900} {*gcc-[34].*} # TODO: support MPI 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_MPI=OFF \ -DUSE_OPENMP=ON \ -DUSE_SANITIZER=OFF \ -DUSE_SWIG=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 }