libxc: force 3rd and 4th derivatives compilation
libxc: formatting libxc: platforms
This commit is contained in:
parent
dd7f587346
commit
2a9baed906
2 changed files with 11 additions and 3 deletions
|
@ -17,7 +17,15 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs ./
|
patchShebangs ./
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [ "-DENABLE_FORTRAN=ON" "-DBUILD_SHARED_LIBS=ON" ];
|
cmakeFlags = [
|
||||||
|
"-DENABLE_FORTRAN=ON"
|
||||||
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
# Force compilation of higher derivatives
|
||||||
|
"-DDISABLE_VXC=0"
|
||||||
|
"-DDISABLE_FXC=0"
|
||||||
|
"-DDISABLE_KXC=0"
|
||||||
|
"-DDISABLE_LXC=0"
|
||||||
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export LD_LIBRARY_PATH=$(pwd)
|
export LD_LIBRARY_PATH=$(pwd)
|
||||||
|
@ -29,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "Library of exchange-correlation functionals for density-functional theory";
|
description = "Library of exchange-correlation functionals for density-functional theory";
|
||||||
homepage = "https://www.tddft.org/programs/Libxc/";
|
homepage = "https://www.tddft.org/programs/Libxc/";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ markuskowa ];
|
maintainers = with maintainers; [ markuskowa ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "dftlibs";
|
owner = "dftlibs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256= "1bj70cnhbh6ziy02x988wwl7cbwaq17ld7qwhswqkgnnx8rpgxid";
|
sha256 = "1bj70cnhbh6ziy02x988wwl7cbwaq17ld7qwhswqkgnnx8rpgxid";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue