diff options
author | Parichay Kapoor <pk.kapoor@samsung.com> | 2020-07-20 09:51:03 +0900 |
---|---|---|
committer | Parichay Kapoor <pk.kapoor@samsung.com> | 2020-07-20 10:14:43 +0900 |
commit | e8dc7a0e39df8bafb95387926bc6646751987bf3 (patch) | |
tree | cccd68d665382324fe9b12a65e6259ccfea32a51 | |
parent | dd85ca1c176bdf351d01e993e7cabb8623735012 (diff) | |
download | pytorch-e8dc7a0e39df8bafb95387926bc6646751987bf3.tar.gz pytorch-e8dc7a0e39df8bafb95387926bc6646751987bf3.tar.bz2 pytorch-e8dc7a0e39df8bafb95387926bc6646751987bf3.zip |
[Dist/Debian] Limit number of threads for arm64
Limit number of build threads to 1 for arm64 to limit ram usage in launchpad build
Change-Id: I98352597128532ecc08827e7ac947afd7cf157a1
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 0566650d61..603923470e 100755 --- a/debian/rules +++ b/debian/rules @@ -17,8 +17,10 @@ export BUILD_TEST=0 # Enable necessary items export BUILD_CAFFE2_OPS=1 export BUILD_BINARY=1 -ifeq ($(filter $(DEB_HOST_ARCH),arm64),) + +ifneq ($(filter $(DEB_HOST_ARCH),arm64),) export USE_MKLDNN=0 +export MAX_JOBS=1 endif name = ${PYBUILD_NAME} |