Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
update abseil to cmake version + modules
Browse files Browse the repository at this point in the history
  • Loading branch information
adevress committed Oct 11, 2017
1 parent 7c97dfb commit 1f76f55
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
18 changes: 16 additions & 2 deletions bbp/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,20 @@ let
};


abseil = pkgs.envModuleGen rec {
name = "abseil";
isLibrary = true;
setRoot = "ABSEIL";
description = "abseil module generated by nix";
packages = [
pkgs.abseil-cpp pkgs.cctz
];
conflicts = conflicts-modules;
};




openssl = pkgs.envModuleGen rec {
name = "openssl";
version = "1.0.0";
Expand Down Expand Up @@ -1959,9 +1973,9 @@ let
paths =
[
boost hdf5 libxml2 zlib phdf5 hdf5-cpp adios assimp libjpeg-turbo
openblas openblas64ABI openssl petsc folly scorec hwloc
openblas openblas64ABI openssl petsc scorec hwloc
bison flex swig gcc gsl freetype gmp libpng hadoken libspatialindex
sdl2 autotools
sdl2 autotools folly abseil

cmake vtk itk readline ncurses
python27-light python27-full manylinux1-python
Expand Down
4 changes: 2 additions & 2 deletions patches/abseil-cpp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "adevress";
repo = "abseil-cpp";
rev = "827226585158822f6d20d6899a55ae6f216b80f7";
sha256 = "0jkn4g5k80nb1mc3fs64jjyyxx9x7l1z82qw6k274qjj15yy0shf";
rev = "977ccb392aa25f026afeed3e12e43a90768e7392";
sha256 = "0b5iyjxmc5j9q9dwvxam9d6n509cd39z9fzk82z8kjkp2ay7khg4";
};

buildInputs = [
Expand Down
2 changes: 2 additions & 0 deletions patches/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ let

abseil-cpp = callPackage ./abseil-cpp {
cctz = patches-pkgs.cctz;
gtest = gtest1_8;
gmock = gtest1_8;
};
};

Expand Down

0 comments on commit 1f76f55

Please sign in to comment.