From: John Kehayias <john.kehayias@protonmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: Zhu Zihao <all_but_last@163.com>, guix-devel@gnu.org
Subject: Re: [RFC] Use LLVM_BUILD_LLVM_DYLIB instead of BUILD_SHARED_LIBS
Date: Fri, 26 Aug 2022 17:40:57 +0000 [thread overview]
Message-ID: <87h71yzyvu.fsf@protonmail.com> (raw)
In-Reply-To: <87a67vhary.fsf@gmail.com>
Hello,
On Mon, Aug 22, 2022 at 11:57 PM, Maxim Cournoyer wrote:
> Zhu Zihao <all_but_last@163.com> writes:
> [...]
>
>> # Solution
>>
>> I suggest to replace `-DBUILD_SHARED_LIBS:BOOL=TRUE` with
>> `-DLLVM_BUILD_LLVM_DYLIB:BOOL=TRUE`.
>
> That's something I had been meaning to do for some time, but it fell
> into the cracks. I'd welcome this change; you may want to look at
> 'llvm-cling', which already builds using such flag.
>
Just wanted to chime in that I ran across this unexpected configuration when debugging some unrelated issues (had to do with Mesa library loading, so was looking at its dependencies). I think it would be good to follow this more expected and typical configuration for building LLVM, at least as far as I understand it.
John
next prev parent reply other threads:[~2022-08-26 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 10:56 [RFC] Use LLVM_BUILD_LLVM_DYLIB instead of BUILD_SHARED_LIBS Zhu Zihao
2022-08-23 3:57 ` Maxim Cournoyer
2022-08-26 17:40 ` John Kehayias [this message]
2022-08-26 18:24 ` Maxime Devos
2022-09-13 2:57 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h71yzyvu.fsf@protonmail.com \
--to=john.kehayias@protonmail.com \
--cc=all_but_last@163.com \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).