commit tensorflow2 for openSUSE:Factory

2020-09-02 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-09-03 01:15:13

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3399 (New)


Package is "tensorflow2"

Thu Sep  3 01:15:13 2020 rev:13 rq:828227 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-07-01 
18:22:43.581955874 +0200
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3399/tensorflow2.changes
2020-09-03 01:16:07.756514131 +0200
@@ -1,0 +2,10 @@
+Thu Aug 20 15:06:34 UTC 2020 - Guillaume GARDET 
+
+- Lower memoryperjob to 1300 MB (as done for tensorflow)
+
+---
+Thu Aug 20 09:06:46 UTC 2020 - Martin Liška 
+
+- Use memoryperjob constraint instead of %limit_build macro.
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.bXMrfP/_old  2020-09-03 01:16:09.688514842 +0200
+++ /var/tmp/diff_new_pack.bXMrfP/_new  2020-09-03 01:16:09.692514843 +0200
@@ -256,7 +256,6 @@
 BuildRequires:  libpng16-compat-devel
 BuildRequires:  libpng16-devel
 BuildRequires:  lmdb-devel
-BuildRequires:  memory-constraints
 BuildRequires:  nasm
 BuildRequires:  pcre-devel
 # Requiring 3.9.1 which is the actual one in Leap 15.2
@@ -475,7 +474,6 @@
 
 %build
 %if !%{is_lite}
-%limit_build -m 6000
 %endif
 
 %if %{is_lite}

++ _constraints ++
--- /var/tmp/diff_new_pack.bXMrfP/_old  2020-09-03 01:16:09.716514852 +0200
+++ /var/tmp/diff_new_pack.bXMrfP/_new  2020-09-03 01:16:09.720514854 +0200
@@ -1,10 +1,14 @@
+
 
   
 
- 10
+  10
 
 
   10
 
+
+  1300
+
   
 







commit tensorflow2 for openSUSE:Factory

2020-07-01 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-07-01 18:22:41

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3060 (New)


Package is "tensorflow2"

