File tree Expand file tree Collapse file tree 11 files changed +1
-259
lines changed
doc/getstarted/build_and_install Expand file tree Collapse file tree 11 files changed +1
-259
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -57,16 +57,13 @@ The general development workflow with Docker and Bazel is as follows:
5757 --name paddle \
5858 -p 2022:22 \
5959 -v $PWD :/paddle \
60- -v $HOME /.cache/bazel:/root/.cache/bazel \
6160 paddle:dev
6261
6362 where :code: `-d ` makes the container running in background,
6463 :code: `--name paddle ` allows us to run a nginx container to serve
6564 documents in this container, :code: `-p 2022:22 ` allows us to SSH
6665 into this container, :code: `-v $PWD:/paddle ` shares the source code
67- on the host with the container, :code: `-v
68- $HOME/.cache/bazel:/root/.cache/bazel ` shares Bazel cache on the
69- host with the container.
66+ on the host with the container.
7067
71684. SSH into the container:
7269
@@ -86,13 +83,6 @@ The general development workflow with Docker and Bazel is as follows:
8683 make -j ` nproc`
8784 CTEST_OUTPUT_ON_FAILURE=1 ctest
8885
89- or Bazel in the container:
90-
91- .. code-block :: bash
92-
93- cd /paddle
94- bazel test ...
95-
9686
9787 CPU-only and GPU Images
9888-----------------------
Original file line number Diff line number Diff line change @@ -15,18 +15,6 @@ RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
1515RUN pip install -U BeautifulSoup docopt PyYAML pillow \
1616 sphinx sphinx_rtd_theme recommonmark
1717
18- # cmake tends to hide and blur the dependencies between code modules, as
19- # noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
20- # thinking about using Bazel to fix this problem, e.g.,
21- # https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
22- # start the trail of fixing, we add Bazel to our Dockerfiles.
23- RUN apt-get update && apt-get install -y curl software-properties-common \
24- && add-apt-repository ppa:webupd8team/java \
25- && echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
26- && echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
27- && curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
28- && apt-get update && apt-get install -y oracle-java8-installer bazel
29-
3018ARG WITH_AVX
3119ARG WITH_DOC
3220ARG WITH_SWIG_PY
Original file line number Diff line number Diff line change @@ -15,18 +15,6 @@ RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
1515RUN pip install -U BeautifulSoup docopt PyYAML pillow \
1616 sphinx sphinx_rtd_theme recommonmark
1717
18- # cmake tends to hide and blur the dependencies between code modules, as
19- # noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
20- # thinking about using Bazel to fix this problem, e.g.,
21- # https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
22- # start the trail of fixing, we add Bazel to our Dockerfiles.
23- RUN apt-get update && apt-get install -y curl software-properties-common \
24- && add-apt-repository ppa:webupd8team/java \
25- && echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
26- && echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
27- && curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
28- && apt-get update && apt-get install -y oracle-java8-installer bazel
29-
3018ARG WITH_AVX
3119ARG WITH_DOC
3220ARG WITH_SWIG_PY
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments