Date: Thu, 28 Nov 2019 09:51:34 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Rares Aioanei <bsdlisten@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: LLVM flags when building CURRENT Message-ID: <53796231-2772-da45-2829-11a0e6e57956@grosbein.net> In-Reply-To: <CAMy0BGRLkFhhJqsS2-emo2rVcv-ePwaKHEarCy_YqtA6g4ogug@mail.gmail.com> References: <CAMy0BGRLkFhhJqsS2-emo2rVcv-ePwaKHEarCy_YqtA6g4ogug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
27.11.2019 21:12, Rares Aioanei wrote: > Hey, > Using 13.0-CURRENT so I'm using source to update the machine, which is > a bit constrained when it comes to resources. My question is : Where > is the best place to add a flag to cmake for LLVM > (-DLLVM_TARGETS_TO_BUILD) so that it only builds for X86? 1. kldload filemon # and perhaps auto-load it with /boot/loader.conf or /etc/rc.conf 2. echo WITH_META_MODE=yes >> /etc/src-env.conf 3. for /etc/src.conf: WITHOUT_LLVM_TARGET_ALL= WITH_LLVM_TARGET_X86= WITHOUT_CLANG_FULL= 4. If its resources are really constrained, also add this to /etc/src.conf: WITHOUT_KERNEL_SYMBOLS= WITHOUT_DEBUG_FILES= WITHOUT_TESTS=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53796231-2772-da45-2829-11a0e6e57956>