From 26b5a0757471284c77422892d3f58834a4b86363 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 1 Jan 2017 10:21:54 +0000 Subject: [PATCH] upgrading package: cntk 20161226 -> 20170101 --- cntk/cntk.patch | 15 +++++++++++++++ cntk/cntk.spec | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) 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