Merge pull request #148073 from risicle/ris-libxc-darwin
libxc: fix darwin build
This commit is contained in:
commit
e04e9a466b
1 changed files with 2 additions and 4 deletions
|
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_FORTRAN=ON"
|
"-DENABLE_FORTRAN=ON"
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
# needed for tests to link
|
||||||
|
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
||||||
# Force compilation of higher derivatives
|
# Force compilation of higher derivatives
|
||||||
"-DDISABLE_VXC=0"
|
"-DDISABLE_VXC=0"
|
||||||
"-DDISABLE_FXC=0"
|
"-DDISABLE_FXC=0"
|
||||||
|
@ -27,10 +29,6 @@ stdenv.mkDerivation rec {
|
||||||
"-DDISABLE_LXC=0"
|
"-DDISABLE_LXC=0"
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
export LD_LIBRARY_PATH=$(pwd)
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue