1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
Commit graph

80 commits

Author SHA1 Message Date
Sertonix
6a6fa6a0d8 scripts/bootstrap.sh: update comment about new arch in apk-tools 2025-07-01 12:23:52 +00:00
fossdd
dd550ee96f scripts/bootstrap.sh: update llvm version for rust
rust switched to LLVM 20 in the previous commit
2025-04-20 03:57:08 +00:00
fossdd
f7e014db0b scripts/bootstrap.sh: build readline for sqlite
readline got added to the host dependencies in e95458a620
2025-04-08 07:31:57 +00:00
Sertonix
99fa2876f4 scripts/bootstrap.sh: remove unused dependencies
Ref 7befdd7374 main/openssh: refactor PAM support, add krb5
2025-01-29 14:55:57 +00:00
Natanael Copa
812f5b1f70 scripts/bootstrap.sh: add -k option for abuild
pass -k option so we can make the script skip already built packages.
2024-12-31 16:51:57 +01:00
Natanael Copa
b262bdb6d5 scripts/bootstrap.sh: allow override the packages to build
Add support for setting the list of packages to build as argument.
Useful for building a crosscompiler and then build kernel package for
example.
2024-12-26 20:49:33 +01:00
Sertonix
e597a92339 scripts/bootstrap.sh: fix bootstrap dependencies 2024-12-26 13:56:20 +01:00
Sertonix
d5e5c01050 scripts/bootstrap.sh: respect ABUILD_SHAREDIR 2024-12-26 13:55:50 +01:00
Sertonix
6153f99377 scripts/bootstrap.sh: remove attr from bootstrap packages since abuild doesn't depend on it anymore 2024-10-10 17:24:23 +02:00
socksinspace
1838b9da1b scrips/bootstrap.sh: make mkinitfs and openssh optional
Disable most optional sections by default.
2024-09-25 06:59:00 +00:00
socksinspace
9423c2a7b0 scripts/bootstrap.sh: move llvm, ghc, rust, and dependencies into optional section 2024-09-25 06:59:00 +00:00
socksinspace
441026dfa9 scripts/bootstrap.sh add new deps for util-linux, adjust llvm versions 2024-09-25 06:59:00 +00:00
Alex
79e42744d9 scripts/bootstrap.sh: remove extra space 2024-09-15 21:46:41 +00:00
Celeste
6cce1d0007 scripts/bootstrap.sh: add libucontext to depends of full cross gcc
the GDC frontend requires GDC to build since
GCC 12, and libucontext is required by GDC
2024-08-31 21:41:39 +00:00
Jingyun Hua
29d1bddf1a scripts/bootstrap.sh: update package list 2024-03-15 11:43:36 +00:00
Sören Tempel
3e13e2b4b6 Revert "community/go: bootstrap via gccgo"
Go 1.22 requires Go 1.20 or newer for bootstrapping. gccgo only
supports Go 1.18, therefore we cannot use it for bootstrapping
Go 1.22 directly and would need to package intermediate versions
of Go. Since our current packaging setup does not easily allow us
to maintain multiple versions of a package, and since it does not
seem likely that gccgo will support newer Go versions in the future,
this does not seam feasible.

Therefore, this commits abandons the much loved gccgo based bootstrap
and switches back to bootstrapping Go manually from an existing Alpine
installation using the bootstrap.sh script.

Fixes #15602

This reverts commit 3516e6e5e7.
2024-02-07 22:29:59 +01:00
Jingyun Hua
a00546be4a scripts/bootstrap.sh: add libpsl to bootstrap path 2024-02-05 18:07:41 +00:00
Jingyun Hua
36fcfd717f scripts/bootstrap.sh: add libidn2 to bootstrap path 2023-08-22 11:44:11 +00:00
psykose
86ea7815b4 scripts/bootstrap.sh: update rust bootstrap positioning 2023-07-11 11:26:00 +00:00
psykose
c43ee4187e scripts/bootstrap.sh: fixup bootstrap deps
- libretls is not used by anything
- isl25 -> isl26
- llvm15 -> llvm16
2023-05-19 03:45:54 +02:00
psykose
1f3e3332a2 scripts/bootstrap.sh: remove pcre from list
nothing uses this in the list
2023-05-12 07:32:04 +02:00
psykose
e27dd18411 scripts/bootstrap.sh: move zstd before toolchain
allows zstd use in entire toolchain
2023-01-08 07:47:52 +01:00
Guy Broome
a86c136bc5 scripts/bootstrap.sh: mention that musl also has arch-aware build rules
they need updating prior to introducing a new architecture, otherwise
the attempt by bootstrap to pull in musl headers via musl-dev prior
to GCC stage 2 build will fail with a misleading error about a missing
directory
2022-12-29 21:44:53 +01:00
psykose
fffe2c479e scripts/bootstrap.sh: remove cloog from buildlist 2022-11-22 04:30:35 +01:00
psykose
5d4369a948
scripts/bootstrap.sh: add llvm15 2022-09-30 14:40:54 +02:00
Sören Tempel
3516e6e5e7 community/go: bootstrap via gccgo
Previously, community/go depended on itself for compiler-bootstrapping
purposes. This approach has several issue which are were further
discussed on the ML some time ago [1]. By bootstrapping community/go
using gcc-go we can make the bootstrap path more transparent and also
ease bootstrapping new builder via bootstrap.sh as community/go no
longer needs to be cross-compiled from an existing Go installation.

