Skip to content

Commit

Permalink
Remove the deprecated "hip" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Mar 10, 2023
1 parent 1342843 commit fd5a541
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions rocm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,22 @@ mv opt/rocm-%{realversion} %{i}
rm -rf opt
rm -rf usr

# the hip directory is deprecated in favour of the main directory
rm -r -f %{i}/hip/

# hip-devel postinstall
ln -s -f amd_detail %{i}/include/hip/hcc_detail
ln -s -f nvidia_detail %{i}/include/hip/nvcc_detail
ln -s -f amd_detail %{i}/hip/include/hip/hcc_detail
ln -s -f nvidia_detail %{i}/hip/include/hip/nvcc_detail
# deprecated
#ln -s -f amd_detail %{i}/hip/include/hip/hcc_detail
#ln -s -f nvidia_detail %{i}/hip/include/hip/nvcc_detail

# hip-runtime-amd postinstall
mkdir -p %{i}/hip/lib/cmake/hip
mkdir -p %{i}/hip/lib/cmake/hip-lang
ln -r -s -f %{i}/lib/cmake/hip/hip-targets* %{i}/hip/lib/cmake/hip/
ln -r -s -f %{i}/lib/cmake/hip-lang/hip-lang-targets* %{i}/hip/lib/cmake/hip-lang/
# deprecated
#mkdir -p %{i}/hip/lib/cmake/hip
#mkdir -p %{i}/hip/lib/cmake/hip-lang
#ln -r -s -f %{i}/lib/cmake/hip/hip-targets* %{i}/hip/lib/cmake/hip/
#ln -r -s -f %{i}/lib/cmake/hip-lang/hip-lang-targets* %{i}/hip/lib/cmake/hip-lang/

# rocm-llvm postinstall
mkdir -p %{i}/bin
Expand Down

0 comments on commit fd5a541

Please sign in to comment.