Adding AR support to ocloc

Related-To: NEO-3920
Change-Id: I6709d48528ab7d18fdd53c3396ff13551cce207b
This commit is contained in:
Jaroslaw Chodor
2020-02-09 23:59:57 +01:00
committed by sys_ocldev
parent 6fe4382b31
commit 046cb4c28b
15 changed files with 782 additions and 31 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Intel Corporation
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -11,7 +11,7 @@ namespace NEO {
int MultiCommand::singleBuild(size_t numArgs, const std::vector<std::string> &allArgs) {
int retVal = CL_SUCCESS;
std::string buildLog;
OfflineCompiler *pCompiler = OfflineCompiler::create(numArgs, allArgs, retVal);
OfflineCompiler *pCompiler = OfflineCompiler::create(numArgs, allArgs, true, retVal);
if (retVal == CL_SUCCESS) {
retVal = buildWithSafetyGuard(pCompiler);