Skip to content

Commit

Permalink
nix: fix macos openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Dec 10, 2024
1 parent 240c3d4 commit 913745e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
cmake,
crocoddyl,
ipopt,
llvmPackages,
pkg-config,
python3Packages,
pythonSupport ? false,
Expand All @@ -29,6 +30,8 @@ stdenv.mkDerivation {
pkg-config
] ++ lib.optional pythonSupport python3Packages.pythonImportsCheckHook;

buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;

propagatedBuildInputs =
[ ipopt ]
++ lib.optional pythonSupport python3Packages.crocoddyl
Expand Down

0 comments on commit 913745e

Please sign in to comment.