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 19c204f commit 3987006
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipe/cross_compile_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
done
# daisy-chain the copying because the docker images only have very specific combinations allowed, see
# https://github.com/conda-forge/docker-images/blob/main/scripts/run_commands
mkdir -p /opt/conda/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
mkdir -p ${CUDA_HOME}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux
mkdir -p /opt/conda/targets/
mv ./usr/local/cuda-${CUDA_COMPILER_VERSION}/targets/${CUDA_HOST_PLATFORM_ARCH}-linux /opt/conda/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
Expand Down

0 comments on commit 3987006

Please sign in to comment.