amdvlk: 2021.Q1.6 -> 2021.Q2.2
This commit is contained in:
parent
e7e72e070b
commit
9a991af2db
|
@ -21,13 +21,13 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "amdvlk";
|
pname = "amdvlk";
|
||||||
version = "2021.Q1.6";
|
version = "2021.Q2.2";
|
||||||
|
|
||||||
src = fetchRepoProject {
|
src = fetchRepoProject {
|
||||||
name = "${pname}-src";
|
name = "${pname}-src";
|
||||||
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
||||||
rev = "refs/tags/v-${version}";
|
rev = "refs/tags/v-${version}";
|
||||||
sha256 = "FSQ/bYlvdw0Ih3Yl329o8Gizw0YcZTLtiI222Ju4M8w=";
|
sha256 = "4k9ZkBxJGuNUO44F9D+u54eUREl5/8zxjxhaShhzGv0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -70,12 +70,8 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 -t $out/lib icd/amdvlk${suffix}.so
|
install -Dm755 -t $out/lib icd/amdvlk${suffix}.so
|
||||||
install -Dm644 -t $out/share/vulkan/icd.d ../drivers/AMDVLK/json/Redhat/amd_icd${suffix}.json
|
install -Dm644 -t $out/share/vulkan/icd.d icd/amd_icd${suffix}.json
|
||||||
|
install -Dm644 -t $out/share/vulkan/implicit_layer.d icd/amd_icd${suffix}.json
|
||||||
substituteInPlace $out/share/vulkan/icd.d/amd_icd${suffix}.json --replace \
|
|
||||||
"/usr/lib64" "$out/lib"
|
|
||||||
substituteInPlace $out/share/vulkan/icd.d/amd_icd${suffix}.json --replace \
|
|
||||||
"/usr/lib" "$out/lib"
|
|
||||||
|
|
||||||
patchelf --set-rpath "$rpath" $out/lib/amdvlk${suffix}.so
|
patchelf --set-rpath "$rpath" $out/lib/amdvlk${suffix}.so
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue