public inbox for [email protected]  
help / color / mirror / Atom feed
From: Xing Guo <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: Disable LLVM bitcode generation with pgxs.mk framework.
Date: Tue, 12 Mar 2024 21:38:23 +0800
Message-ID: <CACpMh+CPDPLbvXPsB1-4N-TsNHtg_o4XR_CGFpYqeBfyt0U8CA@mail.gmail.com> (raw)

Hi hackers,

When the PostgreSQL server is configured with --with-llvm, the pgxs.mk
framework will generate LLVM bitcode for extensions automatically.
Sometimes, I don't want to generate bitcode for some extensions. I can
turn off this feature by specifying with_llvm=0 in the make command.

```
make with_llvm=0
```

Would it be possible to add a new switch in the pgxs.mk framework to
allow users to disable this feature? E.g., the Makefile looks like:

```
WITH_LLVM=no
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
```

Best Regards,
Xing






view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Disable LLVM bitcode generation with pgxs.mk framework.
  In-Reply-To: <CACpMh+CPDPLbvXPsB1-4N-TsNHtg_o4XR_CGFpYqeBfyt0U8CA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox