From 28dba7a697653bb07aef46fd491340e56e2f54d2 Mon Sep 17 00:00:00 2001 From: Madoura Date: Wed, 26 Oct 2022 01:06:24 -0500 Subject: [PATCH] hip: fix cmake installation directories --- pkgs/development/compilers/hip/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/hip/default.nix b/pkgs/development/compilers/hip/default.nix index fff2886246ff..dce3dab727f4 100644 --- a/pkgs/development/compilers/hip/default.nix +++ b/pkgs/development/compilers/hip/default.nix @@ -154,6 +154,11 @@ stdenv.mkDerivation rec { "-DHIP_COMMON_DIR=${hip}" "-DROCCLR_PATH=${rocclr}" "-DHIP_VERSION_BUILD_ID=0" + # Temporarily set variables to work around upstream CMakeLists issue + # Can be removed once https://github.com/ROCm-Developer-Tools/hipamd/issues/55 is fixed + "-DCMAKE_INSTALL_BINDIR=bin" + "-DCMAKE_INSTALL_INCLUDEDIR=include" + "-DCMAKE_INSTALL_LIBDIR=lib" ]; postInstall = ''