diff options
author | 2022-06-12 19:55:29 +0800 | |
---|---|---|
committer | 2022-06-13 20:00:43 +0800 | |
commit | d5835abbe66be09b9851fcc79a158d1a083ad8fc (patch) | |
tree | 45f1bd57bba1c81a394c310517d66d2f4486a0a5 /dev-util/hip/files | |
parent | sci-visualization/gwyddion: add 2.61 (diff) | |
download | gentoo-d5835abbe66be09b9851fcc79a158d1a083ad8fc.tar.gz gentoo-d5835abbe66be09b9851fcc79a158d1a083ad8fc.tar.bz2 gentoo-d5835abbe66be09b9851fcc79a158d1a083ad8fc.zip |
dev-util/hip-5.0.2: fix HIP_PATH in hipvars.pm
Reference: https://github.com/gentoo/gentoo/pull/25536#issuecomment-1153136503
Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1152988796
Closes: https://github.com/gentoo/gentoo/pull/25861
Suggested-by: Paul Preney <paul@preney.ca>
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-util/hip/files')
-rw-r--r-- | dev-util/hip/files/hipvars-5.0.2.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/hip/files/hipvars-5.0.2.pm b/dev-util/hip/files/hipvars-5.0.2.pm new file mode 100644 index 000000000000..88d3c27bab99 --- /dev/null +++ b/dev-util/hip/files/hipvars-5.0.2.pm @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w +package hipvars; + +$HIP_BASE_VERSION_MAJOR = "@HIP_BASE_VERSION_MAJOR@"; +$HIP_BASE_VERSION_MINOR = "@HIP_BASE_VERSION_MINOR@"; + +$isWindows = 0; +$HIP_PATH='/usr'; +$ROCM_PATH='/usr'; +$CUDA_PATH='/opt/cuda'; +$HSA_PATH='/usr'; +$HIP_CLANG_PATH='/usr/lib/llvm/roc/bin'; +$HIP_ROCCLR_HOME=$HIP_PATH; +$HIP_PLATFORM='amd'; +$HIP_COMPILER = "clang"; +$HIP_RUNTIME = "rocclr"; +$HIP_VERSION_MAJOR = $HIP_BASE_VERSION_MAJOR; +$HIP_VERSION_MINOR = $HIP_BASE_VERSION_MINOR; +$HIP_VERSION_PATCH = "@HIP_VERSION_PATCH@"; +$HIP_VERSION="$HIP_VERSION_MAJOR.$HIP_VERSION_MINOR.$HIP_VERSION_PATCH"; |