Package Details: xgboost 3.1.1-1

Git Clone URL: https://aur.archlinux.org/xgboost.git (read-only, click to copy)
Package Base: xgboost
Description: An optimized distributed gradient boosting library
Upstream URL: https://github.com/dmlc/xgboost
Licenses: Apache
Submitter: AchmadFathoni
Maintainer: chengscott
Last Packager: chengscott
Votes: 1
Popularity: 0.000000
First Submitted: 2023-02-20 11:18 (UTC)
Last Updated: 2025-10-23 02:18 (UTC)

Required by (2)

Sources (1)

Latest Comments

rod2ik commented on 2026-01-02 18:02 (UTC)

I received an error building this package with NCCL and CUDA. There was no way to make this run with NCCL and/or CUDA. I finally had to build it without NCCL and without CUDA, to just install xgboost.

I used this PKGBUILD modified (just in case it helps):

# Maintainer: Scott Cheng <aur@chengscott.io>
# Contributor: AchmadFathoni <fathoni.id@gmail.com>

pkgname=xgboost
pkgver=3.1.1
pkgrel=1
pkgdesc="An optimized distributed gradient boosting library"
arch=('x86_64')
url="https://github.com/dmlc/xgboost"
license=('Apache')
depends=(gcc-libs glibc)
makedepends=(cmake)

source=("$pkgname.tar.gz"::"$url/releases/download/v$pkgver/xgboost-src-$pkgver.tar.gz")
b2sums=('SKIP')

build() {
    cmake \
        -B build \
        -D CMAKE_BUILD_TYPE=Release \
        -D CMAKE_INSTALL_PREFIX=/usr \
        -D USE_CUDA=OFF \
        -D USE_NCCL=OFF \
        -S "${srcdir}/${pkgname}"

    cmake --build build -j
}

package() {
    DESTDIR="${pkgdir}" cmake --install build
}