marcoabreu commented on a change in pull request #10530: Jetson build with
cmake and CUDA
URL: https://github.com/apache/incubator-mxnet/pull/10530#discussion_r192352765
##########
File path: ci/docker/runtime_functions.sh
##########
@@ -38,9 +38,30 @@ clean_repo() {
build_jetson() {
set -ex
pushd .
- mv make/crosscompile.jetson.mk make/config.mk
- make -j$(nproc)
+ # Needed for FindCUDA.cmake module
+ export CUDA_TOOLKIT_ROOT=${CUDA_PATH}
+
+ cd /work/build
+ cmake \
+ -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} \
+ -DCMAKE_CROSSCOMPILING=ON \
+ -DUSE_CUDA=ON \
+ -DUSE_CUDNN=ON \
+ -DUSE_OPENCV=OFF \
+ -DUSE_OPENMP=ON \
+ -DUSE_SSE=OFF \
+ -DCMAKE_C_FLAGS=-DMSHADOW_USE_SSE=0 \
Review comment:
@lebeg
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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