commit mkl-dnn for openSUSE:Leap:15.2

2020-05-06 Thread root
Hello community,

here is the log from the commit of package mkl-dnn for openSUSE:Leap:15.2 
checked in at 2020-05-06 20:41:43

Comparing /work/SRC/openSUSE:Leap:15.2/mkl-dnn (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.2738 (New)


Package is "mkl-dnn"

Wed May  6 20:41:43 2020 rev:4 rq:800687 version:1.4

Changes:

--- /work/SRC/openSUSE:Leap:15.2/mkl-dnn/mkl-dnn.changes2020-04-12 
15:38:03.397996928 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.2738/mkl-dnn.changes  
2020-05-06 20:41:47.420819109 +0200
@@ -1,0 +2,7 @@
+Tue May  5 07:38:34 UTC 2020 - Tomáš Chvátal 
+
+- Update to 1.4:
+  * Performance improvements all over the board
+- Rebase patch cmake-no-install-ocl-cmake.patch
+
+---

Old:

  mkl-dnn-1.1.3.tar.gz

New:

  mkl-dnn-1.4.tar.gz



Other differences:
--
++ mkl-dnn.spec ++
--- /var/tmp/diff_new_pack.khNiFB/_old  2020-05-06 20:41:47.920820145 +0200
+++ /var/tmp/diff_new_pack.khNiFB/_new  2020-05-06 20:41:47.924820153 +0200
@@ -18,7 +18,7 @@
 
 %define libname libdnnl1
 Name:   mkl-dnn
-Version:1.1.3
+Version:1.4
 Release:0
 Summary:Intel(R) Math Kernel Library for Deep Neural Networks
 License:Apache-2.0
@@ -89,7 +89,7 @@
 to implement deep neural networks (DNN) with C and C++ interfaces.
 
 %prep
-%setup -q
+%setup -q -n oneDNN-%{version}
 %autopatch -p1
 
 %build

++ cmake-no-install-ocl-cmake.patch ++
--- /var/tmp/diff_new_pack.khNiFB/_old  2020-05-06 20:41:47.948820202 +0200
+++ /var/tmp/diff_new_pack.khNiFB/_new  2020-05-06 20:41:47.952820211 +0200
@@ -1,24 +1,26 @@
-Index: mkl-dnn-1.1.3/src/CMakeLists.txt
+Index: oneDNN-1.4/src/CMakeLists.txt
 ===
 mkl-dnn-1.1.3.orig/src/CMakeLists.txt
-+++ mkl-dnn-1.1.3/src/CMakeLists.txt
-@@ -176,12 +176,6 @@ if(DNNL_CPU_RUNTIME STREQUAL "TBB")
- endif()
+--- oneDNN-1.4.orig/src/CMakeLists.txt
 oneDNN-1.4/src/CMakeLists.txt
+@@ -199,14 +199,6 @@ if(DNNL_CPU_RUNTIME STREQUAL "TBB")
+ DESTINATION ${LIB_CONFIG_INSTALL_DIR_COMPAT})
  endif()
  
 -if(DNNL_GPU_RUNTIME STREQUAL "OCL")
 -install(FILES
 -"../cmake/FindOpenCL.cmake"
 -DESTINATION ${LIB_CONFIG_INSTALL_DIR})
+-install(FILES 
"${CMAKE_INSTALL_PREFIX}/${LIB_CONFIG_INSTALL_DIR}/FindOpenCL.cmake"
+-DESTINATION ${LIB_CONFIG_INSTALL_DIR_COMPAT})
 -endif()
 -
  # On Windows we need to add dnnl.dll path to CTESTCONFIG_PATH which is later
  # passed to ctest and Visual Studio solutions
  if(WIN32)
-Index: mkl-dnn-1.1.3/cmake/gen_mkldnn_compat_cmakes.cmake
+Index: oneDNN-1.4/cmake/gen_mkldnn_compat_cmakes.cmake
 ===
 mkl-dnn-1.1.3.orig/cmake/gen_mkldnn_compat_cmakes.cmake
-+++ mkl-dnn-1.1.3/cmake/gen_mkldnn_compat_cmakes.cmake
+--- oneDNN-1.4.orig/cmake/gen_mkldnn_compat_cmakes.cmake
 oneDNN-1.4/cmake/gen_mkldnn_compat_cmakes.cmake
 @@ -22,7 +22,7 @@
  set(DNNL_DIR ${DIR}/dnnl)
  set(MKLDNN_DIR ${DIR}/mkldnn)

++ mkl-dnn-1.1.3.tar.gz -> mkl-dnn-1.4.tar.gz ++
 404791 lines of diff (skipped)




commit mkl-dnn for openSUSE:Leap:15.2

2020-04-12 Thread root
Hello community,

here is the log from the commit of package mkl-dnn for openSUSE:Leap:15.2 
checked in at 2020-04-12 15:38:02

Comparing /work/SRC/openSUSE:Leap:15.2/mkl-dnn (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.3248 (New)


Package is "mkl-dnn"

Sun Apr 12 15:38:02 2020 rev:3 rq:790245 version:1.1.3

Changes:

--- /work/SRC/openSUSE:Leap:15.2/mkl-dnn/mkl-dnn.changes2020-02-29 
17:16:14.337017101 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.3248/mkl-dnn.changes  
2020-04-12 15:38:03.397996928 +0200
@@ -1,0 +2,5 @@
+Tue Mar 24 10:50:57 UTC 2020 - Tomáš Chvátal 
+
+- Add constraints to not crash during testing on OOM
+
+---

New:

  _constraints



Other differences:
--
++ _constraints ++


  

  8

  




commit mkl-dnn for openSUSE:Leap:15.2

2020-02-29 Thread root
Hello community,

here is the log from the commit of package mkl-dnn for openSUSE:Leap:15.2 
checked in at 2020-02-29 17:15:42

Comparing /work/SRC/openSUSE:Leap:15.2/mkl-dnn (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.26092 (New)


Package is "mkl-dnn"

Sat Feb 29 17:15:42 2020 rev:2 rq:779968 version:1.1.3

Changes:

--- /work/SRC/openSUSE:Leap:15.2/mkl-dnn/mkl-dnn.changes2020-02-22 
17:49:35.633426115 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.mkl-dnn.new.26092/mkl-dnn.changes 
2020-02-29 17:16:14.337017101 +0100
@@ -1,0 +2,23 @@
+Thu Feb 27 12:44:00 UTC 2020 - Tomáš Chvátal 
+
+- Do not disable LTO there is no actual reason for that
+- Export LD_LIBRARY_PATH to fix older releases build
+
+---
+Wed Feb 26 10:36:26 UTC 2020 - Tomáš Chvátal 
+
+- There is no actual reason to not use github tag for tarball
+  fetching -> remove the service
+- Format with spec-cleaner
+- Use proper %cmake macros everywhere
+- Add configure options for cmake to set it up in a way we really
+  want
+- Add patch from Debian to not install OpenCL cmake finder:
+  * cmake-no-install-ocl-cmake.patch
+
+---
+Thu Feb 20 10:26:52 UTC 2020 - Christian Goll 
+
+- enabled tests 
+
+---
@@ -35,2 +57,0 @@
-
-

Old:

  _service
  mkl-dnn-v1.1.3.obscpio
  mkl-dnn.obsinfo

New:

  cmake-no-install-ocl-cmake.patch
  mkl-dnn-1.1.3.tar.gz



Other differences:
--
++ mkl-dnn.spec ++
--- /var/tmp/diff_new_pack.W2Bz7Y/_old  2020-02-29 17:16:15.077018627 +0100
+++ /var/tmp/diff_new_pack.W2Bz7Y/_new  2020-02-29 17:16:15.089018652 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mkl-dnn
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,23 @@
 
 
 %define libname libdnnl1
-%define _lto_cflags %{nil}
-
 Name:   mkl-dnn
 Version:1.1.3
 Release:0
 Summary:Intel(R) Math Kernel Library for Deep Neural Networks
 License:Apache-2.0
-Group:  Development/Libraries/C and C++
-Url:https://01.org/mkl-dnn
-Source0:%{name}-v%{version}.tar.xz
+URL:https://01.org/mkl-dnn
+Source0:
https://github.com/intel/mkl-dnn/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0: cmake-no-install-ocl-cmake.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz
+BuildRequires:  opencl-headers
+BuildRequires:  pkgconfig
 BuildRequires:  texlive-dvips-bin
-BuildRequires:  fdupes
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig(OpenCL)
 ExclusiveArch:  x86_64
 
 %description
@@ -45,7 +45,6 @@
 
 %package -n benchdnn
 Summary:Header files of Intel(R) Math Kernel Library
-Group:  Development/Languages/C and C++
 Requires:   %{libname} = %{version}
 
 %description -n benchdnn
@@ -59,7 +58,6 @@
 
 %package devel
 Summary:Header files of Intel(R) Math Kernel Library
-Group:  Development/Languages/C and C++
 Requires:   %{libname} = %{version}
 
 %description devel
@@ -74,7 +72,7 @@
 
 %package doc
 Summary:Reference documentation for the Intel(R) Math Kernel Library
-Group:  Documentation/HTML
+BuildArch:  noarch
 
 %description doc
 The reference documentation for the Intel(R) Math Kernel Library can be 
installed
@@ -82,7 +80,6 @@
 
 %package -n %{libname}
 Summary:Header files of Intel(R) Math Kernel Library
-Group:  Development/Languages/C and C++
 
 %description -n %{libname}
 Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN) is an
@@ -92,64 +89,63 @@
 to implement deep neural networks (DNN) with C and C++ interfaces.
 
 %prep
-%setup -q -n %{name}-v%{version}
+%setup -q
+%autopatch -p1
 
 %build
-# If ARCH_OPT_FLAGS is not 'unset', -march=native would be use what could
-# lead to cryptic optimizations as build server may have different CPUs
-export ARCH_OPT_FLAGS=""
-export DNNL_CPU_RUNTIME=OMP
-%cmake
-%make_jobs
-make doc
+%cmake \
+  -DCMAKE_INSTALL_LIBDIR=%{_lib} \
+  -DMKLDNN_ARCH_OPT_FLAGS="" \
+  -DDNNL_CPU_RUNTIME=OMP \
+  -DDNNL_GPU_RUNTIME=OCL \
+  -DDNNL_INSTALL_MODE=DEFAULT \
+  -DDNNL_BUILD_TESTS=ON \
+  -DDNNL_WERROR=OFF
+%cmake_build
+%cmake_build doc
 
 %install
 %cmake_install
-# move LICENSE to correct locations
-mkdir -pv %{buildroot}%{_docdir}/%{name}
-#mv