summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2018-03-21 11:38:28 -0700
committerMarat Dukhan <maratek@gmail.com>2018-03-21 16:12:32 -0400
commit44039ffcea61689c48124937853d092a8d27ca5b (patch)
treef0834a84c98f697186cc66faa7403e9fd6cce38a /scripts
parent834608809413029e6a66c7d14a171c4fd250a86b (diff)
downloadpytorch-44039ffcea61689c48124937853d092a8d27ca5b.tar.gz
pytorch-44039ffcea61689c48124937853d092a8d27ca5b.tar.bz2
pytorch-44039ffcea61689c48124937853d092a8d27ca5b.zip
Use -DCMAKE_BUILD_TYPE=Release for local build by default
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_local.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build_local.sh b/scripts/build_local.sh
index 20f0fb38ac..23e1394dff 100755
--- a/scripts/build_local.sh
+++ b/scripts/build_local.sh
@@ -47,6 +47,7 @@ else
echo "Building Caffe2 in: $BUILD_ROOT"
cmake "$CAFFE2_ROOT" \
+ -DCMAKE_BUILD_TYPE=Release \
"${CMAKE_ARGS[@]}" \
"$@"