forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conda package builds (apache#1445)
- Loading branch information
1 parent
d39dfd0
commit a04142f
Showing
18 changed files
with
208 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
python: | ||
- 3.5 | ||
- 3.6 | ||
- 3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd nnvm/python | ||
$PYTHON setup.py install --single-version-externally-managed --record=/tmp/record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% set version = "0.4.dev" %} | ||
|
||
package: | ||
name: nnvm | ||
version: {{ version }} | ||
|
||
source: | ||
path: ../.. | ||
|
||
build: | ||
number: 0 | ||
skip: True # [win] | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('cxx') }} | ||
host: | ||
- python {{ python }} | ||
- cython | ||
- numpy | ||
- setuptools | ||
- decorator | ||
- tvm-libs =={{ version }} | ||
run: | ||
- tvm =={{ version }} | ||
- topi =={{ version }} | ||
- tvm-libs =={{ version }} | ||
- python | ||
- {{ pin_compatible('numpy') }} | ||
- decorator | ||
|
||
test: | ||
imports: | ||
- nnvm | ||
|
||
about: | ||
home: https://github.com/dmlc/nnvm | ||
license: Apache2 | ||
summary: Bring deep learning to bare metal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd topi/python | ||
$PYTHON setup.py install --single-version-externally-managed --record=/tmp/record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ -z "$PREFIX" ]; then | ||
PREFIX="$CONDA_PREFIX" | ||
fi | ||
|
||
rm -rf build || true | ||
mkdir -p build | ||
cd build | ||
cmake -DUSE_LLVM=ON -DINSTALL_DEV=ON -DCMAKE_INSTALL_PREFIX="$PREFIX" .. | ||
make -j2 VERBOSE=1 | ||
make install | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% set version = "0.4.dev" %} | ||
|
||
package: | ||
name: tvm-libs | ||
version: {{ version }} | ||
|
||
source: | ||
path: ../.. | ||
|
||
build: | ||
number: 0 | ||
|
||
requirements: | ||
host: | ||
# The OS X build will require some manual setup or it will break | ||
# See https://conda.io/docs/user-guide/tasks/build-packages/compiler-tools.html#macos-sdk | ||
- {{ compiler('cxx') }} | ||
build: | ||
- llvmdev ==6.0.0 | ||
- cmake | ||
|
||
about: | ||
home: https://github.com/dmlc/tvm | ||
license: Apache2 | ||
summary: a low level domain specific language for compiling tensor computation pipelines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd python | ||
$PYTHON setup.py install --single-version-externally-managed --record=/tmp/record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.