mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
TensorFlow 2: Build AMD64 binaries with Prescott compatibility #4979
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
4484b885d4
commit
80e6d02509
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ download:
|
|||
# Clang command line argument reference:
|
||||
# https://clang.llvm.org/docs/ClangCommandLineReference.html#x86
|
||||
libtensorflow:
|
||||
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 --copt=-mno-avx --copt=-mno-avx2 --copt=-mno-fma --copt=-march=pentium4
|
||||
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 --copt=-mno-avx --copt=-mno-avx2 --copt=-mno-fma --copt=-march=prescott
|
||||
./create_archive.sh amd64 $(TF_VERSION)
|
||||
libtensorflow-ssse3:
|
||||
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 --copt=-mno-avx --copt=-mno-avx2 --copt=-mno-fma --copt=-march=core2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue