mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 17:12:27 +00:00
adolc: fix clang build
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
llvmPackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -17,6 +18,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
configureFlags = [ "--with-openmp-flag=-fopenmp" ];
|
||||
|
||||
buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automatic Differentiation of C/C++";
|
||||
homepage = "https://github.com/coin-or/ADOL-C";
|
||||
|
||||
Reference in New Issue
Block a user