Skip to content

Commit 9f5f0f6

Browse files
Revert "use externally provided names of compiler shared libraries"
This reverts commit 73e6846. Change-Id: I2b39bb5b3186f14f1077c06adca8db242abf1e6b
1 parent aa088da commit 9f5f0f6

File tree

3 files changed

+5
-42
lines changed

3 files changed

+5
-42
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,16 +201,9 @@ if(NOT IGC__IGC_TARGETS)
201201
message(STATUS "IGC source dir is: ${IGC_DIR}")
202202

203203
set(IGC_OPTION__LIBRARY_NAME "igdccl")
204-
set(FCL_OPTION__LIBRARY_NAME "igdfcl")
205204
set(IGC_OPTION__OUTPUT_DIR "${IGDRCL_BUILD_DIR}/igc")
206205
set(IGC_OPTION__INCLUDE_IGC_COMPILER_TOOLS OFF)
207206
add_subdirectory("${IGC_DIR}" "${IGDRCL_BUILD_DIR}/igc" EXCLUDE_FROM_ALL)
208-
if(NOT IGC_LIBRARY_NAME)
209-
set(IGC_LIBRARY_NAME "${IGC_OPTION__LIBRARY_NAME}")
210-
endif()
211-
if(NOT FCL_LIBRARY_NAME)
212-
set(FCL_LIBRARY_NAME "${FCL_OPTION__LIBRARY_NAME}")
213-
endif()
214207
endif()
215208

216209
set(IGDRCL__IGC_TARGETS "${IGC__IGC_TARGETS}")
@@ -541,4 +534,3 @@ set(_CRT_SECURE_NO_WARNINGS 1)
541534
include(package.cmake)
542535

543536
configure_file(config.h.in ${IGDRCL_BUILD_DIR}/config.h)
544-
configure_file(compiler.config.h.in ${IGDRCL_BUILD_DIR}/compiler.config.h)

compiler.config.h.in

Lines changed: 0 additions & 29 deletions
This file was deleted.

runtime/os_interface/linux/options.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017 - 2018, Intel Corporation
2+
* Copyright (c) 2017, Intel Corporation
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),
@@ -20,15 +20,15 @@
2020
* OTHER DEALINGS IN THE SOFTWARE.
2121
*/
2222

23-
#include "compiler.config.h"
2423
#include "runtime/os_interface/os_library.h"
2524

2625
namespace Os {
26+
#if defined(__linux__)
2727
// Compiler library names
28-
const char *frontEndDllName = FCL_LIBRARY_NAME;
29-
const char *igcDllName = IGC_LIBRARY_NAME;
28+
const char *frontEndDllName = "libigdfcl.so";
29+
const char *igcDllName = "libigdccl.so";
3030
const char *libvaDllName = "libva.so.1";
31-
31+
#endif //__linux__
3232
const char *sysFsPciPath = "/sys/bus/pci/devices/";
3333
const char *tbxLibName = "libtbxAccess.so";
3434
}

0 commit comments

Comments
 (0)