Skip to content

Commit

Permalink
Update cross_compile_support.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf authored Feb 1, 2023
1 parent 07a4edd commit 19c204f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/cross_compile_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
mkdir -p /opt/conda/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
mkdir -p ${CUDA_HOME}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
mv ./usr/local/cuda-${CUDA_COMPILER_VERSION}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux /opt/conda/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
sudo cp -r /opt/conda/targets/${CUDA_HOST_PLATFORM_ARCH}-linux ${CUDA_HOME}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
/usr/bin/sudo cp -r /opt/conda/targets/${CUDA_HOST_PLATFORM_ARCH}-linux ${CUDA_HOME}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
popd
rm -rf ${EXTRACT_DIR}
elif [[ "${CUDA_COMPILER_VERSION}" == "11.2" ]]; then
Expand Down

0 comments on commit 19c204f

Please sign in to comment.