diff --git a/cntk/cntk.patch b/cntk/cntk.patch index b640a1d998..282d744ab9 100644 --- a/cntk/cntk.patch +++ b/cntk/cntk.patch @@ -298,3 +298,18 @@ Index: configure then echo Generating $makefile realconf=`readlink -f $configure` +Index: Source/PerformanceProfilerDll/PerformanceProfiler.cpp +--- Source/PerformanceProfilerDll/PerformanceProfiler.cpp.orig 2017-01-01 10:58:55.000000000 +0100 ++++ Source/PerformanceProfilerDll/PerformanceProfiler.cpp 2017-01-01 11:10:31.383503000 +0100 +@@ -381,8 +381,10 @@ + { + #ifdef _WIN32 + return (unsigned int)GetCurrentThreadId(); +-#else ++#elif defined(SYS_gettid) + return (unsigned int)syscall(SYS_gettid); ++#else ++ return (unsigned int)0; + #endif + } + diff --git a/cntk/cntk.spec b/cntk/cntk.spec index 4ddd0519de..6f4722c02c 100644 --- a/cntk/cntk.spec +++ b/cntk/cntk.spec @@ -31,8 +31,8 @@ Distribution: OpenPKG Community Class: EVAL Group: Algorithm License: BSD-style -Version: 20161226 -Release: 20161227 +Version: 20170101 +Release: 20170101 # package options %option with_opencv no