irods: build with current version of llvm
This commit is contained in:
parent
bd85a832c1
commit
3a7a990ee9
@ -30,6 +30,12 @@ in rec {
|
|||||||
# but we don't use /usr with nix, so remove only 2 items.
|
# but we don't use /usr with nix, so remove only 2 items.
|
||||||
patches = [ ./irods_root_path.patch ];
|
patches = [ ./irods_root_path.patch ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
# fix build with recent llvm versions
|
||||||
|
"-Wno-deprecated-register"
|
||||||
|
"-Wno-deprecated-declarations"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = common.preConfigure + ''
|
preConfigure = common.preConfigure + ''
|
||||||
patchShebangs ./test
|
patchShebangs ./test
|
||||||
substituteInPlace plugins/database/CMakeLists.txt --replace "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"
|
substituteInPlace plugins/database/CMakeLists.txt --replace "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"
|
||||||
|
@ -3902,8 +3902,8 @@ in
|
|||||||
idevicerestore = callPackage ../tools/misc/idevicerestore { };
|
idevicerestore = callPackage ../tools/misc/idevicerestore { };
|
||||||
|
|
||||||
inherit (callPackages ../tools/filesystems/irods rec {
|
inherit (callPackages ../tools/filesystems/irods rec {
|
||||||
stdenv = llvmPackages_38.libcxxStdenv;
|
stdenv = llvmPackages.libcxxStdenv;
|
||||||
libcxx = llvmPackages_38.libcxx;
|
libcxx = llvmPackages.libcxx;
|
||||||
boost = boost160.override { inherit stdenv; };
|
boost = boost160.override { inherit stdenv; };
|
||||||
avro-cpp_llvm = avro-cpp.override { inherit stdenv boost; };
|
avro-cpp_llvm = avro-cpp.override { inherit stdenv boost; };
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user