From: Jochen Sprickerhof Date: Fri, 31 Jan 2020 22:08:37 +0000 (+0100) Subject: Use clang where gcc fails due to virtual memory exhaustion X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~103 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0cf19f69887891f6fcdf43863e49dcc608cc62c4;p=pcl.git Use clang where gcc fails due to virtual memory exhaustion --- diff --git a/debian/control b/debian/control index 26a7e598..bf583ea3 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Section: libs Priority: optional Build-Depends: debhelper-compat (= 12), dh-exec, cmake, + clang [mipsel armel armhf], python3-sphinx, libboost-system-dev, libboost-filesystem-dev, diff --git a/debian/rules b/debian/rules index b593e234..0a838f62 100755 --- a/debian/rules +++ b/debian/rules @@ -13,8 +13,10 @@ CXXFLAGS+=$(CPPFLAGS) BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON) -ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel armhf armel)) +ifneq (,$(filter $(DEB_BUILD_ARCH),mipsel armhf armel)) PARALLEL=--max-parallel=2 + export CC=/usr/bin/clang + export CXX=/usr/bin/clang++ else PARALLEL= endif