Skip to content

Commit

Permalink
openblas: Fix include path in generated .pc file
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar committed Mar 1, 2023
1 parent e3dc157 commit 3193ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/science/math/openblas/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ stdenv.mkDerivation rec {
FC = "${stdenv.cc.targetPrefix}gfortran";
CC = "${stdenv.cc.targetPrefix}${if stdenv.cc.isClang then "clang" else "cc"}";
PREFIX = placeholder "out";
OPENBLAS_INCLUDE_DIR = "${placeholder "dev"}/include";
NUM_THREADS = 64;
INTERFACE64 = blas64;
NO_STATIC = !enableStatic;
Expand Down Expand Up @@ -218,7 +219,7 @@ stdenv.mkDerivation rec {
Name: $alias
Version: ${version}
Description: $alias provided by the OpenBLAS package.
Cflags: -I$out/include
Cflags: -I$dev/include
Libs: -L$out/lib -lopenblas
EOF
done
Expand Down

0 comments on commit 3193ea6

Please sign in to comment.