Restore using compiler.config.h

define source level debugger dll name when it has empty implementation

Change-Id: I2a0938c8418da161f214735644f00f7873540f75
This commit is contained in:
Mateusz Jablonski
2018-06-12 10:35:03 +02:00
committed by sys_ocldev
parent d74e179aee
commit cc9e5a7943
3 changed files with 3 additions and 1 deletions

View File

@ -561,5 +561,6 @@ endif(EXISTS ${IGDRCL_SOURCE_DIR}/../internal)
include(package.cmake)
configure_file(config.h.in ${IGDRCL_BUILD_DIR}/config.h)
configure_file(compiler.config.h.in ${IGDRCL_BUILD_DIR}/compiler.config.h)
configure_file(driver_version.h.in ${IGDRCL_BUILD_DIR}/driver_version.h) # Put Driver version into define
configure_file(lib_names.h.in ${IGDRCL_BUILD_DIR}/lib_names.h)

View File

@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "lib_names.h"
#include "compiler.config.h"
#include "runtime/os_interface/os_library.h"
namespace Os {

View File

@ -23,6 +23,7 @@
#include "runtime/source_level_debugger/source_level_debugger.h"
namespace OCLRT {
const char *SourceLevelDebugger::dllName = "";
SourceLevelDebugger::SourceLevelDebugger(OsLibrary *library) {
debuggerLibrary.reset(library);