As such, this commit also removes community/go from the bootstrap.sh.
There is nothing on the bootstrap path that depends on it, hence it
is fine that a bootstrapped/cross-compiled gcc doesn't have LANG_GO
support. Go was only added to bootstrap.sh previously in commit
f5c4b29891 due to the cross-compilation
requirement. This commit also removes the cross-compilation related
quirks from the Go APKBUILD.

I will further enhance the Go bootstrap setup by having both
community/go and gcc-go provide a virtual go-bootstrap package. Thereby
allowing compilation with either gcc-go or a prior community/go
installation.

[1]: https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
2022-09-30 12:16:40 +00:00
Natanael Copa
13d2eb011b scripts/bootstrap.sh: use isl25
ref commit 1b3d450dc7 (main/gcc: build against isl25)
ref commit a782574540 (main/isl25: new aport)
ref commit 069b35f981 (main/isl24: remove -dev)
2022-09-23 18:33:23 +02:00
psykose
4af430da17
scripts/bootstrap.sh: fix busybox-openrc dep
merged into busybox
2022-09-10 04:20:51 +02:00
Laurent Bercot
7f91082084 scripts/bootstrap.sh: update package list with busybox-openrc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-09-04 05:49:07 +00:00
psykose
2ad9d07894
scripts/bootstrap.sh: move ghc after llvm14 2022-08-20 09:24:29 +02:00
psykose
8e693a596c scripts/bootstrap.sh: update isl22 to isl24 2022-07-28 22:31:46 +00:00
ptrcnull
8c41723185 scripts/bootstrap.sh: print usage on missing params before trying to use them
fixes #10607
2022-07-26 23:36:41 +02:00
psykose
ed6740b82f scripts/bootstrap.sh: update llvm to 14, remove unused deps
libgit2 is not used by rust anymore, and so it and its dependency of
http-parser are not needed in the bootstrap path
2022-07-13 19:38:51 +00:00
psykose
f0c20903b1 scripts/bootstrap.sh: move libcap to before openrc
now needed by openrc
2022-07-06 11:32:50 +00:00
J0WI
88110a6dc1 scripts/bootstrap.sh: switch to llvm13 2022-03-30 16:23:03 +00:00
J0WI
2233d31ba6 scripts/bootstrap.sh: switch to llvm12 2022-02-11 22:29:15 +00:00
Ariadne Conill
a53fffd308 bootstrap: remove openssl1.1-compat 2022-01-15 18:50:06 +00:00
Ariadne Conill
ffb952273e bootstrap: also build openssl 1.1 2021-09-29 20:02:36 +00:00
Noel Kuntze
10bec7b748 scripts/bootstrap.sh: Fix error when pubkey exists in ~/.abuild and
/etc/apk/keys

cp: will not overwrite just-created '/home/buildozer/sysroot-aarch64/
/etc/apk/keys/buildozer-6086211a.rsa.pub' with '/home/buildozer/.
abuild/buildozer-6086211a.rsa.pub'
2021-09-18 09:49:11 +00:00
Ariadne Conill
f8805186a7 bootstrap: document that this script is explicitly for bootstrap only 2021-08-13 05:46:57 -06:00
Carlo Landmeter
82e1dd0041 scripts/bootstrap.sh: switch to libretls 2021-06-27 21:47:30 +00:00
Roman Shaposhnik
0a568a04a6 Accounting for gcc requiring explicit -latomic in bootstrap.sh
On some architectures rograms which use C11 or C++11 atomics,
like #include <atomic>, generally must link against -latomic
explicitly.

For now the check is only against riscv64, but the list may grow.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Roman Shaposhnik
3ca28d7195 Re-arranging the order in which cross packages are built in bootstrap.sh
The list of packages doesn't change, but we need them build in a
different order because of changing dependencies.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Roman Shaposhnik
67cbf23dbf Adding freshly minted abuild keys to the CBUILDROOT
When bootstrapping we need to have access to the freshly
minted abuild keys in the CBUILDROOT. While this can
potentially be done as a separate step it doesn't really
hurt to include it in the bootstrap.sh script.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Ariadne Conill
d3e152fdd6 bootstrap: use libretls dependency instead of libtls-standalone 2021-05-06 21:52:04 +00:00
Leo
ba0f621023 scripts/bootstrap.sh: add missing libmd
fixes #12615
2021-04-17 12:30:32 -03:00
Sören Tempel
7ab346a1ec scripts: don't include pax-utils and paxmark in images
Also don't bootstrap it in bootstrap.sh. Since we no longer use
the grsecurity patchset (which also provides PaX) and paxmark
was recently removed from all remaining packages, there should be
no need to bootstrap it early or include it in the images.
2021-03-28 15:32:09 +00:00
Ariadne Conill
21313b8782 bootstrap: add busybox as an extradepend to deal with /bin/sh virtual 2021-02-15 20:05:33 +00:00
Ariadne Conill
a11a55e5c2 bootstrap: add zstd to bootstrap dependencies 2021-02-10 05:00:44 +00:00
Natanael Copa
83f9f23d95 scripts/bootstrap.sh: update deps
make it possible to disable KERNEL_PKG via empty env var

replace isl with isl22

drop sudo, which is no longer needed

fixes #12255
2021-01-05 21:21:08 +01:00