Skip to content

Commit 44691f0

Browse files
committed
win: libflang
1 parent 15d3120 commit 44691f0

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/conda-env/test-env.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies:
66
- conda-verify
77
- pip
88
# always build against NETLIB ('Generic') LAPACK/Blas
9+
# https://conda-forge.org/docs/maintainer/knowledge_base.html#blas
910
- libblas * *netlib
1011
- libcblas * *netlib
1112
- liblapack * *netlib

‎conda-recipe/meta.yaml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,35 @@ build:
1111

1212
requirements:
1313
build:
14-
- {{ compiler('fortran') }} # [not win]
14+
- {{ compiler('fortran') }} # [not win]
1515
- {{ compiler('c') }}
1616
- cmake
1717
- flang # [win]
1818

1919
host:
20-
# Always build against NETLIB ('Generic') LAPACK/Blas
20+
# Note: Always build against NETLIB ('Generic') LAPACK/Blas
21+
# (pin to "lib{lib} * *netlib" in your environment)
2122
# https://conda-forge.org/docs/maintainer/knowledge_base.html#blas
22-
- libblas * *netlib
23-
- libcblas * *netlib
24-
- liblapack * *netlib
23+
- libblas
24+
- libcblas
25+
- liblapack
2526
- python
2627
- numpy
2728
- scikit-build >=0.10.0
2829

2930
run:
3031
- python {{ PY_VER }}
3132
- {{ pin_compatible('numpy') }}
33+
- libflang # [win]
3234

3335
test:
3436
requires:
3537
- pytest
3638
- scipy
3739
imports:
38-
- slycot
40+
- slycot # [not win]
3941
commands:
40-
- python -c "import sys; print(sys.path); import os; print(os.listdir(sys.path[-1]))" # [win]
42+
- python -c "import sys; print(sys.path); import os; from pprint import pprint; pprint(os.listdir(ops.path.join(sys.path[-1], 'slycot')))" # [win]
4143
- pytest --pyargs slycot
4244

4345
about:

0 commit comments

Comments
 (0)