Date: Thu, 16 Jul 2020 15:25:46 +0800 From: Li-Wen Hsu <lwhsu@freebsd.org> To: "Patrick M. Hausen" <hausen@punkt.de> Cc: FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: Fetching FreeBSD packages in poudriere bulk builds? Message-ID: <CAKBkRUyw1cacT9T4HhZcB9fEvi9pSvEqQ5dM%2BWKNHRqhEFakYA@mail.gmail.com> In-Reply-To: <90395E19-4C3A-44D4-AE78-E01C73363DAC@punkt.de> References: <90395E19-4C3A-44D4-AE78-E01C73363DAC@punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 16, 2020 at 3:10 PM Patrick M. Hausen <hausen@punkt.de> wrote: > > Hi all, > > like many we run our own poudriere to build the packages for our infrastr= ucture. > Fetching packages from the standard FreeBSD repos for ports with default = options > is a long requested feature. Of course I understand it will not be implem= ented by elves > and neither do we have the knowledge and manpower to help in this particu= lar area. > > What I am interested in: there are a handful to a dozen ports that take e= xceptionally > long to build. GCC, LLVM, rustlang =E2=80=A6 > > Notably these are all =E2=80=9Einfrastructure=E2=80=9C ports that are bui= lt as dependencies and we do > not change the options of any of them. Did anyone implement a lean hack f= or a > few selected packages to be fetched as binaries? > > E.g. check if they are newer in the FreeBSD quarterly repo, put them in o= ur own repo, > rebuild the repo index and then start poudriere bulk =E2=80=A6? > > Would that work? I have a very hackish way to fetch the dependencies packages before build: https://github.com/lwhsu/freebsd-ports-libreoffice/blob/master/porttest.sh#= L52-L54 It works, but not perfect, and sometimes not very useful when the new packages haven't hit the official repository. Li-Wen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUyw1cacT9T4HhZcB9fEvi9pSvEqQ5dM%2BWKNHRqhEFakYA>