summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bershatsky2018-11-13 15:00:29 +0300
committerDaniel Bershatsky2018-11-13 15:00:52 +0300
commita6aecf7df3f42cc76c21e4d7e0de6d2e4562c26f (patch)
tree5900a0fc9dc4c960762c56e9a90b62793341d3db
parent8a3785c840fbbb51671268a321909ddfecbc14c5 (diff)
downloadaur-a6aecf7df3f42cc76c21e4d7e0de6d2e4562c26f.tar.gz
Specify python version on build explicitely
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eed208aec8e9..42acd3b3a8be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-catboost-gpu-git
pkgdesc = CatBoost is an open-source gradient boosting on decision trees library with categorical features support out of the box.
pkgver = 0.2
- pkgrel = 1
+ pkgrel = 2
epoch = 0
url = https://catboost.yandex
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 585034dceb02..f2f4b8c7cbce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>
pkgname=python-catboost-gpu-git
pkgver=0.2
-pkgrel=1
+pkgrel=2
epoch=0
pkgdesc="CatBoost is an open-source gradient boosting on decision trees library with categorical features support out of the box."
arch=('i686' 'x86_64')
@@ -31,7 +31,7 @@ package() {
export YA_CACHE_DIR=/tmp/.ya
cd $srcdir/catboost/catboost/python-package/catboost
- ../../../ya make -r -DUSE_ARCADIA_PYTHON=no -DPYTHON_CONFIG=python3-config -DCUDA_ROOT=$CUDA_ROOT
+ ../../../ya make -r -DUSE_ARCADIA_PYTHON=no -DUSE_SYSTEM_PYTHON=3.7 -DPYTHON_CONFIG=python3-config -DCUDA_ROOT=$CUDA_ROOT
cd ..
python3 mk_wheel.py -DCUDA_ROOT=$CUDA_ROOT