Skip to content

Commit 3eb0c70

Browse files
committed
fix env var
1 parent a5f3344 commit 3eb0c70

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

recipe/conda_build_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python:
2+
- 3.11

recipe/meta.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ build:
4444
# More info about selectors can be found in the conda-build docs:
4545
# https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#preprocessing-selectors
4646
script_env:
47-
- REST_EXT_DIR="${CONDA_PREFIX}/lib"
48-
- HDF5_DIR="${CONDA_PREFIX}"
47+
- REST_EXT_DIR="${BUILD_PREFIX}/lib"
48+
- HDF5_DIR="${BUILD_PREFIX}"
4949
script: |
5050
# mkdir ../rest_deps
5151
# mkdir ../rest_deps/lib
5252
# cp ${CONDA_PREFIX}/lib/*.so ../rest_deps/lib/
53+
echo ${REST_EXT_DIR}
5354
cargo build --release --verbose --no-default-features
5455
number: 0
5556

@@ -64,11 +65,12 @@ requirements:
6465
- hdf5
6566
- libcint
6667
- openblas
67-
- python
68+
- python {{ python }}
6869
- libxc-c
69-
- openmpi
70+
- openmpi 4
7071
- mokit
7172
- geometric
73+
- sysroot_linux-64 2.17 # or sysroot_linux-aarch64 for aarch64 builds
7274
# host:
7375
# #- python
7476
# #- pip

0 commit comments

Comments
 (0)