From 7dda0bb8a04820269e928944e4f3f375bb4401d6 Mon Sep 17 00:00:00 2001 From: agodavar Date: Tue, 5 May 2020 05:13:03 -0400 Subject: [PATCH] SWDEV-233749 Added support for parallel build and link Change-Id: Id227ea1fe7574612c33a8e6d91fc59a29490a35f --- samples/2_Cookbook/12_cmake_hip_add_executable/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/2_Cookbook/12_cmake_hip_add_executable/CMakeLists.txt b/samples/2_Cookbook/12_cmake_hip_add_executable/CMakeLists.txt index c2a6d60cf3..0e8020a67a 100644 --- a/samples/2_Cookbook/12_cmake_hip_add_executable/CMakeLists.txt +++ b/samples/2_Cookbook/12_cmake_hip_add_executable/CMakeLists.txt @@ -11,6 +11,7 @@ set(CMAKE_MODULE_PATH "${HIP_PATH}/cmake" ${CMAKE_MODULE_PATH}) project(12_cmake) +set(HIP_CLANG_NUM_PARALLEL_JOBS 2) find_package(HIP QUIET) if(HIP_FOUND) message(STATUS "Found HIP: " ${HIP_VERSION})