diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-05 23:26:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-05 23:26:20 +0100 |
commit | 2de9aaae9b6018544ada7f67e2229605e1ec4d04 (patch) | |
tree | 231bad5690196ca522285d446614a065879cc7d0 /dev-util/hip/files | |
parent | 4274bed0c1f1fd06a654f5816e30d82059f4cc39 (diff) |
gentoo auto-resync : 05:04:2023 - 23:26:20
Diffstat (limited to 'dev-util/hip/files')
-rw-r--r-- | dev-util/hip/files/hip-5.4.3-fix-HIP_CLANG_PATH-detection.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/hip/files/hip-5.4.3-fix-HIP_CLANG_PATH-detection.patch b/dev-util/hip/files/hip-5.4.3-fix-HIP_CLANG_PATH-detection.patch new file mode 100644 index 000000000000..28277d9d880c --- /dev/null +++ b/dev-util/hip/files/hip-5.4.3-fix-HIP_CLANG_PATH-detection.patch @@ -0,0 +1,26 @@ +From 03a7fd2937c146142fa95d22a0ee10df40442788 Mon Sep 17 00:00:00 2001 +From: Yiyang Wu <xgreenlandforwyy@gmail.com> +Date: Sun, 19 Mar 2023 22:32:01 +0800 +Subject: [PATCH] FindHIP.cmake: fix HIP_CLANG_PATH detection via + HIP_CLANG_INSTALL_DIR + +--- + cmake/FindHIP.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/FindHIP.cmake b/cmake/FindHIP.cmake +index 109c9f65..5dc4c632 100644 +--- a/cmake/FindHIP.cmake ++++ b/cmake/FindHIP.cmake +@@ -255,7 +255,7 @@ elseif("${HIP_COMPILER}" STREQUAL "clang") + if("x${HIP_CLANG_PATH}" STREQUAL "x") + # IF HIP_CLANG_INSTALL_DIR is Found + if( HIP_CLANG_INSTALL_DIR ) +- set(HIP_CLANG_PATH ${HIP_CLANG_INSTALL_DIR}) ++ set(HIP_CLANG_PATH "${HIP_CLANG_INSTALL_DIR}/bin") + else() # IF HIP_CLANG_INSTALL_DIR is not found + if(DEFINED ENV{HIP_CLANG_PATH}) + set(HIP_CLANG_PATH $ENV{HIP_CLANG_PATH}) +-- +2.40.0 + |