ispc: patch w/upstream commit to fix w/llvm 6
This commit is contained in:
parent
39eca29cc0
commit
72b897ba75
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchFromGitHub, bash, which, m4, python, bison, flex, llvmPackages,
|
{stdenv, fetchFromGitHub, fetchpatch, bash, which, m4, python, bison, flex, llvmPackages,
|
||||||
testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
|
testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -32,6 +32,13 @@ stdenv.mkDerivation rec {
|
||||||
llvmPackages.clang-unwrapped # we need to link against libclang, so we need the unwrapped
|
llvmPackages.clang-unwrapped # we need to link against libclang, so we need the unwrapped
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = https://github.com/ispc/ispc/commit/d504641f5af9d5992e7c8f0ed42c1063a39ede5b.patch;
|
||||||
|
sha256 = "192q3gyvam79469bmlwf0jpfi2y4f8hl2vgcvjngsqhvscwira0s";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
|
postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
|
||||||
|
|
||||||
# TODO: this correctly catches errors early, but also some things that are just weird and don't seem to be real
|
# TODO: this correctly catches errors early, but also some things that are just weird and don't seem to be real
|
||||||
|
|
Loading…
Reference in a new issue