We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e579ae7 commit 22d1e37Copy full SHA for 22d1e37
torch/lib/build_libs.sh
@@ -141,7 +141,7 @@ function build_aten() {
141
mkdir -p build/aten
142
cd build/aten
143
${CMAKE_VERSION} ../../../../aten \
144
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=$([ $DEBUG ] && echo Debug || echo Release) \
145
-DNO_CUDA=$((1-$WITH_CUDA)) \
146
-DATEN_NO_CONTRIB=1 \
147
-DCMAKE_INSTALL_PREFIX="$INSTALL_DIR"
0 commit comments