Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/libclc: switch to using LLVM's monorepo
Date: Sat, 9 Jan 2021 14:25:19 +0100	[thread overview]
Message-ID: <20210109132519.GR1485369@scaer> (raw)
In-Reply-To: <49909594-62d0-5efb-effb-86b96b4fcfe7@gmail.com>

Romain, All,

On 2021-01-09 12:25 +0100, Romain Naour spake thusly:
> Le 09/01/2021 ? 11:33, Yann E. MORIN a ?crit?:
> > The LLVM project has switched to using a monorepo to host all their
> > components. The separate, individual repositories have been closed
> > late 2020 / early 2021. The libclc repository is no longer.
> > 
> > Switch to using the libclc source from the llvm monorepo; switch to
> > using the github helper, to avoid a huge git clone (still 115MiB
> > instead of the previous 172KiB...).
> 
> I didn't noticed that the repository is no longer available because I'm using a
> mirror locally: https://github.com/llvm-mirror/libclc.git

Ah, but then we would be back to square one when we eventually want to
update the libclc version, which is not going to be available in that
legacy mirror, but only in the official llvm-project repo...

> If we really care about thee download size, maybe we can use the mirror before
> updating to llvm 11.0 that's the first release providing an archive for libclc:
> https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/libclc-11.0.0.src.tar.xz

I would say that if people are concerned about the download size, they
would have to go to the llvm project and whine there.

[--SNIP--]
> > @@ -28,19 +27,19 @@ LIBCLC_CONF_OPTS = \
> >  	--with-cxx-compiler=$(HOSTCXX_NOCCACHE)
> >  
> >  define LIBCLC_CONFIGURE_CMDS
> > -	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure.py $(LIBCLC_CONF_OPTS))
> > +	cd $(@D)/libclc && $(TARGET_CONFIGURE_OPTS) ./configure.py $(LIBCLC_CONF_OPTS)
> 
> Here you're removing the sub-shell but it's used for most other packages.

The subshell is totally useless; it is an anti-pattern.

That most packages use it is not a reason to keep it; instead, we should
get rid of it.

Note: I know we have similar constructs in the infras; that's not good,
at all...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2021-01-09 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-09 10:33 [Buildroot] [PATCH] package/libclc: switch to using LLVM's monorepo Yann E. MORIN
2021-01-09 11:25 ` Romain Naour
2021-01-09 13:25   ` 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=20210109132519.GR1485369@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox