|
|
|
|
@ -31,8 +31,11 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Algorithm |
|
|
|
|
License: BSD-style |
|
|
|
|
Version: 20160526 |
|
|
|
|
Release: 20160526 |
|
|
|
|
Version: 20160527 |
|
|
|
|
Release: 20160527 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_opencv no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/cntk/CNTK-%{version}.tar.xz |
|
|
|
|
@ -42,8 +45,12 @@ Patch0: cntk.patch
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, gcc, gcc::with_cxx = yes |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: opencv, openmpi, openmpi::with_cxx = yes, openblas, libzip |
|
|
|
|
PreReq: opencv, openmpi, openmpi::with_cxx = yes, openblas, libzip |
|
|
|
|
BuildPreReq: openmpi, openmpi::with_cxx = yes, openblas, libzip |
|
|
|
|
PreReq: openmpi, openmpi::with_cxx = yes, openblas, libzip |
|
|
|
|
%if "%{with_opencv}" == "yes" |
|
|
|
|
BuildPreReq: opencv |
|
|
|
|
PreReq: opencv |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
CNTK, the Computational Network Toolkit by Microsoft Research, is a |
|
|
|
|
@ -86,7 +93,9 @@ PreReq: opencv, openmpi, openmpi::with_cxx = yes, openblas, libzip
|
|
|
|
|
%{l_bash} ./configure \ |
|
|
|
|
--with-buildtype=release \ |
|
|
|
|
--with-openblas=%{l_prefix} \ |
|
|
|
|
%if "%{with_opencv}" == "yes" |
|
|
|
|
--with-opencv=%{l_prefix} \ |
|
|
|
|
%endif |
|
|
|
|
--with-libzip \ |
|
|
|
|
--with-code-coverage=no |
|
|
|
|
|
|
|
|
|
|