Date: Tue, 30 Nov 2021 14:27:09 +0100 From: Paul Floyd <paulf2718@gmail.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: Re: llvm/clang upstream Message-ID: <a3231705-ca11-60f0-8004-55f15b483d90@gmail.com> In-Reply-To: <308f3c42a357e6be288e01060868fa7b003ced4b.camel@moritz.systems> References: <43a13a6b-baee-e8cb-3624-ee98da510ad0@gmail.com> <0E4F98DC-1B05-4E1C-813F-4246C45E9C85@FreeBSD.org> <bb0b1201-291d-1483-080c-d771091329a3@gmail.com> <308f3c42a357e6be288e01060868fa7b003ced4b.camel@moritz.systems>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/30/21 14:03, Michał Górny wrote: > > Please note that the "official" way of building stuff has changed a few > times, so you might be using an outdated approach. I think the current > way of building runtimes is via LLVM_ENABLE_RUNTIMES. I'll take a look at the 'official' llvm web pages tonight Up to now I've been using cmake -G "Unix Makefiles" ../llvm -DCMAKE_INSTALL_PREFIX=~/tools/clang -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;libunwind;compiler-rt;lldb;openmp;pstl" (just added libunwind) which gives /home/paulf/scratch/clang/llvm-project/compiler-rt/lib/sanitizer_common/sanitize r_unwind_linux_libcdep.cpp:26:10: fatal error: 'unwind.h' file not found #include <unwind.h> ^~~~~~~~~~ 1 error generated. A+ Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a3231705-ca11-60f0-8004-55f15b483d90>