Build clang with a new LLVM
Older LLVM 11 version produces a broken compiler, see: https://pm.bsc.es/gitlab/llvm-ompss/llvm-mono/-/issues/183
This commit is contained in:
parent
1d788aeff2
commit
46a3465e78
@ -83,8 +83,8 @@ let
|
|||||||
gcc = appendPasstru self.gcc { CC = "gcc"; CXX = "g++"; };
|
gcc = appendPasstru self.gcc { CC = "gcc"; CXX = "g++"; };
|
||||||
|
|
||||||
# Last llvm release by default
|
# Last llvm release by default
|
||||||
llvmPackages = self.llvmPackages_11 // {
|
llvmPackages = self.llvmPackages_latest // {
|
||||||
clang = appendPasstru self.llvmPackages_11.clang {
|
clang = appendPasstru self.llvmPackages_latest.clang {
|
||||||
CC = "clang"; CXX = "clang++";
|
CC = "clang"; CXX = "clang++";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -105,12 +105,13 @@ let
|
|||||||
|
|
||||||
clangOmpss2 = appendPasstru (
|
clangOmpss2 = appendPasstru (
|
||||||
callPackage ./bsc/llvm-ompss2/default.nix {
|
callPackage ./bsc/llvm-ompss2/default.nix {
|
||||||
llvmPackages = self.llvmPackages_latest;
|
llvmPackages = bsc.llvmPackages;
|
||||||
clangOmpss2Unwrapped = bsc.clangOmpss2Unwrapped;
|
clangOmpss2Unwrapped = bsc.clangOmpss2Unwrapped;
|
||||||
}) { CC = "clang"; CXX = "clang++"; };
|
}) { CC = "clang"; CXX = "clang++"; };
|
||||||
|
|
||||||
clangOmpss2Git = appendPasstru (
|
clangOmpss2Git = appendPasstru (
|
||||||
callPackage ./bsc/llvm-ompss2/default.nix {
|
callPackage ./bsc/llvm-ompss2/default.nix {
|
||||||
|
llvmPackages = bsc.llvmPackages;
|
||||||
clangOmpss2Unwrapped = bsc.clangOmpss2UnwrappedGit;
|
clangOmpss2Unwrapped = bsc.clangOmpss2UnwrappedGit;
|
||||||
}) { CC = "clang"; CXX = "clang++"; };
|
}) { CC = "clang"; CXX = "clang++"; };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user