# This file created by conda-build 3.22.0
# meta.yaml template originally from:
# /var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_e218kzo3bi/clone/recipe, last modified Tue Aug 30 07:28:31 2022
# ------------------------------------------------

package:
  name: torchvision
  version: 0.11.3
source:
  fn: torchvision-0.11.3.tar.gz
  patches:
    - patches/0001-avoid-hard-coded-gcc.patch
  sha256: b4c51d27589783e6e6941ecaa67b55f6f41633874ec37f80b64a0c92c3196e0c
  url: https://github.com/pytorch/vision/archive/v0.11.3.tar.gz
build:
  missing_dso_whitelist:
    - $RPATH/libc10.dylib
    - $RPATH/libc10.dylib
    - $RPATH/libtorch_cpu.dylib
  number: '0'
  script:
    - export NVCC_FLAGS="-ccbin ${CC}"
    - export FORCE_CUDA=0
    - LDFLAGS="${LDFLAGS//-Wl,-z,now/-Wl,-z,lazy}"
    - export TORCHVISION_INCLUDE="${PREFIX}/include"
    - /var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_e218kzo3bi/croots/recipe/torchvision_1661862519065/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python
      -m pip install . -vv
  string: cpu_py38h15370ac_0
requirements:
  build:
    - cctools_osx-arm64 949.0.1 h332cad3_24
    - clang 12.0.0 hca03da5_4
    - clang-12 12.0.0 default_he099f3d_4
    - clang_osx-arm64 12.0.0 hcb56dc5_3
    - clangxx 12.0.0 default_he099f3d_4
    - clangxx_osx-arm64 12.0.0 h39b79ac_3
    - compiler-rt 12.0.0 h4ccfd99_3
    - compiler-rt_osx-arm64 12.0.0 h4fb70ea_3
    - jpeg 9e h1a28f6b_0
    - ld64_osx-arm64 530 h001ce53_24
    - ldid 2.1.2 h64d1936_2
    - libclang-cpp12 12.0.0 default_he099f3d_4
    - libcxx 12.0.0 hf6beb65_1
    - libllvm12 12.0.0 h12f7ac0_4
    - libpng 1.6.37 hb8d0fd4_0
    - llvm-tools 12.0.0 h12f7ac0_4
    - patch 2.7.6 h1a28f6b_1001
    - tapi 1100.0.11 ha21211d_0
    - zlib 1.2.12 h5a0b063_2
  host:
    - blas 1.0 openblas
    - ca-certificates 2022.07.19 hca03da5_0
    - certifi 2022.6.15 py38hca03da5_0
    - cffi 1.15.1 py38h22df2f2_0
    - freetype 2.11.0 h1192e45_0
    - future 0.18.2 py38hca03da5_1
    - giflib 5.2.1 h1a28f6b_0
    - jpeg 9e h1a28f6b_0
    - lcms2 2.12 hba8e193_0
    - lerc 3.0 hc377ac9_0
    - libcxx 12.0.0 hf6beb65_1
    - libdeflate 1.8 h1a28f6b_5
    - libffi 3.4.2 hc377ac9_4
    - libgfortran 5.0.0 11_2_0_he6877d6_26
    - libgfortran5 11.2.0 he6877d6_26
    - libopenblas 0.3.20 hea475bc_0
    - libpng 1.6.37 hb8d0fd4_0
    - libtiff 4.4.0 had003b8_0
    - libwebp 1.2.2 h68602c7_0
    - libwebp-base 1.2.2 h1a28f6b_0
    - llvm-openmp 12.0.0 haf9daa7_1
    - lz4-c 1.9.3 hc377ac9_0
    - ncurses 6.3 h1a28f6b_3
    - ninja 1.10.2 hca03da5_5
    - ninja-base 1.10.2 h525c30c_5
    - numpy 1.23.1 py38h42add53_0
    - numpy-base 1.23.1 py38hadd41eb_0
    - openssl 1.1.1q h1a28f6b_0
    - pillow 9.2.0 py38h4d1bdd5_1
    - pip 22.1.2 py38hca03da5_0
    - pycparser 2.21 pyhd3eb1b0_0
    - python 3.8.13 hbdb9e5c_0
    - pytorch 1.10.2 cpu_py38h23cb94c_0
    - readline 8.1.2 h1a28f6b_1
    - setuptools 63.4.1 py38hca03da5_0
    - sqlite 3.39.2 h1058600_0
    - tk 8.6.12 hb8d0fd4_0
    - typing-extensions 4.3.0 py38hca03da5_0
    - typing_extensions 4.3.0 py38hca03da5_0
    - wheel 0.37.1 pyhd3eb1b0_0
    - xz 5.2.5 h1a28f6b_1
    - zlib 1.2.12 h5a0b063_2
    - zstd 1.5.2 h8574219_0
  run:
    - jpeg >=9e,<10a
    - libcxx >=12.0.0
    - libpng >=1.6.37,<1.7.0a0
    - numpy >=1.23.1,<2.0a0
    - pillow >=5.3.0,!=8.3.*
    - python >=3.8,<3.9.0a0
    - pytorch ==1.10.2
    - setuptools
test:
  commands:
    - python -m pip check || true
    - rm -f test/test_models.py
    - pytest --verbose -k "not (test_url_is_accessible or test_classes or test_feature_types
      or test_feature_types or test_is_valid_file or test_num_examples or test_smoke
      or test_str_smoke or test_transforms or test_adjust_gamma or test_forward_backward
      or test_jit_forward_backward)" test/
  imports:
    - torchvision
    - torchvision.datasets
    - torchvision.models
    - torchvision.transforms
    - torchvision.utils
  requires:
    - pip
    - pytest
    - pytest-mock
    - requests
    - scipy
    - setuptools
  source_files:
    - test
about:
  dev_url: https://github.com/pytorch/vision
  doc_url: https://pytorch.org/docs/stable/index.html
  home: https://pytorch.org/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Image and video datasets and models for torch deep learning
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: e2d53a11-24f1-4f04-8d8a-5747963a5a35
  recipe-maintainers:
    - jjhelmus
    - katietz
    - nehaljwani
  remote_url: git@github.com:AnacondaRecipes/torchvision-feedstock.git
  sha: 58639c66380aac20d0aaeebc69c9eb408c85fe37
