adolc: fix clang build

This commit is contained in:
Austin Horstman
2024-11-08 17:54:57 -06:00
parent 5186ad13f4
commit b2f43234a2

View File

@@ -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";