chrishkchris commented on a change in pull request #624: SINGA-487 Include NCCL
and MPICH in conda build
URL: https://github.com/apache/singa/pull/624#discussion_r394113088
##########
File path: tool/conda/singa/build.sh
##########
@@ -31,9 +31,16 @@ else
USE_CUDA=ON
fi
+
+if [ $DIST == "ON" ]; then
+ USE_DIST=ON
+else
+ USE_DIST=OFF
+fi
+
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DUSE_CUDA=$USE_CUDA \
- -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} ..
+ -DUSE_PYTHON3=ON -DUSE_DNNL=OFF -DUSE_DIST=$USE_DIST
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} ..
Review comment:
DNNL is necessary for CNN, so will change to -DUSE_DNNL=ON after DNNL
package is ready. (In the past -DUSE_MKLDNN=ON at default)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services