From a06eda1f73bc17dc3745b18de438b57604d09b67 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 6 Jul 2022 00:10:31 -0700 Subject: [PATCH] SWDEV-344894 - Remove work around code The workaround for file-reorg in opencl is not required with changes in build script. Similar workaround code in atmi is causing installation error in spack atmi and fixed by build scripts changes and removing the workaround Depends-On: I2c79675ec05e1e7de2baa0a21033939f0eadac3d Change-Id: I9b5640a7b284f1df6b3127938c51da24ce60b69e --- opencl/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opencl/CMakeLists.txt b/opencl/CMakeLists.txt index 7684de7318..30936283e6 100644 --- a/opencl/CMakeLists.txt +++ b/opencl/CMakeLists.txt @@ -81,12 +81,6 @@ if(NOT DEFINED ROCM_PATH) string(REPLACE "/opencl" "" ROCM_PATH ${CPACK_PACKAGING_INSTALL_PREFIX}) endif() message (STATUS "ROCM Installation path(ROCM_PATH): ${ROCM_PATH}") -#TODO: Once build script changes are in , the string replace statement can be removed -if(FILE_REORG_BACKWARD_COMPATIBILITY) - if(CPACK_PACKAGING_INSTALL_PREFIX) - string(REPLACE "/opencl" "" CPACK_PACKAGING_INSTALL_PREFIX ${CPACK_PACKAGING_INSTALL_PREFIX}) - endif() -endif() #Package: rocm-opencl,rocm-opencl-dev/devel,rocm-ocl-icd