Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2022-08

Tar installers for x86_64-linux for FPC from main and fixes

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Maxim Ganetsky

hello.

I would like to ask, is it possible to get on a regular basis tar installers somewhere for FPC from main and fixes branches for x86_64-linux and corresponding FPC sources tarballs?

These installers are convenient when generating build environment image (e. g. in Docker). If they will be updated on a regular basis it will allow to update FPC in build environment image in automated manner.

Best regards, Maxim Ganetsky

Reply by email

Florian Klämpfl
to Maxim Ganetsky
Show quoted text 5 lines
Am 20.08.2022 um 02:49 schrieb Maxim Ganetsky via fpc-devel : hello. I would like to ask, is it possible to get on a regular basis tar installers somewhere for FPC from main and fixes branches for x86_64-linux and corresponding FPC sources tarballs?

You can get the tar built by the latest CI run from

https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job>

and

https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job>

Show quoted text 10 lines
These installers are convenient when generating build environment image (e. g. in Docker). If they will be updated on a regular basis it will allow to update FPC in build environment image in automated manner. -- Best regards, Maxim Ganetsky _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Maxim Ganetsky
to Florian Klämpfl

20.08.2022 21:58, Florian Klämpfl via fpc-devel пишет:

Show quoted text 20 lines
> Am 20.08.2022 um 02:49 schrieb Maxim Ganetsky via fpc-devel > < >: > > hello. > > I would like to ask, is it possible to get on a regular basis tar > installers somewhere for FPC from main and fixes branches for > x86_64-linux and corresponding FPC sources tarballs? You can get the tar built by the latest CI run from https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job> and https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job>

Thanks, this is what I need.

But I need its corresponding source too in order to build cross-compilers. Can exported sources in tarball be retrieved somewhere too?

Best regards, Maxim Ganetsky

Reply by email

Florian Klämpfl
to Maxim Ganetsky
Show quoted text 16 lines
Am 20.08.2022 um 21:38 schrieb Maxim Ganetsky via fpc-devel : 20.08.2022 21:58, Florian Klämpfl via fpc-devel пишет: >> Am 20.08.2022 um 02:49 schrieb Maxim Ganetsky via fpc-devel < >: >> >> hello. >> >> I would like to ask, is it possible to get on a regular basis tar installers somewhere for FPC from main and fixes branches for x86_64-linux and corresponding FPC sources tarballs? > You can get the tar built by the latest CI run from > https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job> > and > https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job> Thanks, this is what I need. But I need its corresponding source too in order to build cross-compilers. Can exported sources in tarball be retrieved somewhere too?

https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz>

https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz>

In theory there might be the danger of a race condition, but I see no good way to prevent this.

Reply by email

Maxim Ganetsky
to Florian Klämpfl

20.08.2022 22:52, Florian Klämpfl via fpc-devel пишет:

Show quoted text 42 lines
> Am 20.08.2022 um 21:38 schrieb Maxim Ganetsky via fpc-devel > < >: > > 20.08.2022 21:58, Florian Klämpfl via fpc-devel пишет: >>> Am 20.08.2022 um 02:49 schrieb Maxim Ganetsky via fpc-devel >>> < >>> >>> < >>> >>: >>> >>> hello. >>> >>> I would like to ask, is it possible to get on a regular basis tar >>> installers somewhere for FPC from main and fixes branches for >>> x86_64-linux and corresponding FPC sources tarballs? >> You can get the tar built by the latest CI run from >> https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job> >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job>> >> and >> https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job> >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job >> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job>> > > Thanks, this is what I need. > > But I need its corresponding source too in order to build > cross-compilers. Can exported sources in tarball be retrieved > somewhere too? https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz> https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz> In theory there might be the danger of a race condition, but I see no good way to prevent this.

I don't think that this race condition is very critical, after all we can always just restart building image (and redownload sources in the process) if it fails to compile.

Thanks.

Best regards, Maxim Ganetsky

Reply by email

Maxim Ganetsky
to Florian Klämpfl: https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz…

20.08.2022 22:52, Florian Klämpfl via fpc-devel пишет:

Show quoted text 31 lines
> Am 20.08.2022 um 21:38 schrieb Maxim Ganetsky via fpc-devel > < >: > > 20.08.2022 21:58, Florian Klämpfl via fpc-devel пишет: >>> Am 20.08.2022 um 02:49 schrieb Maxim Ganetsky via fpc-devel >>> < >>> >>> < >>> >>: >>> >>> hello. >>> >>> I would like to ask, is it possible to get on a regular basis tar >>> installers somewhere for FPC from main and fixes branches for >>> x86_64-linux and corresponding FPC sources tarballs? >> You can get the tar built by the latest CI run from >> https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/main/raw/fpc-3.3.1.x86_64-linux.tar?job=build-job>> >> and >> https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job> <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job <https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-3.2.3.x86_64-linux.tar?job=build-job>> > > Thanks, this is what I need. > > But I need its corresponding source too in order to build > cross-compilers. Can exported sources in tarball be retrieved > somewhere too? https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/main/build-main.tar.gz> https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz <https://gitlab.com/freepascal.org/fpc/build/-/archive/fixes_3_2/build-fixes_3_2.tar.gz>

I just checked, and their fpcsrc directory is empty. BTW, how frequently they are updated?

In theory there might be the danger of a race condition, but I see no good way to prevent this.

One way is to include source tarball straight into a tar installer (in is not necessary to install it, just include). This package will be useful for Docker-like images like ours, which include native FPC and its cross-compilers.

Best regards, Maxim Ganetsky

Reply by email