Index: head/lang/compute-runtime/Makefile =================================================================== --- head/lang/compute-runtime/Makefile (revision 519222) +++ head/lang/compute-runtime/Makefile (revision 519223) @@ -1,48 +1,40 @@ # $FreeBSD$ PORTNAME= compute-runtime DISTVERSION= 19.48.14977 CATEGORIES= lang MAINTAINER= jbeich@FreeBSD.org COMMENT= OpenCL library for Intel HD 5000 (Gen8) or newer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported LIB_DEPENDS= libigc.so:devel/intel-graphics-compiler \ libigdgmm.so:multimedia/gmmlib USES= cmake:noninja compiler:c++14-lang pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel +CMAKE_ON= SKIP_ALL_ULT CMAKE_ARGS= -DNEO_DRIVER_VERSION:STRING="${DISTVERSIONFULL}" PLIST_FILES= etc/OpenCL/vendors/intel.icd \ bin/ocloc \ lib/intel-opencl/libigdrcl.so -OPTIONS_DEFINE= TEST - -# XXX Unbundle googletest -TEST_CMAKE_BOOL_OFF= SKIP_ALL_ULT -TEST_BROKEN= many tests fail - post-patch: @${REINPLACE_CMD} -e '/-Werror/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/defaults/!s,/etc",${PREFIX}&,' \ ${WRKSRC}/package.cmake -# XXX libexecinfo backtraces are incomplete - @${REINPLACE_CMD} -e 's/SegFault/DISABLED_&/' \ - ${WRKSRC}/unit_tests/offline_compiler/segfault_test/main.cpp post-install: # install/strip has no effect on install(FILES), so strip manually ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/intel-opencl/*.so .include Index: head/lang/compute-runtime/files/patch-libc++ =================================================================== --- head/lang/compute-runtime/files/patch-libc++ (revision 519222) +++ head/lang/compute-runtime/files/patch-libc++ (nonexistent) @@ -1,37 +0,0 @@ -Don't define OpenCL keywords before including system headers - -In file included from unit_tests/built_ins/built_in_kernels_tests.cpp:10: -In file included from third_party/gtest/gtest/gtest.h:57: -In file included from /usr/include/c++/v1/ostream:138: -In file included from /usr/include/c++/v1/ios:215: -/usr/include/c++/v1/__locale:177:29: error: expected member name or ';' after declaration specifiers - static locale& __global(); - ~~~~~~~~~~~~~ ^ -In file included from unit_tests/built_ins/built_in_kernels_tests.cpp:10: -In file included from third_party/gtest/gtest/gtest.h:57: -In file included from /usr/include/c++/v1/ostream:140: -In file included from /usr/include/c++/v1/locale:197: -In file included from /usr/include/nl_types.h:40: -In file included from /usr/include/sys/types.h:377: -/usr/include/sys/select.h:105:37: error: too many arguments provided to function-like macro invocation -int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); - ^ -runtime/builtin_kernels_simulation/opencl_c.h:223:9: note: - macro 'select' defined here -#define select(a, b, c) (c ? b : a) - ^ - ---- unit_tests/built_ins/built_in_kernels_tests.cpp.orig 2019-11-29 14:23:34 UTC -+++ unit_tests/built_ins/built_in_kernels_tests.cpp -@@ -5,9 +5,9 @@ - * - */ - --#include "runtime/builtin_kernels_simulation/opencl_c.h" -- - #include "gtest/gtest.h" -+ -+#include "runtime/builtin_kernels_simulation/opencl_c.h" - - namespace BuiltinKernelsSimulation { - Property changes on: head/lang/compute-runtime/files/patch-libc++ ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/lang/compute-runtime/files/patch-backtrace =================================================================== --- head/lang/compute-runtime/files/patch-backtrace (revision 519222) +++ head/lang/compute-runtime/files/patch-backtrace (revision 519223) @@ -1,140 +1,37 @@ Adjust for backtrace(3) on BSDs In file included from offline_compiler/utilities/linux/safety_caller_linux.cpp:10: offline_compiler/utilities/linux/safety_guard_linux.h:36:25: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] backtraceSize = backtrace(addresses, callstackDepth); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/unit_tests/helpers/memory_management.cpp:113:46: error: - implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' - [-Werror,-Wshorten-64-to-32] - ...= logTraces ? backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; - ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ld: error: undefined symbol: backtrace >>> referenced by safety_caller_linux.cpp >>> CMakeFiles/ocloc.dir/utilities/linux/safety_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) ld: error: undefined symbol: backtrace_symbols >>> referenced by safety_caller_linux.cpp >>> CMakeFiles/ocloc.dir/utilities/linux/safety_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) -ld: error: undefined symbol: backtrace_symbols ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(MemoryManagement::printCallStack(MemoryManagement::AllocationEvent const&)) - -ld: error: undefined symbol: backtrace ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void* MemoryManagement::allocate<(MemoryManagement::AllocationEvent::EventType)1, (MemoryManagement::AllocationEvent::EventType)2>(unsigned long)) ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void* MemoryManagement::allocate<(MemoryManagement::AllocationEvent::EventType)3, (MemoryManagement::AllocationEvent::EventType)4>(unsigned long, std::nothrow_t const&)) ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void* MemoryManagement::allocate<(MemoryManagement::AllocationEvent::EventType)5, (MemoryManagement::AllocationEvent::EventType)6>(unsigned long)) ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void* MemoryManagement::allocate<(MemoryManagement::AllocationEvent::EventType)7, (MemoryManagement::AllocationEvent::EventType)8>(unsigned long, std::nothrow_t const&)) ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void MemoryManagement::deallocate<(MemoryManagement::AllocationEvent::EventType)9>(void*)) ->>> referenced by memory_management.cpp ->>> CMakeFiles/elflib_tests.dir/__/__/core/unit_tests/helpers/memory_management.cpp.o:(void MemoryManagement::deallocate<(MemoryManagement::AllocationEvent::EventType)10>(void*)) - -ld: error: undefined symbol: backtrace ->>> referenced by safety_guard_caller_linux.cpp ->>> CMakeFiles/ocloc_segfault_test.dir/linux/safety_guard_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) - -ld: error: undefined symbol: backtrace_symbols ->>> referenced by safety_guard_caller_linux.cpp ->>> CMakeFiles/ocloc_segfault_test.dir/linux/safety_guard_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) - -ld: error: undefined symbol: backtrace ->>> referenced by safety_caller_linux.cpp ->>> CMakeFiles/ocloc_tests.dir/__/__/offline_compiler/utilities/linux/safety_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) -ld: error: undefined symbol: backtrace_symbols ->>> referenced by safety_caller_linux.cpp ->>> CMakeFiles/ocloc_tests.dir/__/__/offline_compiler/utilities/linux/safety_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*)) - --- offline_compiler/utilities/linux/safety_guard_linux.h.orig 2019-11-22 15:41:47 UTC +++ offline_compiler/utilities/linux/safety_guard_linux.h @@ -33,7 +33,7 @@ class SafetyGuardLinux { char **callstack; int backtraceSize = 0; - backtraceSize = backtrace(addresses, callstackDepth); + backtraceSize = (int)backtrace(addresses, callstackDepth); callstack = backtrace_symbols(addresses, backtraceSize); for (int i = 0; i < backtraceSize; ++i) { ---- core/unit_tests/helpers/memory_management.cpp.orig 2019-11-22 15:41:47 UTC -+++ core/unit_tests/helpers/memory_management.cpp -@@ -110,7 +110,7 @@ static void *allocate(size_t size) { - eventAllocation.address = p; - eventAllocation.event = typeValid; - #if defined(__linux__) -- eventAllocation.frames = logTraces ? backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; -+ eventAllocation.frames = logTraces ? (int)backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventAllocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventAllocation.callstack, NULL) : 0; - #else -@@ -162,7 +162,7 @@ static void *allocate(size_t size, const std::nothrow_ - eventAllocation.address = p; - eventAllocation.size = size; - #if defined(__linux__) -- eventAllocation.frames = logTraces ? backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; -+ eventAllocation.frames = logTraces ? (int)backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventAllocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventAllocation.callstack, NULL) : 0; - #else -@@ -207,7 +207,7 @@ static void deallocate(void *p) { - eventDeallocation.address = p; - eventDeallocation.size = -1; - #if defined(__linux__) -- eventDeallocation.frames = logTraces ? backtrace(eventDeallocation.callstack, AllocationEvent::CallStackSize) : 0; -+ eventDeallocation.frames = logTraces ? (int)backtrace(eventDeallocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventDeallocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventDeallocation.callstack, NULL) : 0; - #else --- offline_compiler/CMakeLists.txt.orig 2019-11-29 14:23:34 UTC +++ offline_compiler/CMakeLists.txt @@ -124,6 +124,9 @@ endif() if(UNIX) target_link_libraries(ocloc dl pthread) + if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") + target_link_libraries(ocloc execinfo) + endif() endif() target_link_libraries(ocloc elflib) ---- unit_tests/elflib/CMakeLists.txt.orig 2019-11-29 14:23:34 UTC -+++ unit_tests/elflib/CMakeLists.txt -@@ -21,6 +21,9 @@ set_property(TARGET elflib_tests APPEND_STRING PROPERT - - if(UNIX) - target_link_libraries(elflib_tests ${IGDRCL_EXTRA_LIBS}) -+ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") -+ target_link_libraries(elflib_tests execinfo) -+ endif() - endif() - - add_custom_target(run_elflib_tests ALL DEPENDS unit_tests elflib_tests) ---- unit_tests/offline_compiler/segfault_test/CMakeLists.txt.orig 2019-11-29 14:23:34 UTC -+++ unit_tests/offline_compiler/segfault_test/CMakeLists.txt -@@ -39,6 +39,9 @@ if(MSVC) - endif() - if(UNIX) - target_link_libraries(ocloc_segfault_test dl pthread) -+ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") -+ target_link_libraries(ocloc_segfault_test execinfo) -+ endif() - endif() - - set(CLOC_SEGFAULT_TEST_INCLUDES ---- unit_tests/offline_compiler/CMakeLists.txt.orig 2019-11-29 14:23:34 UTC -+++ unit_tests/offline_compiler/CMakeLists.txt -@@ -86,6 +86,9 @@ endif() - - if(UNIX) - target_link_libraries(ocloc_tests dl pthread) -+ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") -+ target_link_libraries(ocloc_tests execinfo) -+ endif() - endif() - - get_property(CLOC_FOLDER TARGET ocloc PROPERTY FOLDER) Index: head/lang/compute-runtime/files/patch-includes =================================================================== --- head/lang/compute-runtime/files/patch-includes (revision 519222) +++ head/lang/compute-runtime/files/patch-includes (revision 519223) @@ -1,45 +1,23 @@ Add missing includes in various places. runtime/tbx/tbx_sockets_imp.cpp:74:51: error: use of undeclared identifier 'IPPROTO_TCP' m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); ^ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; did you mean 'sockaddr'? sockaddr_in clientService; ^~~~~~~~~~~ sockaddr /usr/include/sys/socket.h:328:8: note: 'sockaddr' declared here struct sockaddr { ^ -unit_tests/main.cpp:116:18: error: - variable has incomplete type 'struct sigaction' -struct sigaction oldSigAbrt; - ^ -unit_tests/main.cpp:116:8: note: - forward declaration of 'sigaction' -struct sigaction oldSigAbrt; - ^ - --- runtime/tbx/tbx_sockets_imp.cpp.orig 2019-11-22 15:41:47 UTC +++ runtime/tbx/tbx_sockets_imp.cpp @@ -18,6 +18,7 @@ typedef int socklen_t; #else #include #include +#include #include #include #include ---- unit_tests/main.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/main.cpp -@@ -32,6 +32,10 @@ - #include - #include - -+#ifndef _WIN32 -+#include -+#endif -+ - #ifdef WIN32 - const char *fSeparator = "\\"; - #else Index: head/lang/compute-runtime/files/patch-unix =================================================================== --- head/lang/compute-runtime/files/patch-unix (revision 519222) +++ head/lang/compute-runtime/files/patch-unix (revision 519223) @@ -1,219 +1,26 @@ Relax Linux checks for the code works on any non-Windows platform core/elf/writer.cpp:54:9: error: use of undeclared identifier 'memcpy_s' memcpy_s(data, queueFront.dataSize, queueFront.data.c_str(), queueFront.dataSize); ^ core/elf/writer.cpp:59:13: error: use of undeclared identifier 'memcpy_s' memcpy_s(curString, queueFront.name.size(), queueFront.name.c_str(), queueFront.name.size()); ^ core/elf/writer.cpp:76:5: error: use of undeclared identifier 'memcpy_s' memcpy_s(curSectionHeader, sizeof(SElf64SectionHeader), ^ --- core/helpers/string.h.orig 2019-11-22 15:41:47 UTC +++ core/helpers/string.h @@ -10,7 +10,7 @@ #include #include -#if defined(__linux__) +#if !defined(_WIN32) #include #include ---- core/unit_tests/compiler_interface/compiler_interface_tests.cpp.orig 2019-11-22 15:41:47 UTC -+++ core/unit_tests/compiler_interface/compiler_interface_tests.cpp -@@ -24,7 +24,7 @@ using namespace NEO; - - #if defined(_WIN32) - const char *gBadDompilerDllName = "bad_compiler.dll"; --#elif defined(__linux__) -+#elif !defined(__APPLE__) - const char *gCBadDompilerDllName = "libbad_compiler.so"; - #else - #error "Unknown OS!" ---- core/unit_tests/helpers/memory_management.cpp.orig 2019-11-22 15:41:47 UTC -+++ core/unit_tests/helpers/memory_management.cpp -@@ -18,7 +18,7 @@ - #include - #include - --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - #include - #include - #include -@@ -109,7 +109,7 @@ static void *allocate(size_t size) { - - eventAllocation.address = p; - eventAllocation.event = typeValid; --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - eventAllocation.frames = logTraces ? (int)backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventAllocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventAllocation.callstack, NULL) : 0; -@@ -161,7 +161,7 @@ static void *allocate(size_t size, const std::nothrow_ - : typeFail; - eventAllocation.address = p; - eventAllocation.size = size; --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - eventAllocation.frames = logTraces ? (int)backtrace(eventAllocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventAllocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventAllocation.callstack, NULL) : 0; -@@ -206,7 +206,7 @@ static void deallocate(void *p) { - eventDeallocation.event = typeValid; - eventDeallocation.address = p; - eventDeallocation.size = -1; --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - eventDeallocation.frames = logTraces ? (int)backtrace(eventDeallocation.callstack, AllocationEvent::CallStackSize) : 0; - #elif defined(_WIN32) - eventDeallocation.frames = logTraces ? CaptureStackBackTrace(0, AllocationEvent::CallStackSize, eventDeallocation.callstack, NULL) : 0; -@@ -312,7 +312,7 @@ std::string printCallStack(const MemoryManagement::All - printf("for detailed stack information turn on captureCallStacks in memory_management.h\n"); - } - if (event.frames > 0) { --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - char **bt = backtrace_symbols(event.callstack, event.frames); - char *demangled; - int status; ---- core/unit_tests/helpers/string_tests.cpp.orig 2019-11-22 15:41:47 UTC -+++ core/unit_tests/helpers/string_tests.cpp -@@ -10,7 +10,7 @@ - - #include "gtest/gtest.h" - --#if defined(__linux__) -+#if !defined(_WIN32) - - TEST(StringHelpers, strncpy) { - char dst[1024] = ""; ---- unit_tests/fixtures/memory_management_fixture.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/fixtures/memory_management_fixture.cpp -@@ -12,12 +12,12 @@ - #include "runtime/helpers/options.h" - - #include --#if defined(__linux__) -+#if !defined(_WIN32) - #include - #include - #include - #include --#elif defined(_WIN32) -+#else - #include - #pragma warning(push) // Saves the current warning state. - #pragma warning(disable : 4091) // Temporarily disables warning 4091. ---- unit_tests/main.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/main.cpp -@@ -104,7 +104,7 @@ void applyWorkarounds() { - tempThreadID = t.get_id(); - t.join(); - } --#ifdef __linux__ -+#ifndef _WIN32 - void handle_SIGALRM(int signal) { - std::cout << "Tests timeout on: " << lastTest << std::endl; - abort(); -@@ -158,7 +158,7 @@ std::string getRunPath(char *argv0) { - res = res.substr(0, pos); - - if (res == "." || pos == std::string::npos) { --#if defined(__linux__) -+#if !defined(_WIN32) - res = getcwd(nullptr, 0); - #else - res = _getcwd(nullptr, 0); -@@ -176,7 +176,7 @@ int main(int argc, char **argv) { - - applyWorkarounds(); - --#if defined(__linux__) -+#if !defined(_WIN32) - bool enable_segv = true; - bool enable_abrt = true; - if (getenv("IGDRCL_TEST_SELF_EXEC") == nullptr) { -@@ -373,7 +373,7 @@ int main(int argc, char **argv) { - if (_chdir(executionDirectory.c_str())) { - std::cout << "chdir into " << executionDirectory << " directory failed.\nThis might cause test failures." << std::endl; - } --#elif defined(__linux__) -+#else - #include - if (chdir(executionDirectory.c_str()) != 0) { - std::cout << "chdir into " << executionDirectory << " directory failed.\nThis might cause test failures." << std::endl; -@@ -412,7 +412,7 @@ int main(int argc, char **argv) { - gEnvironment->setMockFileNames(fclDebugVars.fileName, igcDebugVars.fileName); - gEnvironment->setDefaultDebugVars(fclDebugVars, igcDebugVars, device); - --#if defined(__linux__) -+#if !defined(_WIN32) - //ULTs timeout - if (enable_alarm) { - unsigned int alarmTime = NEO::ultIterationMaxTime * ::testing::GTEST_FLAG(repeat); ---- unit_tests/offline_compiler/main.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/offline_compiler/main.cpp -@@ -14,7 +14,7 @@ - - #ifdef WIN32 - const char *fSeparator = "\\"; --#elif defined(__linux__) -+#else - const char *fSeparator = "/"; - #endif - -@@ -22,7 +22,7 @@ Environment *gEnvironment; - - std::string getRunPath() { - std::string res; --#if defined(__linux__) -+#if !defined(_WIN32) - res = getcwd(nullptr, 0); - #else - res = _getcwd(nullptr, 0); -@@ -36,7 +36,7 @@ int main(int argc, char **argv) { - std::string devicePrefix("skl"); - std::string familyNameWithType("Gen9core"); - --#if defined(__linux__) -+#if !defined(_WIN32) - if (getenv("CLOC_SELFTEST") == nullptr) { - setenv("CLOC_SELFTEST", "YES", 1); - -@@ -88,7 +88,7 @@ int main(int argc, char **argv) { - if (_chdir(familyNameWithType.c_str())) { - std::cout << "chdir into " << familyNameWithType << " directory failed.\nThis might cause test failures." << std::endl; - } --#elif defined(__linux__) -+#else - #include - if (chdir(familyNameWithType.c_str()) != 0) { - std::cout << "chdir into " << familyNameWithType << " directory failed.\nThis might cause test failures." << std::endl; ---- unit_tests/os_interface/linux/options.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/os_interface/linux/options.cpp -@@ -15,7 +15,7 @@ namespace Os { - // These options determine the Linux specific behavior for - // the runtime unit tests - /////////////////////////////////////////////////////////////////////////////// --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - const char *frontEndDllName = "libmock_igdfcl.so"; - const char *igcDllName = "libmock_igc.so"; - const char *libvaDllName = nullptr; ---- unit_tests/os_interface/os_library_tests.cpp.orig 2019-11-22 15:41:47 UTC -+++ unit_tests/os_interface/os_library_tests.cpp -@@ -7,7 +7,7 @@ - - #if defined(_WIN32) - #include "core/os_interface/windows/os_library_win.h" --#elif defined(__linux__) -+#else - #include "core/os_interface/linux/os_library_linux.h" - #endif - #include "core/os_interface/os_library.h"