Skip to content

Commit

Permalink
Merge branch 'update-1.9.1-downloads' of github.com:AnacondaRecipes/m…
Browse files Browse the repository at this point in the history
…xnet-feedstock into update-1.9.1-downloads
  • Loading branch information
marcoesters committed Oct 21, 2022
2 parents b94509f + 5427b83 commit bc02cb7
Showing 1 changed file with 27 additions and 20 deletions.
47 changes: 27 additions & 20 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
{% set nvidia_cub_git_hash = "0158fa19f28619886232defd412433974af89611" %}
{% set nvidia_cub_sha_hash = "43424c4c17a997d1d730c89ec14688671245de7941e02b388d7d3df6ea53777a" %}

# This are future/2.x variables.
#{% set onednn_git_hash = "58be3660fb57c4c4a3d306730e849237d1271572" %}
#{% set onednn_sha_hash = "0d170c30ea0a35fbe48008e0e7e729d0993720c14f320ce8e73a891ae176eec4" %}

Expand All @@ -42,7 +43,6 @@ source:
- patches/0001-cpp-std-14.patch
- patches/0001-make-graphviz-optional.patch
- patches/0002-conda-unbundle-libmxnet-DSO.patch
# - patches/0002-cpu-fix.patch

- url: https://github.com/dmlc/dlpack/archive/{{ dlpack_git_hash }}.tar.gz
fn: dlpack_{{ dlpack_git_hash }}.tar.gz
Expand All @@ -60,8 +60,6 @@ source:
fn: googletest_{{ googletest_git_hash }}.tar.gz
sha256: {{ googletest_sha_hash }}
folder: 3rdparty/googletest
# patches:
# - patches/0031-cpp-std-14.patch

- url: https://github.com/kpu/intgemm/archive/{{ intgemm_git_hash }}.tar.gz
fn: intgemm_{{ intgemm_git_hash }}.tar.gz
Expand All @@ -74,13 +72,12 @@ source:
fn: nvidia_cub_{{ nvidia_cub_git_hash }}.tar.gz
sha256: {{ nvidia_cub_sha_hash }}
folder: 3rdparty/nvidia_cub
# patches:
# - patches/0051-cpp-std-14.patch

# - url: https://github.com/oneapi-src/oneDNN/archive/{{ onednn_git_hash }}.tar.gz
# fn: onednn_{{ onednn_git_hash }}.tar.gz
# sha256: {{ onednn_sha_hash }}
# folder: 3rdparty/onednn
# This will be useful for 2.x builds
# - url: https://github.com/oneapi-src/oneDNN/archive/{{ onednn_git_hash }}.tar.gz
# fn: onednn_{{ onednn_git_hash }}.tar.gz
# sha256: {{ onednn_sha_hash }}
# folder: 3rdparty/onednn

- url: https://github.com/onnx/onnx-tensorrt/archive/{{ onnxtensorrt_git_hash }}.tar.gz
fn: onnx-tensorrt_{{ onnxtensorrt_git_hash }}.tar.gz
Expand All @@ -91,15 +88,11 @@ source:
fn: ps-lite_{{ pslite_git_hash }}.tar.gz
sha256: {{ pslite_sha_hash }}
folder: 3rdparty/ps-lite
# patches:
# - patches/0081-cpp-std-14.patch

- url: https://github.com/apache/incubator-tvm/archive/{{ tvm_git_hash }}.tar.gz
fn: tvm_{{ tvm_git_hash }}.tar.gz
sha256: {{ tvm_sha_hash }}
folder: 3rdparty/tvm
# patches:
# - patches/0091-cpp-std-14.patch


# Right now there is no valid win-64 configuration (no mkl). So skip it. We are mxnet_blas_impl as a workaround for conda.
Expand All @@ -124,8 +117,10 @@ outputs:
number: {{ build_number }}

about:
home: https://mxnet.apache.org
summary: Mutex package to pin a variant of MXNet Conda package

dev_url: https://github.com/apache/incubator-mxnet
doc_url: https://mxnet.incubator.apache.org/

- name: libmxnet
version: {{ mxnet_version }}
Expand All @@ -136,9 +131,10 @@ outputs:
string: {{ mxnet_variant_str }}_h{{PKG_HASH}}_{{ build_number }}
number: {{ build_number }}
skip: True # [win and vc<14]
missing_dso_whitelist: # [linux]
missing_dso_whitelist: # [linux or osx]
- libcuda.so.1 # [linux]
- '$RPATH/ld64.so.1' # [s390x] This is missing from the activation script.
- '$RPATH/ld64.so.1' # [linux]
- '*/libmxnet.dylib' # [osx]

requirements:
build:
Expand Down Expand Up @@ -213,7 +209,7 @@ outputs:
- cython
- python
# Numpy's C API is not used
- numpy >1.16.0,<=2.0.0
- numpy
- requests >=2.20.0,<3
- setuptools
run:
Expand Down Expand Up @@ -250,6 +246,8 @@ outputs:

- name: mxnet
version: {{ mxnet_version }}
script: build-nothing.bat # [win]
script: build-nothing.sh # [not win]

build:
number: {{ build_number }}
Expand All @@ -260,11 +258,15 @@ outputs:
- {{ pin_subpackage('py-mxnet', exact=True) }}

about:
home: https://mxnet.apache.org
summary: MXNet metapackage for installing lib,py-MXNet Conda packages

dev_url: https://github.com/apache/incubator-mxnet
doc_url: https://mxnet.incubator.apache.org/

- name: mxnet-{{ mxnet_variant_str }}
version: {{ mxnet_version }}
script: build-nothing.bat # [win]
script: build-nothing.sh # [not win]

#build:
#number: {{ build_number }}
Expand All @@ -275,11 +277,15 @@ outputs:
- {{ pin_subpackage('_mutex_mxnet', exact=True) }}

about:
home: https://mxnet.apache.org
summary: MXNet metapackage which pins a variant of MXNet Conda package

dev_url: https://github.com/apache/incubator-mxnet
doc_url: https://mxnet.incubator.apache.org/

- name: mxnet-gpu
version: {{ mxnet_version }}
script: build-nothing.bat # [win]
script: build-nothing.sh # [not win]

build:
#number: {{ build_number }}
Expand All @@ -294,7 +300,8 @@ outputs:
about:
home: https://mxnet.apache.org
summary: MXNet metapackage which pins a variant of MXNet(GPU) Conda package

dev_url: https://github.com/apache/incubator-mxnet
doc_url: https://mxnet.incubator.apache.org/

extra:
recipe-maintainers:
Expand Down

0 comments on commit bc02cb7

Please sign in to comment.