Commit a908b831 by abergeron Committed by Tianqi Chen

Fix conda packages (#642)

* Make the tvm conda package build with in-place source and use cmake from conda.

* Add a package for topi.
parent 4d2fc952
......@@ -26,7 +26,7 @@ mkdir -p build
cd build
# Enable static-libstdc++ to make it easier to link this library with
# other C++ compilers
CXXFLAGS=-static-libstdc++ cmake3 -DCMAKE_PREFIX_PATH=${PREFIX} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DUSE_CUDA=1 -DUSE_LLVM=1 -DINSTALL_DEV=1 $CUDA_ARGS ..
CXXFLAGS=-static-libstdc++ cmake -DCMAKE_PREFIX_PATH=${PREFIX} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DUSE_CUDA=1 -DUSE_LLVM=1 -DINSTALL_DEV=1 $CUDA_ARGS ..
make -j20 VERBOSE=1
make install/fast
cd ..
......
......@@ -16,6 +16,7 @@ build:
requirements:
build:
- llvmdev ==4.0.0
- cmake
- python >=3
- numpy
- setuptools
......
{% set version = "0.1.dev" %}
package:
name: topi
version: {{ version }}
source:
path: ..
build:
number: 0
script: $PYTHON setup.py install
requirements:
build:
- cmake
- python >=3
- numpy
- setuptools
- nose
- decorator
run:
- python >=3
- numpy
- decorator
about:
home: https://github.com/dmlc/tvm
license: Apache2
summary: "TOPI: TVM Operator Inventory"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment