Skip to content

Commit

Permalink
Add CUDA_ARCH_BIN (PaddlePaddle#38569)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianshuo78520a authored Dec 30, 2021
1 parent ea01e79 commit 9e0a03e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/scripts/paddle_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ function cmake_base() {
-DON_INFER=${ON_INFER:-OFF}
-DWITH_HETERPS=${WITH_HETERPS:-OFF}
-DWITH_FLUID_ONLY=${WITH_FLUID_ONLY:-OFF}
-DCUDA_ARCH_BIN="${DCUDA_ARCH_BIN}"
========================================
EOF
# Disable UNITTEST_USE_VIRTUALENV in docker because
Expand Down Expand Up @@ -283,6 +284,7 @@ EOF
-DON_INFER=${ON_INFER:-OFF} \
-DWITH_HETERPS=${WITH_HETERPS:-OFF} \
-DWITH_FLUID_ONLY=${WITH_FLUID_ONLY:-OFF} \
-DCUDA_ARCH_BIN="${DCUDA_ARCH_BIN}" \
-DWITH_UNITY_BUILD=${WITH_UNITY_BUILD:-OFF};build_error=$?
if [ "$build_error" != 0 ];then
exit 7;
Expand Down

0 comments on commit 9e0a03e

Please sign in to comment.