Browse Source

upgrading package: cntk 20161226 -> 20170101

master
parent
commit
26b5a07574
  1. 15
      cntk/cntk.patch
  2. 4
      cntk/cntk.spec

15
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
}

4
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

Loading…
Cancel
Save