diff options
author | Bruno Bzeznik <Bruno.Bzeznik@imag.fr> | 2022-03-08 14:50:34 +0100 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-04-29 10:38:40 -0500 |
commit | 5661ca1a2d4b35aa02fb734d2379b09776792142 (patch) | |
tree | 0d8270f8e905ab160c85092657d516038263682b | |
parent | d2f5044e96ca1692a0eeadcf9dd2733cce1bd42e (diff) |
adolc: init at 2.7.2
-rw-r--r-- | pkgs/applications/science/math/adolc/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/adolc/default.nix b/pkgs/applications/science/math/adolc/default.nix new file mode 100644 index 0000000000000..636c3ea177a03 --- /dev/null +++ b/pkgs/applications/science/math/adolc/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "adolc"; + version = "2.7.2"; + + src = fetchFromGitHub { + owner = "coin-or"; + repo = "ADOL-C"; + sha256 = "1w0x0p32r1amfmh2lyx33j4cb5bpkwjr5z0ll43zi5wf5gsvckd1"; + rev = "releases/${version}"; + }; + + configureFlags = [ "--with-openmp-flag=-fopenmp" ]; + + meta = with lib; { + description = "Automatic Differentiation of C/C++"; + homepage = "https://github.com/coin-or/ADOL-C"; + maintainers = [ maintainers.bzizou ]; + license = licenses.gpl2Plus; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8692e2c1bcfa5..3cdeed293574a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32780,6 +32780,8 @@ with pkgs; almonds = callPackage ../applications/science/math/almonds { }; + adolc = callPackage ../applications/science/math/adolc { }; + amd-blis = callPackage ../development/libraries/science/math/amd-blis { }; amd-libflame = callPackage ../development/libraries/science/math/amd-libflame { }; |