GeezerVison is showing github.com — merge recipes into one. Enable windows · python-control/Slycot@12aefb6
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +11-20Lines changed: 11 additions & 20 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -12,25 +12,27 @@ jobs: | 12 | 12 | strategy: | 13 | 13 | fail-fast: false | 14 | 14 | matrix: | 15 | | - #os: ["ubuntu-latest", "windows-latest", "macos-latest"] | 16 | | - os: [ 'ubuntu-latest', 'macos-latest' ] | | 15 | + os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] | 17 | 16 | python: [ '3.8', '3.9' ] | 18 | 17 | distribution: [ 'pip', 'conda' ] | 19 | 18 | bla_vendor: [ 'Generic', 'OpenBLAS' ] | | 19 | + exclude: | | 20 | + - os: 'windows-latest' | | 21 | + distribution: 'pip' | 20 | 22 | include: | 21 | | - - os: ubuntu-latest | | 23 | + - os: 'ubuntu-latest' | 22 | 24 | python: '3.6' | 23 | | - distribution: conda | | 25 | + distribution: 'conda' | 24 | 26 | bla_vendor: 'Generic' | 25 | | - - os: ubuntu-latest | | 27 | + - os: "ubuntu-latest" | 26 | 28 | python: '3.7' | 27 | | - distribution: conda | | 29 | + distribution: 'conda' | 28 | 30 | bla_vendor: 'Generic' | 29 | | - - os: "macos-latest" | | 31 | + - os: 'macos-latest' | 30 | 32 | python: '3.9' | 31 | 33 | distribution: conda | 32 | 34 | bla_vendor: "Apple" | 33 | | - - os: "macos-latest" | | 35 | + - os: 'macos-latest' | 34 | 36 | python: '3.9' | 35 | 37 | distribution: pip | 36 | 38 | bla_vendor: "Apple" | @@ -101,21 +103,10 @@ jobs: | 101 | 103 | if: matrix.distribution == 'conda' | 102 | 104 | run: | | 103 | 105 | set -xe | 104 | | - case ${{ matrix.bla_vendor }} in | 105 | | - Generic) conda_recipe=conda-recipe-generic ;; | 106 | | - OpenBLAS) conda_recipe=conda-recipe-openblas ;; | 107 | | - Intel10_64lp) conda_recipe=conda-recipe-mkl ;; | 108 | | - Apple) | 109 | | - conda_recipe=conda-recipe-apple | 110 | | - ;; | 111 | | - *) | 112 | | - echo "bla_vendor option ${{ matrix.bla_vendor }} not supported" | 113 | | - exit 1 ;; | 114 | | - esac | 115 | 106 | conda info -a | 116 | 107 | conda list | 117 | 108 | numpyversion=$(python -c 'import numpy; print(numpy.version.version)') | 118 | | - conda-build --python "${{ matrix.python }}" --numpy $numpyversion $conda_recipe | | 109 | + conda-build --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe | 119 | 110 | slycot_pkg=$(find $CONDA_PREFIX -name 'slycot*.tar.bz2') | 120 | 111 | conda install --use-local $slycot_pkg | 121 | 112 | - name: PIP build and install | |
Collapse file Copy file name to clipboardExpand all lines: conda-recipe-apple/meta.yaml -46Lines changed: 0 additions & 46 deletions Collapse file Copy file name to clipboardExpand all lines: conda-recipe-generic/build.sh -3Lines changed: 0 additions & 3 deletions Collapse file Copy file name to clipboardExpand all lines: conda-recipe-mkl/build.sh -10Lines changed: 0 additions & 10 deletions Collapse file Copy file name to clipboardExpand all lines: conda-recipe-mkl/meta.yaml -46Lines changed: 0 additions & 46 deletions Collapse file Copy file name to clipboardExpand all lines: conda-recipe-openblas/build.sh -11Lines changed: 0 additions & 11 deletions Collapse file Copy file name to clipboardExpand all lines: conda-recipe-openblas/meta.yaml -46Lines changed: 0 additions & 46 deletions Collapse file Copy file name to clipboard File renamed without changes. Collapse file Copy file name to clipboard +2-5Lines changed: 2 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -cd $RECIPE_DIR/.. | 2 | | - | 3 | 1 | # ensure we are not building with old cmake files | 4 | 2 | rm -rf _skbuild | 5 | 3 | rm -rf _cmake_test_compile | @@ -8,9 +6,8 @@ export LDFLAGS="$LDFLAGS -v" | 8 | 6 | if [[ "$target_platform" == osx-64 ]]; then | 9 | 7 | export LDFLAGS="${LDFLAGS} -isysroot ${CONDA_BUILD_SYSROOT}" | 10 | 8 | export CFLAGS="${CFLAGS} -isysroot ${CONDA_BUILD_SYSROOT}" | | 9 | + export CMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} | 11 | 10 | fi | 12 | 11 |
| 13 | 12 | $PYTHON setup.py build_ext install -- \ | 14 | | - -DNumPy_INCLUDE_DIR=${SP_DIR}/numpy/core/include \ | 15 | | - -DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} \ | 16 | | - -DBLA_VENDOR=Apple | | 13 | + -DNumPy_INCLUDE_DIR=${SP_DIR}/numpy/core/include |
Collapse file Copy file name to clipboardExpand all lines: conda-recipe/meta.yaml +12-8Lines changed: 12 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,26 +7,30 @@ source: | 7 | 7 |
| 8 | 8 | build: | 9 | 9 | number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} | 10 | | - string: py{{ environ.get('PY_VER').replace('.', '') }}{{ environ.get('GIT_DESCRIBE_HASH', '') }}_obl_{{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} | | 10 | + string: py{{ environ.get('PY_VER').replace('.', '') }}{{ environ.get('GIT_DESCRIBE_HASH', '') }}_{{ environ.get('BLA_VENDOR', "Generic") }}_{{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} | 11 | 11 |
| 12 | 12 | requirements: | 13 | | - # this recipe is intended to be in sync with the conda-forge feedstock at | 14 | | - # https://github.com/conda-forge/slycot-feedstock | 15 | 13 | build: | 16 | 14 | - {{ compiler('fortran') }} | 17 | 15 | - {{ compiler('c') }} | | 16 | + - cmake | | 17 | + - flang # [win] | | 18 | + | 18 | 19 | host: | 19 | | - - libblas | 20 | | - - libcblas | 21 | | - - liblapack | | 20 | + - libblas # [ {{ environ.get('BLA_VENDOR', ' Generic'} == ' Generic' ] | | 21 | + - libcblas # [ {{ environ.get('BLA_VENDOR', ' Generic'}} == ' Generic' ] | | 22 | + - liblapack # [ {{ environ.get('BLA_VENDOR', ' Generic'}} == ' Generic' ] | | 23 | + - libopenblas # [ {{ BLA_VENDOR }} == ' OpenBLAS' ] | | 24 | + - openblas # [ {{ BLA_VENDOR }} == ' OpenBLAS' ] | | 25 | + - mkl # [ {{ BLA_VENDOR }} == ' Intel10_64lp' ] | 22 | 26 | - python | 23 | 27 | - numpy | 24 | | - # conda-forge::scikit-build>=0.10.0 includes MACOSX_DEPLOYMENT_TARGET | 25 | | - # patches from https://github.com/scikit-build/scikit-build/pull/441 | 26 | 28 | - scikit-build >=0.10.0 | 27 | 29 | run: | 28 | 30 | - python {{ PY_VER }} | 29 | 31 | - {{ pin_compatible('numpy') }} | | 32 | + - libopenblas # [ {{ BLA_VENDOR }} == ' OpenBLAS' ] | | 33 | + - mkl # [ {{ BLA_VENDOR }} == ' Intel10_64lp' ] | 30 | 34 |
| 31 | 35 | test: | 32 | 36 | requires: | |
|