From 2adb9709cb4d800bed771c89696f6c489ad0e2ce Mon Sep 17 00:00:00 2001
From: Li Li
Date: Tue, 12 Dec 2023 20:19:58 +0000
Subject: [PATCH] change PATH EV
---
.github/scripts/fbgemm_gpu_build.bash | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.github/scripts/fbgemm_gpu_build.bash b/.github/scripts/fbgemm_gpu_build.bash
index 381efc2fbc..dfdebd3a79 100644
--- a/.github/scripts/fbgemm_gpu_build.bash
+++ b/.github/scripts/fbgemm_gpu_build.bash
@@ -94,6 +94,21 @@ __configure_fbgemm_gpu_build_rocm () {
--package_variant=rocm
-DTORCH_USE_HIP_DSA=1
)
+
+ new_path="$PATH:/opt/rocm/llvm/bin:\
+/opt/rocm/opencl/bin:\
+/opt/rocm/hip/bin:\
+/opt/rocm/hcc/bin:\
+/opt/rocm/bin:\
+/opt/conda/bin:\
+/usr/local/sbin:\
+/usr/local/bin:\
+/usr/sbin:\
+/usr/bin:\
+/sbin:\
+/bin"
+ echo $new_path
+ print_exec conda env config vars set ${env_prefix} PATH="$new_path"
}
__configure_fbgemm_gpu_build_cuda () {