Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion cmake/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ else ()
endif ()

set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)

if (USE_COVERAGE)
set(CMAKE_INSTALL_RPATH "${CMAKE_BINARY_DIR}/ppc_onetbb/install/lib")
else()
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif ()

set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
set(CMAKE_SKIP_BUILD_RPATH OFF)
Expand Down
5 changes: 4 additions & 1 deletion scripts/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def __source_script(script_path):
return {}

def setup_env(self):
self.work_dir = Path(self.__get_project_path()) / "install" / "bin"
if (Path(self.__get_project_path()) / "install").exists():
self.work_dir = Path(self.__get_project_path()) / "install" / "bin"
else:
self.work_dir = Path(self.__get_project_path()) / "build" / "bin"

@staticmethod
def __run_exec(command):
Expand Down
Loading