Commit 2cdaf12d authored by David Blyth's avatar David Blyth

Install tensorflow in system rather than user path

parent bc4ade33
Pipeline #948 passed with stages
in 28 seconds
......@@ -143,7 +143,7 @@ RUN sudo pacman -S --noconfirm \
which \
&& sudo rm -rf /var/cache/pacman/pkg
ENV TENSORFLOW_FOR_EIC_CHECKOUT=8d3bbba8ee64c4da12ed80602b9b668bcfef906d
ENV TENSORFLOW_FOR_EIC_CHECKOUT=cd0e88c189401784e1b32a5ff499a539f403a2a0
RUN git clone https://eicweb.phy.anl.gov/EIC/tensorflow-for-eic.git \
&& cd tensorflow-for-eic \
......@@ -151,10 +151,10 @@ RUN git clone https://eicweb.phy.anl.gov/EIC/tensorflow-for-eic.git \
&& CC=/usr/bin/gcc \
&& CXX=/usr/bin/g++ \
&& ./configure \
&& bazel build --logging 0 --config=opt //tensorflow/tools/pip_package:build_pip_package \
&& bazel build --logging 0 //tensorflow/tools/pip_package:build_pip_package \
&& rm -rf pkg \
&& ./bazel-bin/tensorflow/tools/pip_package/build_pip_package pkg \
&& pip install --user --upgrade pkg/*.whl \
&& sudo pip install pkg/*.whl \
&& cd ../ \
&& rm -rf tensorflow-for-eic .cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment