mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
10 lines
410 B
Makefile
10 lines
410 B
Makefile
# -march see https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.html
|
|
|
|
all: libtensorflow
|
|
download:
|
|
wget https://github.com/tensorflow/tensorflow/archive/v$(TF_VERSION).tar.gz
|
|
tar -xzf v$(TF_VERSION).tar.gz
|
|
cp Makefile *.sh tensorflow-$(TF_VERSION)
|
|
libtensorflow:
|
|
bazel build -c opt --config cross_compile_linux_arm64 //tensorflow:libtensorflow.so
|
|
./create_archive.sh arm64 $(TF_VERSION)
|