SWDEV-296010: Fixing RPATH & CMAKE files

Removing the RPATH skip & Removing the install path that was defined CMakelist

Change-Id: Icf374b9548fc7b24e99a1b5ab9720ce6d775abf8


[ROCm/roctracer commit: 8098ec6acf]
This commit is contained in:
Ammar ELWazir
2022-03-09 19:16:08 -06:00
rodzic 472330b728
commit 5daf0bcd13
2 zmienionych plików z 0 dodań i 5 usunięć
-3
Wyświetl plik
@@ -28,9 +28,6 @@ cmake_minimum_required ( VERSION 3.5.0 )
## Verbose output.
set ( CMAKE_VERBOSE_MAKEFILE TRUE CACHE BOOL "Verbose Output" FORCE )
# Install prefix
set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "Install path prefix, prepended onto install directories")
## Set module name and project name.
set ( ROCTRACER_NAME "roctracer" )
set ( ROCTRACER_TARGET "${ROCTRACER_NAME}64" )
@@ -53,8 +53,6 @@ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" )
add_link_options("-Bdynamic -z,noexecstck")
set ( CMAKE_SKIP_BUILD_RPATH TRUE )
## CLANG options
if ( "$ENV{CXX}" STREQUAL "/usr/bin/clang++" )
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ferror-limit=1000000" )