Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gdaisukesuzuki authored Jul 2, 2020
1 parent f34df01 commit 9a4d1a0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rapids-rmm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ license=('custom')
depends=('gcc8' 'cython' 'cuda' 'cmake' 'python-numba' 'spdlog')
# source=("${_pkgname}::git+https://github.com/rapidsai/rmm.git")
source=("${_pkgname}::git+https://github.com/rapidsai/rmm.git#branch=branch-0.15"
"setup.py.patch"
)
# "setup.py.patch")

sha256sums=('SKIP')
# sha256sums=('SKIP' 'SKIP')
# sha256sums=('SKIP')
sha256sums=('SKIP' 'SKIP')

pkgver() {
cd rmm
Expand Down Expand Up @@ -58,7 +58,7 @@ build() {
make -j6

cd "${srcdir}"
# patch -p0 < setup.py.patch
patch -p0 < setup.py.patch

cd "${srcdir}"/rmm/python
export LD_LIBRARY_PATH=/usr/lib:/opt/cuda/lib64:/opt/cuda/extras/CUPTI/lib64:/opt/magma/lib
Expand Down
19 changes: 19 additions & 0 deletions rapids-rmm/setup.py.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
*** rmm/python/setup.py-dist 2020-07-02 10:09:54.066047991 +0900
--- rmm/python/setup.py 2020-07-02 10:11:46.763432756 +0900
***************
*** 54,60 ****
sources=cython_lib,
include_dirs=include_dirs,
library_dirs=library_dirs,
! libraries=["rmm"],
language="c++",
extra_compile_args=["-std=c++14"],
)
--- 54,60 ----
sources=cython_lib,
include_dirs=include_dirs,
library_dirs=library_dirs,
! libraries=["rmm","fmt","cudart","nccl"],
language="c++",
extra_compile_args=["-std=c++14"],
)

0 comments on commit 9a4d1a0

Please sign in to comment.