-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Install libgtest-dev in Dockerfiles #813
Conversation
python-protobuf python-numpy python-dev swig openssh-server \ | ||
wget unzip python-matplotlib tar xz-utils bzip2 gzip coreutils \ | ||
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ | ||
clang-3.8 llvm-3.8 libclang-3.8-dev \ | ||
&& apt-get clean -y | ||
RUN cd /usr/src/gtest && cmake . && make && sudo cp *.a /usr/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo
is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
python-protobuf python-numpy python-dev swig openssh-server \ | ||
wget unzip python-matplotlib tar xz-utils bzip2 gzip coreutils \ | ||
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ | ||
clang-3.8 llvm-3.8 libclang-3.8-dev \ | ||
&& apt-get clean -y | ||
RUN cd /usr/src/gtest && cmake . && make && sudo cp *.a /usr/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo
is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Sorry that I forgot to git push the changes in response to @lipeng-unisound 's comments before @reyoung merges this PR. Fixing this problem in #817 |
* hotfix deadlink (PaddlePaddle#811) * Update native_infer_en.md (PaddlePaddle#787) * Update install_Windows_en.md (PaddlePaddle#790) * Update install_Windows_en.md * Update install_Windows_en.md * Update cluster_howto_en.rst (PaddlePaddle#791) * Update cluster_howto_en.rst * Update cluster_howto_en.rst * Update doc/fluid/user_guides/howto/training/cluster_howto_en.rst Co-Authored-By: acosta123 <42226556+acosta123@users.noreply.github.com> * Update doc/fluid/user_guides/howto/training/cluster_howto_en.rst Co-Authored-By: acosta123 <42226556+acosta123@users.noreply.github.com> * Update cluster_howto_en.rst * Update index_cn.rst (PaddlePaddle#813)
Develop ipu merge dev
Sorry, I forgot to install google-test in my previous changes to the Dockerfiles. Without google-test, we can build Paddle with
cmake -DWITH_TESTING=OFF
, which is by default OFF, but when we use the Docker image for development,cmake -DWITH_TESTING=ON
would complain cannot find google-test.