Wed Jul  1 18:22:41 2020 rev:12 rq:817873 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-06-27 
23:22:29.285804095 +0200
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3060/tensorflow2.changes
2020-07-01 18:22:43.581955874 +0200
@@ -1,0 +2,5 @@
+Thu Jun 25 12:00:33 UTC 2020 - Christian Goll 
+
+- fixed build with json_cpp 1.9.3 (bsc#1173314)
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.OufpbI/_old  2020-07-01 18:22:45.025960328 +0200
+++ /var/tmp/diff_new_pack.OufpbI/_new  2020-07-01 18:22:45.025960328 +0200
@@ -444,9 +444,7 @@
 %patch12 -p 1
 %patch13 -p 1
 %patch14 -p 1
-%if 0%{?suse_version} > 1500 
 %patch17 -p 1
-%endif
 %patch18 -p 1
 
 %if %{is_lite}




++ json-feature-name.patch ++
--- /var/tmp/diff_new_pack.OufpbI/_old  2020-07-01 18:22:45.117960612 +0200
+++ /var/tmp/diff_new_pack.OufpbI/_new  2020-07-01 18:22:45.117960612 +0200
@@ -1,17 +1,22 @@
-From 5325153ccbcc0e172b6af2e421cec79449beee14 Mon Sep 17 00:00:00 2001
+From 6efb1e3e8fe4ae50389ebb3fc37b0d6331c9c13e Mon Sep 17 00:00:00 2001
 From: Christian Goll 
 Date: Mon, 10 Feb 2020 17:21:41 +0100
-Subject: [PATCH 8/8] json feature name
+Subject: [PATCH 3/3] json feature name
 
 ---
- third_party/systemlibs/jsoncpp.BUILD | 2 ++
- 1 file changed, 2 insertions(+)
+ third_party/systemlibs/jsoncpp.BUILD | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/third_party/systemlibs/jsoncpp.BUILD 
b/third_party/systemlibs/jsoncpp.BUILD
-index 0816930309..7a293e6c68 100644
+index 0816930309..c15f515695 100644
 --- a/third_party/systemlibs/jsoncpp.BUILD
 +++ b/third_party/systemlibs/jsoncpp.BUILD
-@@ -13,6 +13,7 @@ HEADERS = [
+@@ -8,11 +8,11 @@ filegroup(
+ HEADERS = [
+ "include/json/allocator.h",
+ "include/json/assertions.h",
+-"include/json/autolink.h",
+ "include/json/config.h",
  "include/json/features.h",
  "include/json/forwards.h",
  "include/json/json.h",
@@ -19,7 +24,7 @@
  "include/json/reader.h",
  "include/json/value.h",
  "include/json/version.h",
-@@ -27,6 +28,7 @@ genrule(
+@@ -27,6 +27,7 @@ genrule(
  i=$${i##*/}
  ln -sf $(INCLUDEDIR)/json/$$i $(@D)/include/json/$$i
done




commit tensorflow2 for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-06-27 23:22:24

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3060 (New)


Package is "tensorflow2"

Sat Jun 27 23:22:24 2020 rev:11 rq:817242 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-06-17 
14:53:20.337597832 +0200
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3060/tensorflow2.changes
2020-06-27 23:22:29.285804095 +0200
@@ -1,0 +2,5 @@
+Fri Jun 19 11:21:59 UTC 2020 - Christian Goll 
+
+- fixed local CUDA builds 
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.dMEeiT/_old  2020-06-27 23:22:30.741808882 +0200
+++ /var/tmp/diff_new_pack.dMEeiT/_new  2020-06-27 23:22:30.745808896 +0200
@@ -220,7 +220,7 @@
 BuildRequires:  cuda-libraries-10-1
 BuildRequires:  libcublas-devel
 BuildRequires:  libcudnn7-devel
-BuildRequires:  libnccl2-devel
+BuildRequires:  libnccl-devel
 %endif
 %if %{with opencl}
 Requires:   Mesa-libOpenCL
@@ -308,12 +308,7 @@
 %if "%flavor" == ""
 ExclusiveArch:  do_not_build
 %endif
-%if 0%{is_opensuse}
-%if "%{flavor}" == "cuda-10-1"
-# openSUSE has no CUDA package
-ExclusiveArch:  do_not_build
-%endif
-%endif
+
 %if %{is_lite}
 ExcludeArch:%ix86
 %else
@@ -551,12 +546,12 @@
 zlib_archive"
 
 %if %{with cuda}
-export PATH=PATH=/usr/lib/cuda-10.1/bin/:${PATH}
-export CUDA_HOME="/usr/lib/cuda-10.1,/usr"
-export CUDA_TOOLKIT_PATH=/"usr/lib/cuda-10.1,/usr"
-export TF_CUDA_PATHS="/usr/lib/cuda-10.1,/usr"
+export PATH=PATH="/usr/local/cuda-10.1/bin/:${PATH}"
+export CUDA_HOME="/usr/local/cuda-10.1,/usr"
+export CUDA_TOOLKIT_PATH=/"usr/local/cuda-10.1,/usr"
+export TF_CUDA_PATHS="/usr/local/cuda-10.1,/usr"
 export TF_NEED_CUDA=1 
-export TF_NCCL_VERSION=2.5.7
+export TF_NCCL_VERSION=2.7.3
 %else
 export TF_NEED_CUDA=0
 %endif
@@ -578,7 +573,7 @@
 mkdir %{_topdir}/bin
 cd %{_topdir}/bin
 ln -s $(which python3) python
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} > 1500
 %if %{with cuda}
 ln -s $(which gcc-7) gcc
 ln -s $(which g++-7) g++

++ _multibuild ++
--- /var/tmp/diff_new_pack.dMEeiT/_old  2020-06-27 23:22:30.789809040 +0200
+++ /var/tmp/diff_new_pack.dMEeiT/_new  2020-06-27 23:22:30.789809040 +0200
@@ -1,6 +1,5 @@
 
   standard
-  cuda-10-1
   lite
   hpc
   hpc-openmpi2







commit tensorflow2 for openSUSE:Factory

2020-06-17 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-06-17 14:52:27

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3606 (New)


Package is "tensorflow2"

Wed Jun 17 14:52:27 2020 rev:10 rq:815289 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-05-28 
09:13:13.444590647 +0200
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3606/tensorflow2.changes
2020-06-17 14:53:20.337597832 +0200
@@ -1,0 +2,9 @@
+Tue Jun 16 09:27:33 UTC 2020 - Christian Goll 
+
+- updated to 2.1.1 which is a bug fix release mostly for external
+  sources which are not part of this package (sqlite,libjpeg-turbo,
+  Apache Spark)
+  * Fixes a versioning bug which causes Keras layers from TF 1.x to 
+  be used instead of those from TF 2.x
+
+---

Old:

  tensorflow-v2.1.0.tar.gz

New:

  tensorflow-v2.1.1.tar.gz



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.wNhHob/_old  2020-06-17 14:53:23.941610172 +0200
+++ /var/tmp/diff_new_pack.wNhHob/_new  2020-06-17 14:53:23.945610186 +0200
@@ -18,11 +18,11 @@
 
 #
 %define pname tensorflow2
-%define vers 2.1.0
-%define _vers 2_1_0
+%define vers 2.1.1
+%define _vers 2_1_1
 %define libmaj 2
 %define libmin 1
-%define libref 0
+%define libref 1
 %define python_ver_hack python3.[0-9]
 
 %global flavor @BUILD_FLAVOR@%{nil}




++ removed-docker-tools.patch ++
--- /var/tmp/diff_new_pack.wNhHob/_old  2020-06-17 14:53:24.085610665 +0200
+++ /var/tmp/diff_new_pack.wNhHob/_new  2020-06-17 14:53:24.085610665 +0200
@@ -1,16 +1,14 @@
-From 3a8d6f13328bae398fe61b2f58b27ae1eb4b68dc Mon Sep 17 00:00:00 2001
+From 81700042e3a4ceef3351c5569e785f91e54ab8e3 Mon Sep 17 00:00:00 2001
 From: Christian Goll 
 Date: Wed, 15 Jan 2020 14:09:40 +0100
-Subject: [PATCH 1/2] removed docker tools
+Subject: [PATCH] removed docker tools
 
 ---
- WORKSPACE | 55 -
- .../preconfig/generate/workspace.bzl  | 77 ---
- 2 files changed, 132 deletions(-)
- delete mode 100644 third_party/toolchains/preconfig/generate/workspace.bzl
+ WORKSPACE | 55 ---
+ 1 file changed, 55 deletions(-)
 
 diff --git a/WORKSPACE b/WORKSPACE
-index babb14b509..d5a9e1ba68 100644
+index bcdd4f46e2..d5a9e1ba68 100644
 --- a/WORKSPACE
 +++ b/WORKSPACE
 @@ -29,61 +29,6 @@ 
load("//third_party/toolchains/preconfig/generate:archives.bzl",
@@ -55,7 +53,7 @@
 -http_archive(
 -name = "bazel_skylib",
 -sha256 = 
"1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0",
--urls = 
["https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel-skylib.0.9.0.tar.gz;],
+-urls = 
["https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz;],
 -)  # https://github.com/bazelbuild/bazel-skylib/releases
 -http_archive(
 -name = "com_github_apple_swift_swift_protobuf",
@@ -75,89 +73,6 @@
  
  # We must check the bazel version before trying to parse any other BUILD
  # files, in case the parsing of those build files depends on the bazel
-diff --git a/third_party/toolchains/preconfig/generate/workspace.bzl 
b/third_party/toolchains/preconfig/generate/workspace.bzl
-deleted file mode 100644
-index 81b57dfa8a..00
 a/third_party/toolchains/preconfig/generate/workspace.bzl
-+++ /dev/null
-@@ -1,77 +0,0 @@
--load(
--"@io_bazel_rules_docker//repositories:repositories.bzl",
--container_repositories = "repositories",
--)
--load(
--"@io_bazel_rules_docker//container:container.bzl",
--"container_pull",
--)
--load(":containers.bzl", "container_digests")
--
--def _remote_config_workspace():
--container_repositories()
--
--container_pull(
--name = "centos6",
--registry = "gcr.io",
--repository = "tensorflow-testing/nosla-centos6",
--digest = container_digests["centos6"],
--)
--
--container_pull(
--name = "ubuntu16.04",
--registry = "gcr.io",
--repository = "tensorflow-testing/nosla-ubuntu16.04",
--digest = container_digests["ubuntu16.04"],
--)
--
--container_pull(
--name = "cuda10.0-cudnn7-ubuntu14.04",
--registry = "gcr.io",
--repository = "tensorflow-testing/nosla-cuda10.0-cudnn7-ubuntu14.04",
--digest = container_digests["cuda10.0-cudnn7-ubuntu14.04"],
--)
--
--container_pull(
--name = "cuda10.0-cudnn7-centos6",
--registry = "gcr.io",
--repository = 

commit tensorflow2 for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-05-28 09:12:54

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3606 (New)


Package is "tensorflow2"

Thu May 28 09:12:54 2020 rev:9 rq:808912 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-04-08 
19:55:46.533083590 +0200
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3606/tensorflow2.changes
2020-05-28 09:13:13.444590647 +0200
@@ -1,0 +2,7 @@
+Mon May 25 15:44:40 UTC 2020 - Christian Goll 
+
+- fixed broken builds which were caused due to missing dependency
+  on @com_google_absl//absl/strings in various BUILD files
+- added patch: fix-google-absl-memory.patch
+
+---

New:

  fix-google-absl-memory.patch



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.lmGCZa/_old  2020-05-28 09:13:15.156594784 +0200
+++ /var/tmp/diff_new_pack.lmGCZa/_new  2020-05-28 09:13:15.156594784 +0200
@@ -179,6 +179,7 @@
 Patch13:remove-weakref.patch
 Patch14:fix-lite.patch
 Patch17:json-feature-name.patch
+Patch18:fix-google-absl-memory.patch
 
 Requires:   python3
 Requires:   python3-Keras-Applications
@@ -451,6 +452,7 @@
 %if 0%{?suse_version} > 1500 
 %patch17 -p 1
 %endif
+%patch18 -p 1
 
 %if %{is_lite}
 mkdir tensorflow/lite/tools/make/downloads/


++ fix-google-absl-memory.patch ++
>From 501c631ba6c10c0dc91193aca45f23a617f6f036 Mon Sep 17 00:00:00 2001
From: Christian Goll 
Date: Mon, 25 May 2020 17:35:00 +0200
Subject: [PATCH] fix google absl memory bazel fails when dependency of
 @com_google_absl//absl/memory is added without @com_google_absl//absl/strings

---
 tensorflow/lite/kernels/BUILD| 1 +
 tensorflow/lite/tools/optimize/BUILD | 5 +
 tensorflow/lite/tools/optimize/calibration/BUILD | 4 
 3 files changed, 10 insertions(+)

diff --git a/tensorflow/lite/kernels/BUILD b/tensorflow/lite/kernels/BUILD
index f717c785dc..656bb69a01 100644
--- a/tensorflow/lite/kernels/BUILD
+++ b/tensorflow/lite/kernels/BUILD
@@ -539,6 +539,7 @@ cc_library(
 "//tensorflow/lite/kernels/internal:types",
 "//third_party/eigen3",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 "@farmhash_archive//:farmhash",
 "@flatbuffers",
 ],
diff --git a/tensorflow/lite/tools/optimize/BUILD 
b/tensorflow/lite/tools/optimize/BUILD
index ff5ebbd979..d1a264502e 100644
--- a/tensorflow/lite/tools/optimize/BUILD
+++ b/tensorflow/lite/tools/optimize/BUILD
@@ -37,6 +37,7 @@ tf_cc_test(
 "//tensorflow/lite:framework",
 "//tensorflow/lite/schema:schema_fbs",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 "@com_google_googletest//:gtest",
 "@flatbuffers",
 ],
@@ -59,6 +60,7 @@ cc_library(
 "//tensorflow/lite/schema:schema_fbs",
 "//third_party/eigen3",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 ],
 )
 
@@ -73,6 +75,7 @@ cc_library(
 "//tensorflow/lite/kernels/internal:types",
 "//tensorflow/lite/schema:schema_fbs",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 ],
 )
 
@@ -128,6 +131,7 @@ tf_cc_test(
 "//tensorflow/lite/schema:schema_fbs",
 "//tensorflow/lite/testing:util",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 "@com_google_googletest//:gtest",
 "@flatbuffers",
 ],
@@ -141,6 +145,7 @@ cc_library(
 ":quantization_utils",
 ":model_utils",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 "@com_google_absl//absl/container:flat_hash_map",
 "@flatbuffers",
 "//tensorflow/lite:framework",
diff --git a/tensorflow/lite/tools/optimize/calibration/BUILD 
b/tensorflow/lite/tools/optimize/calibration/BUILD
index be7156d54e..3a3d211684 100644
--- a/tensorflow/lite/tools/optimize/calibration/BUILD
+++ b/tensorflow/lite/tools/optimize/calibration/BUILD
@@ -25,6 +25,7 @@ cc_library(
 "//tensorflow/lite/kernels:builtin_ops",
 "//tensorflow/lite/schema:schema_fbs",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 "@flatbuffers",
 ],
 )
@@ -49,6 +50,7 @@ tf_cc_test(
 "//tensorflow/lite:framework",
 "//tensorflow/lite/kernels:builtin_ops",
 "@com_google_absl//absl/memory",
+"@com_google_absl//absl/strings",
 

commit tensorflow2 for openSUSE:Factory

2020-04-08 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-04-08 19:55:45

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3248 (New)


Package is "tensorflow2"

Wed Apr  8 19:55:45 2020 rev:8 rq:791970 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-27 
22:00:56.110919713 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3248/tensorflow2.changes
2020-04-08 19:55:46.533083590 +0200
@@ -1,0 +2,10 @@
+Tue Apr  7 09:43:28 UTC 2020 - Christian Goll 
+
+- added mkl-ddn as source and do not use system mkl-dnn (bsc#1168839)
+- removed patches:
+  * fixed-mkl-sgemm-call.patch
+  * added-mkl_dnn-as-syslib.patch
+- added source:
+  mkl-v0.21.2.tar.gz
+
+---

Old:

  added-mkl_dnn-as-syslib.patch
  fixed-mkl-sgemm-call.patch

New:

  mkl-v0.21.2.tar.gz



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.BYw8wT/_old  2020-04-08 19:55:50.673086614 +0200
+++ /var/tmp/diff_new_pack.BYw8wT/_new  2020-04-08 19:55:50.677086617 +0200
@@ -166,6 +166,10 @@
 Source54:   
https://github.com/llvm/llvm-project/archive/ecc999101aadc8dc7d4af9fd88be10fe42674aa0.tar.gz#/llvm.tar.gz
 # License56:
 Source56:   
https://github.com/mborgerding/kissfft/archive/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz#/kissfft.tar.gz
+# stable mkl version (bsc#1168839)
+# https://github.com/tensorflow/tensorflow/pull/36487
+# https://github.com/tensorflow/tensorflow/pull/36488
+Source57:   
https://storage.googleapis.com/mirror.tensorflow.org/github.com/intel/mkl-dnn/archive/v0.21.2.tar.gz#/mkl-v0.21.2.tar.gz
 Source100:  
https://github.com/google/googletest/archive/release-1.8.0.tar.gz
 
 Patch10:removed-docker-tools.patch
@@ -174,10 +178,6 @@
 Patch12:right-json-location.patch
 Patch13:remove-weakref.patch
 Patch14:fix-lite.patch
-# https://github.com/tensorflow/tensorflow/pull/36488
-Patch15:added-mkl_dnn-as-syslib.patch
-# https://github.com/tensorflow/tensorflow/pull/36487
-Patch16:fixed-mkl-sgemm-call.patch
 Patch17:json-feature-name.patch
 
 Requires:   python3
@@ -256,9 +256,6 @@
 BuildRequires:  libpng16-devel
 BuildRequires:  lmdb-devel
 BuildRequires:  memory-constraints
-%ifarch x86_64
-BuildRequires:  mkl-dnn-devel
-%endif
 BuildRequires:  nasm
 BuildRequires:  pcre-devel
 # Requiring 3.9.1 which is the actual one in Leap 15.2
@@ -440,6 +437,7 @@
 %makebazelcache %{SOURCE53}
 %makebazelcache %{SOURCE54}
 %makebazelcache %{SOURCE56}
+%makebazelcache %{SOURCE57}
 
 # unpack tensorflow
 
@@ -450,8 +448,6 @@
 %patch12 -p 1
 %patch13 -p 1
 %patch14 -p 1
-%patch15 -p 1
-%patch16 -p 1
 %if 0%{?suse_version} > 1500 
 %patch17 -p 1
 %endif
@@ -538,7 +534,6 @@
 jsoncpp_git,\
 keras_applications_archive,\
 lmdb,\
-mkl_dnn,\
nasm,\
 nsync,\
 opt_einsum_archive,\
@@ -589,8 +584,6 @@
 %endif
 export PATH=%{_topdir}/bin/:${PATH}
 cd -
-#  --repository_cache=%{bz_cachdir} \
-#  'attr(visibility, "//visibility:public", //tensorflow:*)'
 ./configure
 
 %define bazelopts \\\
@@ -599,10 +592,10 @@
   --ignore_unsupported_sandboxing \\\
   --verbose_failures \\\
   --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" \\\
-  --config=v2 \\\
-  --config=noaws \\\
   --define=build_with_mkl_dnn_only=true \\\
   --define=tensorflow_mkldnn_contraction_kernel=0 \\\
+  --config=v2 \\\
+  --config=noaws \\\
   --incompatible_no_support_tools_in_action_inputs=false \\\
   --override_repository="rules_cc=/usr/src/bazel-rules-cc" \\\
   --override_repository="bazel_skylib=/usr/src/bazel-skylib"\\\







commit tensorflow2 for openSUSE:Factory

2020-03-27 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-27 22:00:35

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3160 (New)


Package is "tensorflow2"

Fri Mar 27 22:00:35 2020 rev:7 rq:788959 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-24 
22:38:03.949256304 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3160/tensorflow2.changes
2020-03-27 22:00:56.110919713 +0100
@@ -1,0 +2,10 @@
+Fri Mar 27 09:44:32 UTC 2020 - Guillaume GARDET 
+
+- tensorflow2-lite-devel does not requires libtensorflow*
+
+---
+Thu Mar 26 08:41:54 UTC 2020 - Christian Goll 
+
+- removed hpc-mvapich2 build (bsc#1167735) 
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.c4jwCI/_old  2020-03-27 22:00:59.786921851 +0100
+++ /var/tmp/diff_new_pack.c4jwCI/_new  2020-03-27 22:00:59.790921853 +0100
@@ -339,9 +339,11 @@
 Provides:   %{package_name_provide}-devel
 %endif
 Conflicts:  %{package_name_conflict}-devel
+%if !%{is_lite}
 Requires:   libtensorflow%{libmaj}%{?hpc_package_name_tail} = %{version}
 Requires:   libtensorflow_cc%{libmaj}%{?hpc_package_name_tail} = %{version}
 Requires:   libtensorflow_framework%{libmaj}%{?hpc_package_name_tail} = 
%{version}
+%endif
 
 %description  -n %{package_name}-devel
 This open source software library for numerical computation is used for data

++ _multibuild ++
--- /var/tmp/diff_new_pack.c4jwCI/_old  2020-03-27 22:00:59.838921881 +0100
+++ /var/tmp/diff_new_pack.c4jwCI/_new  2020-03-27 22:00:59.838921881 +0100
@@ -4,5 +4,7 @@
   lite
   hpc
   hpc-openmpi2
+  
 







commit tensorflow2 for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-24 22:35:57

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3160 (New)


Package is "tensorflow2"

Tue Mar 24 22:35:57 2020 rev:6 rq:787674 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-22 
14:16:33.558033297 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3160/tensorflow2.changes
2020-03-24 22:38:03.949256304 +0100
@@ -1,0 +2,5 @@
+Tue Mar 24 04:16:57 UTC 2020 - Bernhard Wiedemann 
+
+- Use pip install --no-compile (boo#1094323)
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.8KSyX6/_old  2020-03-24 22:38:07.369257965 +0100
+++ /var/tmp/diff_new_pack.8KSyX6/_new  2020-03-24 22:38:07.373257968 +0100
@@ -648,7 +648,7 @@
 %else
 
 pip install %{_topdir}/%{name}-%{version}/*whl 
--root=%{buildroot}%{?hpc_prefix} \
-   --no-warn-script-location --no-index --no-deps 
+   --no-warn-script-location --no-index --no-deps --no-compile
 # remove spurious executeable bits
 # for hpc build remove usr prefix dir
 %if %{with hpc} 







commit tensorflow2 for openSUSE:Factory

2020-03-22 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-22 14:16:29

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3160 (New)


Package is "tensorflow2"

Sun Mar 22 14:16:29 2020 rev:5 rq:786719 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-18 
12:39:48.348742660 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3160/tensorflow2.changes
2020-03-22 14:16:33.558033297 +0100
@@ -1,0 +2,5 @@
+Fri Mar 20 07:00:40 UTC 2020 - Guillaume GARDET 
+
+- Lite flavor should not provide python3-tensorflow nor tensorflow
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.k3FTcZ/_old  2020-03-22 14:16:37.462035802 +0100
+++ /var/tmp/diff_new_pack.k3FTcZ/_new  2020-03-22 14:16:37.474035810 +0100
@@ -196,12 +196,14 @@
 Requires:   python3-numpy
 %endif
 Requires:   python3-pip
+%if !%{is_lite}
 %if %{with hpc}
 Provides:   python3-tensorflow-%{compiler_family}%{?c_f_ver}-hpc
 %else
 Provides:   python3-tensorflow
 %endif
 Provides:   tensorflow
+%endif
 BuildRequires:  bazel = 0.29.1
 BuildRequires:  bazel-rules-cc-source
 BuildRequires:  bazel-skylib-source







commit tensorflow2 for openSUSE:Factory

2020-03-18 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-18 12:26:26

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3160 (New)


Package is "tensorflow2"

Wed Mar 18 12:26:26 2020 rev:4 rq:785546 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-11 
18:51:50.379580804 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3160/tensorflow2.changes
2020-03-18 12:39:48.348742660 +0100
@@ -1,0 +2,8 @@
+Fri Mar 13 15:25:38 UTC 2020 - Christian Goll 
+
+- removed sources of bazel sources and replaced them by internal packages
+ * rules-cc.zip removed
+ * bazel-toolchains.tar.gz removed
+ * bazel-skylib.0.8.0.tar.gz removed
+
+---

Old:

  bazel-skylib.0.8.0.tar.gz
  bazel-toolchains.tar.gz
  rules_cc.zip



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.iW7j2c/_old  2020-03-18 12:39:52.808745481 +0100
+++ /var/tmp/diff_new_pack.iW7j2c/_new  2020-03-18 12:39:52.812745484 +0100
@@ -151,18 +151,12 @@
 Source34:   
https://github.com/edenhill/librdkafka/archive/v0.11.5.tar.gz#/kafka-v0.11.5.tar.gz
 # License35: Apache-2.0
 Source35:   
https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v0.4.0.tar.gz#/google-cloud-cpp.tar.gz
-# License36: Apache-2.0
-Source36:   
https://github.com/bazelbuild/bazel-toolchains/archive/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz#/bazel-toolchains.tar.gz
 # License37: Apache-2.0
 Source37:   
https://github.com/bazelbuild/rules_docker/archive/a9bb1dab84cdf46e34d1b34b53a17bda129b5eba.tar.gz#/rules_docker.tar.gz
 # License44: BSD like
 Source44:   
https://github.com/nanopb/nanopb/archive/f8ac463766281625ad710900479130c7fcb4d63b.tar.gz#/nanopb.tar.gz
 # License45: Python license itself, do need as sha256b have to match so could 
not use system one
 Source45:   
https://storage.googleapis.com/mirror.tensorflow.org/docs.python.org/2.7/_sources/license.rst.txt#/python-license.txt
-# License50: Apache-2.0
-Source50:   
https://github.com/bazelbuild/bazel-skylib/releases/download/0.8.0/bazel-skylib.0.8.0.tar.gz
-# License51: Apache-2.0
-Source51:   
https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip#/rules_cc.zip
 # License52:
 Source52:   
https://github.com/pybind/pybind11/archive/v2.3.0.tar.gz#/pybind11-v2.3.0.tar.gz
 # Deps sources for Tensorflow-Lite (use same eigen, gemmlowp and abseil_cpp 
packages as non lite version)
@@ -207,10 +201,11 @@
 %else
 Provides:   python3-tensorflow
 %endif
-%if !%{is_lite}
 Provides:   tensorflow
-%endif
 BuildRequires:  bazel = 0.29.1
+BuildRequires:  bazel-rules-cc-source
+BuildRequires:  bazel-skylib-source
+BuildRequires:  bazel-toolchains-source
 BuildRequires:  curl
 %if %{with cuda}
 BuildRequires:  cuda-compiler-10-1
@@ -434,12 +429,9 @@
 %makebazelcache %{SOURCE30}
 %makebazelcache %{SOURCE34}
 %makebazelcache %{SOURCE35}
-%makebazelcache %{SOURCE36}
 %makebazelcache %{SOURCE37}
 %makebazelcache %{SOURCE44}
 %makebazelcache %{SOURCE45}
-%makebazelcache %{SOURCE50}
-%makebazelcache %{SOURCE51}
 %makebazelcache %{SOURCE52}
 %makebazelcache %{SOURCE53}
 %makebazelcache %{SOURCE54}
@@ -596,18 +588,26 @@
 #  --repository_cache=%{bz_cachdir} \
 #  'attr(visibility, "//visibility:public", //tensorflow:*)'
 ./configure
-bazel build \
-  --repository_cache=%{bz_cachdir} \
-  --ignore_unsupported_sandboxing \
-   --verbose_failures \
-  --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" \
-  --config=v2 \
-  --config=noaws \
-  --define=build_with_mkl_dnn_only=true \
-  --define=tensorflow_mkldnn_contraction_kernel=0 \
-  --incompatible_no_support_tools_in_action_inputs=false \
-   %{?copts} --jobs %{?jobs} \
-   //tensorflow/tools/pip_package:build_pip_package
+
+%define bazelopts \\\
+  -c opt \\\
+  --repository_cache=%{bz_cachdir} \\\
+  --ignore_unsupported_sandboxing \\\
+  --verbose_failures \\\
+  --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" \\\
+  --config=v2 \\\
+  --config=noaws \\\
+  --define=build_with_mkl_dnn_only=true \\\
+  --define=tensorflow_mkldnn_contraction_kernel=0 \\\
+  --incompatible_no_support_tools_in_action_inputs=false \\\
+  --override_repository="rules_cc=/usr/src/bazel-rules-cc" \\\
+  --override_repository="bazel_skylib=/usr/src/bazel-skylib"\\\
+  --override_repository="rules_toolchains=/usr/src/bazel-rules-toolchains" \\\
+  %{?copts} \\\
+  --jobs %{?jobs} \\\
+%{nil}
+
+bazel build %{bazelopts} tensorflow/tools/pip_package:build_pip_package
 
 bazel-bin/tensorflow/tools/pip_package/build_pip_package 

commit tensorflow2 for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-11 18:49:56

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.3160 (New)


Package is "tensorflow2"

Wed Mar 11 18:49:56 2020 rev:3 rq:783473 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-06 
21:28:25.329591671 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3160/tensorflow2.changes
2020-03-11 18:51:50.379580804 +0100
@@ -1,0 +2,7 @@
+Mon Mar  9 21:22:29 UTC 2020 - Guillaume GARDET 
+
+- Lite flavor should not provide "tensorflow", otherwise 
+  tensorlfow2-devel and tensorlfow2-lite-devel conflict and break
+  armnn
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.FiRzN9/_old  2020-03-11 18:51:53.359582137 +0100
+++ /var/tmp/diff_new_pack.FiRzN9/_new  2020-03-11 18:51:53.363582139 +0100
@@ -207,7 +207,9 @@
 %else
 Provides:   python3-tensorflow
 %endif
+%if !%{is_lite}
 Provides:   tensorflow
+%endif
 BuildRequires:  bazel = 0.29.1
 BuildRequires:  curl
 %if %{with cuda}








commit tensorflow2 for openSUSE:Factory

2020-03-06 Thread root
Hello community,

here is the log from the commit of package tensorflow2 for openSUSE:Factory 
checked in at 2020-03-06 21:28:13

Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old)
 and  /work/SRC/openSUSE:Factory/.tensorflow2.new.26092 (New)


Package is "tensorflow2"

Fri Mar  6 21:28:13 2020 rev:2 rq:782035 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes  2020-03-01 
21:27:55.976546596 +0100
+++ /work/SRC/openSUSE:Factory/.tensorflow2.new.26092/tensorflow2.changes   
2020-03-06 21:28:25.329591671 +0100
@@ -1,0 +2,6 @@
+Thu Mar  5 16:49:47 UTC 2020 - Christian Goll 
+
+- added Provides: tensorflow, so that Kerase works with this package
+  and fixed Leap 15.2 build
+
+---



Other differences:
--
++ tensorflow2.spec ++
--- /var/tmp/diff_new_pack.rj3dXU/_old  2020-03-06 21:28:28.889593865 +0100
+++ /var/tmp/diff_new_pack.rj3dXU/_new  2020-03-06 21:28:28.889593865 +0100
@@ -207,27 +207,28 @@
 %else
 Provides:   python3-tensorflow
 %endif
+Provides:   tensorflow
 BuildRequires:  bazel = 0.29.1
 BuildRequires:  curl
 %if %{with cuda}
 BuildRequires:  cuda-compiler-10-1
-BuildRequires:  cuda-libraries-10-1
+BuildRequires:  cuda-cufft-dev-10-1
 BuildRequires:  cuda-cupti-10-1
 BuildRequires:  cuda-curand-dev-10-1
 BuildRequires:  cuda-cusolver-dev-10-1
 BuildRequires:  cuda-cusparse-dev-10-1
-BuildRequires:  cuda-cufft-dev-10-1
+BuildRequires:  cuda-libraries-10-1
 BuildRequires:  libcublas-devel
-BuildRequires:  libnccl2-devel
 BuildRequires:  libcudnn7-devel
+BuildRequires:  libnccl2-devel
 %endif
 %if %{with opencl}
 Requires:   Mesa-libOpenCL
 BuildRequires:  opencl-cpp-headers
 BuildRequires:  opencl-headers
 %endif
-BuildRequires:  curl-devel
 BuildRequires:  boringssl-devel
+BuildRequires:  curl-devel
 BuildRequires:  double-conversion-devel >= 3.1.5
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
@@ -339,9 +340,9 @@
 Provides:   %{package_name_provide}-devel
 %endif
 Conflicts:  %{package_name_conflict}-devel
-Requires:   libtensorflow_framework%{libmaj}%{?hpc_package_name_tail} = 
%{version}
-Requires:   libtensorflow_cc%{libmaj}%{?hpc_package_name_tail} = %{version}
 Requires:   libtensorflow%{libmaj}%{?hpc_package_name_tail} = %{version}
+Requires:   libtensorflow_cc%{libmaj}%{?hpc_package_name_tail} = %{version}
+Requires:   libtensorflow_framework%{libmaj}%{?hpc_package_name_tail} = 
%{version}
 
 %description  -n %{package_name}-devel
 This open source software library for numerical computation is used for data
@@ -453,7 +454,9 @@
 %patch14 -p 1
 %patch15 -p 1
 %patch16 -p 1
+%if 0%{?suse_version} > 1500 
 %patch17 -p 1
+%endif
 
 %if %{is_lite}
 mkdir tensorflow/lite/tools/make/downloads/
@@ -499,8 +502,8 @@
 %if %{with mpi}
 module load %mpi_flavor
 export MPI_HOME=${MPI_HOME:-$MPI_DIR}
-%endif #mpi
-%endif #hpc
+%endif
+%endif
 #rm 
/home/abuild/rpmbuild/SOURCES/BAZEL/_bazel_abuild/bffdb097c5cf04768665f957f68c33f9/external/bazel_toolchains/repositories/repositories.bzl
 export TEST_TMPDIR=%{bazeldir}
 export PYTHON_LIB_PATH=%{python3_sitearch}