mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
hpipm: use blasfeo CMake export
This commit is contained in:
parent
1e2778fdb0
commit
0f74c47896
|
@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBLASFEO_PATH=${blasfeo}"
|
"-DHPIPM_FIND_BLASFEO=ON"
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
] ++ lib.optionals (!stdenv.isx86_64) [ "-DTARGET=GENERIC" ];
|
] ++ lib.optionals (!stdenv.isx86_64) [ "-DTARGET=GENERIC" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue