Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for recent version with links, not for macOS #520

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using PyCall
using Conda

const cur_version = "1.13.1"
const cur_py_version = "1.13.1"
const cur_version = "1.15.0"
const cur_py_version = "1.15.0"


############################
Expand All @@ -20,7 +20,7 @@ end
use_gpu = "TF_USE_GPU" ∈ keys(ENV) && ENV["TF_USE_GPU"] == "1"

if Sys.isapple() && use_gpu
@warn("No support for TF_USE_GPU on OS X - to enable the GPU, build TensorFlow from source. Falling back to CPU")
@warn("No support for TF_USE_GPU on OS X - to enable the GPU, build TensorFlow from source. Falling back to CPU.")
use_gpu=false
end

Expand Down Expand Up @@ -99,4 +99,8 @@ end
download_and_unpack(url)
mv("$lib_dir/libtensorflow.so", "usr/bin/libtensorflow.so", force=true)
mv("$lib_dir/libtensorflow_framework.so", "usr/bin/libtensorflow_framework.so", force=true)
mv("$lib_dir/libtensorflow.so", "usr/bin/libtensorflow.so.1", force=true)
mv("$lib_dir/libtensorflow_framework.so", "usr/bin/libtensorflow_framework.so.$cur_version", force=true)
mv("$lib_dir/libtensorflow.so", "usr/bin/libtensorflow.so", force=true)
mv("$lib_dir/libtensorflow_framework.so", "usr/bin/libtensorflow_framework.so.$cur_version", force=true)
end