All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Tom Mloduchowski <tom@mloduchowski.com>
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] Provide hooks for host python sqlite support - for diskcache support in LLM/AI/ML
Date: Sat, 8 Jun 2024 15:33:38 +0200	[thread overview]
Message-ID: <ZmRdsvpwzO4ZvirR@landeda> (raw)
In-Reply-To: <CAEpun2apyLPnG=4WcF6H_u9J28rCJTVXCKQXxAUujspi4aqoAg@mail.gmail.com>

Tom, All,

On 2024-06-07 07:28 -0700, Tom Mloduchowski spake thusly:
> Hello everyone,
> 
> I have a need to add sqlite support on the host-python3 side (to
> support diskcache, for some embedded LLM work I'm doing for kscale.dev
> - separate external repo).
> 
> Hope it's acceptable to provide such hooks for package developers.

Yes, please see below for a comment...

[--SNIP--]
> @@ -66,6 +65,12 @@ else
>  HOST_PYTHON3_CONF_OPTS += --disable-openssl
>  endif
> 
> +ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SQLITE),y)

There's currently no such symbol, so you'll have to also add that, à-la
BR2_PACKAGE_HOST_PYTHON3_CURSES et al.

> +HOST_PYTHON3_DEPENDENCIES += host-sqlite

You'll also need to explicitly --enable-sqlite3.

Regards,
Yann E. MORIN.

> +else
> +HOST_PYTHON3_CONF_OPTS += --disable-sqlite3
> +endif
> +
>  PYTHON3_INSTALL_STAGING = YES
> 
>  ifeq ($(BR2_PACKAGE_PYTHON3_2TO3),y)
> --
> 2.39.3
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-06-08 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 14:28 [Buildroot] [PATCH] Provide hooks for host python sqlite support - for diskcache support in LLM/AI/ML Tom Mloduchowski
2024-06-08 13:33 ` Yann E. MORIN [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZmRdsvpwzO4ZvirR@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tom@mloduchowski.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.