diff options
author | Darcy Hu | 2018-10-05 18:57:17 +0800 |
---|---|---|
committer | Darcy Hu | 2018-10-05 18:57:17 +0800 |
commit | 00ec46d2ac272dec8f7b3aeecb56924cf97d02c0 (patch) | |
tree | 90ef6624319b842728749c6eea3a771610f69039 /PKGBUILD | |
parent | ffa264f0e93493776faec1734a86e2756e3d0ff1 (diff) | |
download | aur-thundersvm-git.tar.gz |
emm, some fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,6 +13,7 @@ license=('APL') depends=('cuda') makedepends=('git' 'cmake' + 'chrpath' 'eigen' 'cuda' 'gtest' @@ -41,7 +42,7 @@ build() { make # build python interface cd "$srcdir/thundersvm/python" - python setup.py build +# python setup.py build } check_thundersvm-git() { @@ -52,6 +53,8 @@ check_thundersvm-git() { package() { cd "$srcdir/thundersvm/build/bin" + chrpath -d thundersvm-predict + chrpath -d thundersvm-train install -Dm755 thundersvm-predict "$pkgdir/usr/bin/thundersvm-predict" install -Dm755 thundersvm-train "$pkgdir/usr/bin/thundersvm-train" cd "$srcdir/thundersvm/build/lib" @@ -59,6 +62,6 @@ package() { cd "$srcdir/thundersvm" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" cd "$srcdir/thundersvm/python" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build +#python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |