3
0
Fork 0
forked from mirrors/nixpkgs

ispc: use newer version and LLVM 4.0 due to bug in clang++ 3.9 wrapper (see #29204)

This commit is contained in:
Aristid Breitkreuz 2017-09-10 15:43:46 +02:00
parent 6e1eedd64e
commit 3dea197273
2 changed files with 7 additions and 8 deletions

View file

@ -2,11 +2,9 @@
testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
}:
# TODO: patch LLVM so Skylake-EX works better (patch included in ispc github) - needed for LLVM 3.9?
stdenv.mkDerivation rec {
version = "1.9.1";
rev = "v${version}";
version = "20170807";
rev = "6e0fc2f148e95afad998a7c7f4d7908d29fd8e44";
inherit testedTargets;
@ -16,7 +14,7 @@ stdenv.mkDerivation rec {
owner = "ispc";
repo = "ispc";
inherit rev;
sha256 = "1wwsyvn44hd5iyi5779l5378x096307slpyl29wrsmfp66796693";
sha256 = "17fwnfm8a329lgfhjwcvji4h1fm4iqmc28wz23hvgqbpj8lk6qgh";
};
# there are missing dependencies in the Makefile, causing sporadic build failures
@ -60,8 +58,8 @@ stdenv.mkDerivation rec {
'';
makeFlags = [
"CXX=${llvmPackages.clang}/bin/clang++"
"CLANG=${llvmPackages.clang}/bin/clang"
"CXX=${stdenv.cc}/bin/clang++"
"CLANG=${stdenv.cc}/bin/clang"
"CLANG_INCLUDE=${llvmPackages.clang-unwrapped}/include"
];

View file

@ -8523,7 +8523,8 @@ with pkgs;
isocodes = callPackage ../development/libraries/iso-codes { };
ispc = callPackage ../development/compilers/ispc {
llvmPackages = llvmPackages_39;
llvmPackages = llvmPackages_4;
stdenv = llvmPackages_4.stdenv;
};
itk = callPackage ../development/libraries/itk { };