Commit 4ba563e0 authored by Bas Nijholt's avatar Bas Nijholt

reintroduce using sed for build.conf

parent 272ae1d0
......@@ -23,10 +23,15 @@ pip install git+https://gitlab.kwant-project.org/kwant/tinyarray.git
## create `build.conf` file with
```
[mumps]
include_dirs = ~/.conda/envs/stable/include
library_dirs = ~/.conda/envs/stable/lib
include_dirs = PREFIX/include
library_dirs = PREFIX/lib
libraries = zmumps mumps_common pord metis esmumps scotch scotcherr mpiseq gfortran openblas
extra_link_args = -Wl,-rpath=~/.conda/envs/stable/lib
extra_link_args = -Wl,-rpath=PREFIX/lib
```
and run
```
sed -i -e "s:PREFIX:$CONDA_PREFIX:g" build.conf
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment