-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG]build failed on gtest! #442
Comments
Thank you for your feedback! @minseokl @shijieliu to check when they come back from Luna New Year holiday vacation. |
Hi @SeekPoint, thanks for the finding. |
amd00@MZ32-00:~/yk_repo/HugeCTR/Merlin/docker$ git branch
since I got network issue in China, I have do some change with:
-RUN pip install --no-cache-dir treelite==2.4.0 treelite_runtime==2.4.0
+RUN pip install --no-cache-dir treelite==2.4.0 treelite_runtime==2.4.0 -i https://pypi.tuna.tsinghua.edu.cn/simple Triton Server@@ -299,7 +299,7 @@ COPY --chown=1000:1000 --from=dlfw /usr/local/lib/python${PYTHON_VERSION}/dist-p -RUN pip install --no-cache-dir jupyterlab notebook pydot testbook numpy==1.22.4 ENV JUPYTER_CONFIG_DIR=/tmp/.jupyter it means I add -i https://pypi.tuna.tsinghua.edu.cn/simple for the 'pip install' amd00@MZ32-00:~/yk_repo/HugeCTR/Merlin/docker$ sudo docker build --pull -t merlinbase -f dockerfile.merlin . then: |
Hi @SeekPoint ,Sorry, I still can't reproduce it although I checkout merlin v23.08.00 to build as the commands which you provided.
|
I try again and passed on gtest, but failed on another error:
I can fix by: git clone https://github.com/fmtlib/fmt git clone https://github.com/gabime/spdlog.git thanks you;) |
Describe the bug
A clear and concise description of what the bug is.
root@83e8355fd506:/share/yk_repo/HugeCTR/HugeCTR# git branch
root@83e8355fd506:/share/yk_repo/HugeCTR/HugeCTR# cmake -DCMAKE_BUILD_TYPE=Release -DSM="80;90" -DENABLE_MULTINODES=ON
====ok
root@83e8355fd506:/share/yk_repo/HugeCTR/HugeCTR# make -j
。。。。。
[ 61%] Built target rdkafka++
[ 61%] Linking CXX static library ../../../lib/libgtest.a
[ 61%] Built target gtest
[ 61%] Building CXX object third_party/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 61%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
In file included from /share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/include/gmock/gmock.h:59,
from /share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/src/gmock-all.cc:39:
/share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/include/gmock/gmock-actions.h:342:5: error: ISO C++ forbids declaration of 'GTEST_DISALLOW_COPY_AND_ASSIGN_' with no type [-fpermissive]
342 | GTEST_DISALLOW_COPY_AND_ASSIGN_(FixedValueProducer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/include/gmock/gmock-actions.h:353:5: error: ISO C++ forbids declaration of 'GTEST_DISALLOW_COPY_AND_ASSIGN_' with no type [-fpermissive]
353 | GTEST_DISALLOW_COPY_AND_ASSIGN_(FactoryValueProducer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/include/gmock/gmock-actions.h:427:3: error: ISO C++ forbids declaration of 'GTEST_DISALLOW_COPY_AND_ASSIGN_' with no type [-fpermissive]
427 | GTEST_DISALLOW_COPY_AND_ASSIGN_(ActionInterface);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/share/yk_repo/HugeCTR/HugeCTR/third_party/googletest/googlemock/include/gmock/gmock-actions.h:686:27: error: expected identifier before '!' token
。。。。。
To Reproduce
Steps to reproduce the behavior:
sudo docker build --build-arg BASE_IMAGE=merlinbase -f dockerfile.ctr .
sudo docker run -it --entrypoint=/bin/bash -v /home/amd00:/share -v /data:/data --name hugectr_dev_c --shm-size="50G" hugectr_dev
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: