SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 051e1005f4.
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: I59f6aeb8b82261b77eb978e53407bc56be1d0cf1
This commit is contained in:
@@ -21,6 +21,18 @@
|
||||
ROCMDIR=@ROCM_PATH@
|
||||
HIPINCDIR=$ROCMDIR/@CMAKE_INSTALL_INCLUDEDIR@/hip
|
||||
CURRENTDIR=`pwd`
|
||||
# The following will be removed after upstream updation
|
||||
cd $HIPINCDIR
|
||||
ln -r -s -f amd_detail hcc_detail
|
||||
ln -r -s -f nvidia_detail nvcc_detail
|
||||
cd $CURRENTDIR
|
||||
|
||||
#FILE_REORG_BACKWARD_COMPATIBILITY
|
||||
HIPINCDIR=$ROCMDIR/hip/include/hip
|
||||
if [ -d $HIPINCDIR ]; then
|
||||
# The following will be removed after upstream updation
|
||||
cd $HIPINCDIR
|
||||
ln -r -s -f amd_detail hcc_detail
|
||||
ln -r -s -f nvidia_detail nvcc_detail
|
||||
cd $CURRENTDIR
|
||||
fi
|
||||
|
||||
@@ -23,11 +23,19 @@ CURRENTDIR=`pwd`
|
||||
|
||||
HIPINCDIR=$ROCMDIR/@CMAKE_INSTALL_INCLUDEDIR@/hip
|
||||
([ ! -d $HIPINCDIR ]) && exit 0
|
||||
cd $HIPINCDIR
|
||||
rm hcc_detail
|
||||
rm nvcc_detail
|
||||
cd $CURRENTDIR
|
||||
|
||||
#FILE_REORG_BACKWARD_COMPATIBILITY
|
||||
#backward copatibility code , to be removed later
|
||||
HIPDIR=$ROCMDIR/hip
|
||||
HIPINCDIR=$ROCMDIR/hip/include/hip
|
||||
([ ! -d $HIPINCDIR ]) && exit 0
|
||||
cd $HIPINCDIR
|
||||
rm -f hcc_detail
|
||||
rm -f nvcc_detail
|
||||
cd $CURRENTDIR
|
||||
([ ! -d $HIPDIR ]) && exit 0
|
||||
rmdir --ignore-fail-on-non-empty $HIPDIR
|
||||
|
||||
Reference in New Issue
Block a user