Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion conda-recipe-openblas/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ RD /S /Q _skbuild
set BLAS_ROOT=%PREFIX%
set LAPACK_ROOT=%PREFIX%
set NUMPY_INCLUDE=%PREFIX%\Include
set F2PY=%PREFIX%\Scripts\f2py.exe
:: Prefer f2py.exe, if it exists; this is provided by numpy 1.16 (and, we assume, later)
if EXIST "%PREFIX%\Scripts\f2py.exe" (
set F2PY=%PREFIX%\Scripts\f2py.exe
) ELSE (
:: Otherwise use f2py.bat, which is provided by numpy 1.15 and earlier
set F2PY=%PREFIX%\Scripts\f2py.bat
)

"%PYTHON%" setup.py install

Expand Down
6 changes: 3 additions & 3 deletions conda-recipe-openblas/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
requirements:
build:
- python {{ PY_VER }}
- numpy >=1.16
- numpy
- openblas >=0.3.0
- {{ compiler('c') }} # [not osx]
- gcc # [osx]
Expand All @@ -22,7 +22,7 @@ requirements:
host:
- python {{ PY_VER }}
- flang # [win]
- numpy >=1.16
- numpy
- openblas >=0.3.0
- libgfortran-ng # [not-win]
- libgcc-ng # [linux]
Expand All @@ -33,7 +33,7 @@ requirements:

run:
- python {{ PY_VER }}
- numpy >=1.16
- {{ pin_compatible('numpy') }}
Copy link
Contributor

@moorepants moorepants Apr 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking more closely I see these recipes are not for conda-forge builds, so I don't think the pin_compatible will do anything here. I think that is specific to conda-forge. Maybe you just want to pin to numpy 1.11.* in the build section for these custom conda build scripts.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- openblas >=0.3.0
- libgfortran-ng # [not win]
- libgcc-ng # [linux]
Expand Down
8 changes: 7 additions & 1 deletion conda-recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ RD /S /Q _skbuild
set BLAS_ROOT=%PREFIX%
set LAPACK_ROOT=%PREFIX%
set NUMPY_INCLUDE=%PREFIX%\Include
set F2PY=%PREFIX%\Scripts\f2py.exe
:: Prefer f2py.exe, if it exists; this is provided by numpy 1.16 (and, we assume, later)
if EXIST "%PREFIX%\Scripts\f2py.exe" (
set F2PY=%PREFIX%\Scripts\f2py.exe
) ELSE (
:: Otherwise use f2py.bat, which is provided by numpy 1.15 and earlier
set F2PY=%PREFIX%\Scripts\f2py.bat
)

"%PYTHON%" setup.py install

Expand Down
6 changes: 3 additions & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ requirements:
# conda-forge might have the configuration in place for clang build and link?
build:
- python {{PY_VER}}
- numpy >=1.16
- numpy
- {{ compiler('c') }} # [not osx]
- gcc # [osx]
- {{ compiler('fortran') }} # [linux]
Expand All @@ -25,7 +25,7 @@ requirements:
host:
- python {{ PY_VER }}
- flang # [win]
- numpy >=1.16
- numpy
- mkl
- libgfortran-ng # [not win]
- libgcc-ng # [linux]
Expand All @@ -37,7 +37,7 @@ requirements:

run:
- python {{ PY_VER }}
- numpy >=1.16
- {{ pin_compatible('numpy') }}
- mkl
- libgfortran-ng # [not win]
- libgcc-ng # [linux]
Expand Down