Skip to content

Commit

Permalink
add minigun
Browse files Browse the repository at this point in the history
  • Loading branch information
hadim committed Sep 2, 2020
1 parent 8dec2e5 commit 626f20c
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
12 changes: 12 additions & 0 deletions recipes/minigun/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mkdir -p build

pushd build

cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DUSE_CUDA=ON \
-DBUILD_SAMPLES=OFF \
..

make -j$CPU_COUNT
make install
46 changes: 46 additions & 0 deletions recipes/minigun/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "minigun" %}
{% set version = "0.0.1.dev0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
# url: https://github.com/dglai/minigun/archive/{{ version }}.tar.gz
url: https://github.com/dglai/minigun/archive/b41f2f3c79a4840b92a49bab0a60e8e37233eb35.tar.gz
sha256: cba75ed800734d3633f5469dc0c862f176c5368693ec221f3173d57fdcb6d406

build:
number: 0
skip: true # [win]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
host:
- openmp
- dlpack
- dmlc
- cudatoolkit-dev
- conda # required for cudatoolkit-dev
- wget # required for cudatoolkit-dev
run:
- dlpack
- dmlc

test:
commands:
- test -f ${PREFIX}/include/minigun.h # [unix]

about:
home: https://github.com/dglai/minigun
license: Apache-2.0
license_family: APACHE
license_file: LICENSE
summary: Light-weight GPU kernel interface for graph operations

extra:
recipe-maintainers:
- hadim
2 changes: 1 addition & 1 deletion recipes/tkwant/bld.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
%PYTHON% setup.py install --single-version-externally-managed --record=record.txt
%PYTHON% setup.py install --single-version-externally-managed --record=record.txt

0 comments on commit 626f20c

Please sign in to comment.