Skip to content

Commit 38c2f56

Browse files
committed
Remove the flang >= 11 pinning on windows, pin same as conda-forge
Aks for netlib devel headers explicitly
1 parent 9485d94 commit 38c2f56

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- 'ubuntu'
5858
- 'macos'
5959
python:
60-
- '3.8'
60+
- '3.10'
6161
- '3.11'
6262
bla_vendor: [ 'unset' ]
6363
include:

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: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ requirements:
1515
- {{ compiler('c') }}
1616
- cmake >=3.14
1717
- make # [linux]
18-
- flang >=11 # [win]
18+
# Always build against NETLIB ('Generic') LAPACK/Blas
19+
- blas-devel * *netlib
20+
# https://github.com/conda-forge/blas-feedstock/issues/106, conda-forge pins it themselves
21+
- flang >=5.0.0,<6.0.0.a0 # [win]
1922

2023
host:
2124
# Always build against NETLIB ('Generic') LAPACK/Blas
2225
# 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
26+
# deviating from above link: we have to pin ourselves, because we do not have the conda-forge build setups
2627
- libblas * *netlib
2728
- libcblas * *netlib
2829
- liblapack * *netlib
@@ -36,7 +37,8 @@ requirements:
3637
run:
3738
- python {{ PY_VER }}
3839
- {{ pin_compatible('numpy') }}
39-
- libflang # [win]
40+
# see above
41+
- libflang >=5.0.0,<6.0.0.a0 # [win]
4042

4143
test:
4244
requires:

0 commit comments

Comments
 (0)