[MacPorts] #60496: py37-tensorflow at 2.2.0 Upgrade fails.
MacPorts
noreply at macports.org
Fri May 15 15:24:00 UTC 2020
#60496: py37-tensorflow at 2.2.0 Upgrade fails.
-------------------------+-----------------------------
Reporter: AndyWharton | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: py37-tensorflow
-------------------------+-----------------------------
Upgrading py37-tensorflow at 2.0.0_2+mkl+native fails during compilation
with:
{{{
:info:build external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1'
-fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign
-fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG
'-std=c++11' -iquote external/mkl_dnn_v1 -iquote bazel-
out/host/bin/external/mkl_dnn_v1 -iquote external/mkl_darwin -iquote
bazel-out/host/bin/external/mkl_darwin -isystem
external/mkl_dnn_v1/include -isystem bazel-
out/host/bin/external/mkl_dnn_v1/include -isystem external/mkl_dnn_v1/src
-isystem bazel-out/host/bin/external/mkl_dnn_v1/src -isystem
external/mkl_dnn_v1/src/common -isystem bazel-
out/host/bin/external/mkl_dnn_v1/src/common -isystem
external/mkl_dnn_v1/src/cpu -isystem bazel-
out/host/bin/external/mkl_dnn_v1/src/cpu -isystem
external/mkl_dnn_v1/src/cpu/gemm -isystem bazel-
out/host/bin/external/mkl_dnn_v1/src/cpu/gemm -isystem
external/mkl_dnn_v1/src/cpu/xbyak -isystem bazel-
out/host/bin/external/mkl_dnn_v1/src/cpu/xbyak -isystem
external/mkl_darwin/include -isystem bazel-
out/host/bin/external/mkl_darwin/include -MD -MF bazel-
out/host/bin/external/mkl_dnn_v1/_objs/mkl_dnn/convolution_pd.d '-frandom-
seed=bazel-
out/host/bin/external/mkl_dnn_v1/_objs/mkl_dnn/convolution_pd.o' -isysroot
__BAZEL_XCODE_SDKROOT__
-F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks
-F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks
'-mmacosx-version-min=10.15' -g0 '-march=native' -g0 '-std=c++14'
-fexceptions -DUSE_MKL -DUSE_CBLAS -UUSE_MKL -UUSE_CBLAS -no-canonical-
prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"'
'-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c
external/mkl_dnn_v1/src/common/convolution_pd.cpp -o bazel-
out/host/bin/external/mkl_dnn_v1/_objs/mkl_dnn/convolution_pd.o)
:info:build ERROR:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py37-tensorflow/work/d4cdc6a3d739c71cb25b01f8ca4c8702/external/mkl_dnn_v1/BUILD.bazel:52:1:
C++ compilation of rule '@mkl_dnn_v1//:mkl_dnn' failed (Exit 1)
:info:build In file included from
external/mkl_dnn_v1/src/cpu/ref_batch_normalization.cpp:22:
:info:build external/mkl_dnn_v1/src/common/dnnl_thread.hpp:42:10: fatal
error: 'omp.h' file not found
:info:build #include <omp.h>
:info:build ^~~~~~~
:info:build 1 error generated.
}}}
Should upgrades force MKL off until the build has been fixed?
--
Ticket URL: <https://trac.macports.org/ticket/60496>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list