llvmPackages_rocm: 4.0.1 -> 4.1.0
This commit is contained in:
parent
1af4354d81
commit
84023d85cb
|
@ -1,12 +1,12 @@
|
||||||
{ lib, fetchFromGitHub, callPackage, wrapCCWith }:
|
{ lib, fetchFromGitHub, callPackage, wrapCCWith }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.0.1";
|
version = "4.1.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "llvm-project";
|
repo = "llvm-project";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
hash = "sha256-5mQ8tN7A045JCF7tHKgAZAbyVmXOd6Wf0CVUiPA80YM=";
|
hash = "sha256-DlId/dF5r0ULl2omYPCyu1Ic3XKlLL7ndiCA0RaF264=";
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
clang = wrapCCWith rec {
|
clang = wrapCCWith rec {
|
||||||
|
|
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DLLVM_MAIN_SRC_DIR=${llvm.src}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
moveToOutput include "$dev"
|
moveToOutput include "$dev"
|
||||||
moveToOutput lib "$dev"
|
moveToOutput lib "$dev"
|
||||||
|
|
Loading…
Reference in New Issue