mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 07:18:31 +01:00
Merge pull request #2523 from judah/tensorflow-reenable
Reenable and fix the tensorflow-* packages.
This commit is contained in:
commit
5dd94f54e9
@ -3026,10 +3026,10 @@ packages:
|
||||
- proto-lens-combinators
|
||||
- proto-lens-arbitrary
|
||||
- proto-lens-optparse
|
||||
# - tensorflow # blocked on C library
|
||||
# - tensorflow-core-ops # blocked on C library
|
||||
- tensorflow
|
||||
- tensorflow-core-ops
|
||||
- tensorflow-opgen
|
||||
# - tensorflow-ops # blocked on C library
|
||||
- tensorflow-ops
|
||||
- tensorflow-proto
|
||||
- tensorflow-test
|
||||
|
||||
|
||||
@ -123,7 +123,6 @@ apt-get install -y \
|
||||
nodejs \
|
||||
npm \
|
||||
openjdk-8-jdk \
|
||||
protobuf-compiler \
|
||||
python-mpltoolkits.basemap \
|
||||
python3-matplotlib \
|
||||
python3-numpy \
|
||||
@ -191,9 +190,15 @@ wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y llvm-4.0
|
||||
|
||||
# Install version 3 of the protobuf compiler. (The `protobuf-compiler` package only
|
||||
# supports version 2.)
|
||||
curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip \
|
||||
&& sudo unzip -o protoc-3.3.0-linux-x86_64.zip -d /usr bin/protoc \
|
||||
&& rm -f protoc-3.3.0-linux-x84_64.zip
|
||||
|
||||
# Install the TensorFlow C API.
|
||||
curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.1.0.tar.gz > libtensorflow.tar.gz \
|
||||
&& sudo tar zxf libtensorflow.tar.gz -C /usr/local \
|
||||
&& sudo tar zxf libtensorflow.tar.gz -C /usr \
|
||||
&& rm libtensorflow.tar.gz \
|
||||
&& ldconfig
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user