Skip to content

Commit 36192b3

Browse files
committed
Remove the flang >= 11 pinning on windows, pin same as conda-forge
1 parent 9485d94 commit 36192b3

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.github/conda-env/build-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: build-env
22
dependencies:
3-
- boa
3+
- conda-build
44
- numpy !=1.23.0

.github/scripts/set-conda-test-matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
combinations = {'ubuntu': blas_implementations,
1616
'macos': blas_implementations,
17-
'windows': ['unset', 'Intel10_64lp'],
17+
'windows': ['unset', 'Intel10_64lp', 'OpenBLAS'],
1818
}
1919

2020
conda_jobs = []

.github/workflows/slycot-build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
- 'ubuntu'
5858
- 'macos'
5959
python:
60-
- '3.8'
61-
- '3.11'
60+
- '3.10'
61+
- '3.12'
6262
bla_vendor: [ 'unset' ]
6363
include:
6464
- os: 'ubuntu'
@@ -168,7 +168,7 @@ jobs:
168168
run: |
169169
set -e
170170
numpyversion=$(python -c 'import numpy; print(numpy.version.version)')
171-
conda mambabuild --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe
171+
conda build --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe
172172
# preserve directory structure for custom conda channel
173173
find "${CONDA_PREFIX}/conda-bld" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
174174
conda_platform=$(basename $(dirname "${conda_pkg}"))

conda-recipe/bld.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
set FC=%BUILD_PREFIX%\Library\bin\flang.exe
12
set BLAS_ROOT=%PREFIX%
23
set LAPACK_ROOT=%PREFIX%
34

conda-recipe/meta.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ requirements:
1515
- {{ compiler('c') }}
1616
- cmake >=3.14
1717
- make # [linux]
18-
- flang >=11 # [win]
18+
# https://github.com/conda-forge/blas-feedstock/issues/106, conda-forge pins it themselves
19+
- flang >=5.0.0,<6.0.0.a0 # [win]
1920

2021
host:
2122
# Always build against NETLIB ('Generic') LAPACK/Blas
2223
# https://conda-forge.org/docs/maintainer/knowledge_base.html#blas
23-
# deviating from above link: we have to specifiy netlib variant, because
24-
# the mkl variant selected by default for older pythons on windows
25-
# does not provide the generic headers
24+
# deviating from above link: we have to pin ourselves, because we do not have the conda-forge build setups
2625
- libblas * *netlib
2726
- libcblas * *netlib
2827
- liblapack * *netlib
@@ -36,7 +35,8 @@ requirements:
3635
run:
3736
- python {{ PY_VER }}
3837
- {{ pin_compatible('numpy') }}
39-
- libflang # [win]
38+
# see above
39+
- libflang >=5.0.0,<6.0.0.a0 # [win]
4040

4141
test:
4242
requires:

0 commit comments

Comments
 (0)