1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
Commit graph

59 commits

Author SHA1 Message Date
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
Ariadne Conill
5ce2c42371 bootstrap: add rust dependencies and rust to bootstrap packages 2020-10-31 18:06:52 +00:00
Ariadne Conill
473f016013 bootstrap: add libgit2 and dependencies 2020-10-31 16:43:43 +00:00
Ariadne Conill
632e6bf0c3 bootstrap: add curl (and reverse dependencies) 2020-10-31 16:05:54 +00:00
Ariadne Conill
f0d338274b bootstrap: add community/rust to package list 2020-10-31 15:25:53 +00:00
Ariadne Conill
761be1f532 bootstrap: add libucontext to bootstrap deps 2020-10-31 14:22:15 +00:00
Ariadne Conill
dc4957d79b scripts: bootstrap: build patch before build-base
Since 3.12, we have included patch in build-base due to busybox patch
being removed.
2020-06-24 09:03:06 -06:00
Timo Teräs
78f149fce8 scripts/bootstrap.sh: clean up cross-build extra dependency handling
Instead of apk adding dependencies to sysroot, use the EXTRADEPENDS_TARGET
to pass in these dependencies. This does not leave the sysroot in
dirty state, but instead cleans it up.
2020-02-08 14:00:02 +02:00
Timo Teräs
88b19d170e scripts/bootstrap.sh: workaround abuild bug
Current abuild has a bug that when CC is defined, it's used to
guess build architecture. But during cross-compile setup it points
to cross compiler and causing breakage. Export CBUILD after initial
abuild functions.sh run to workaround this.
2020-02-08 14:00:02 +02:00
Natanael Copa
46f4244a08 scripts: replace -vanilla kernel with -lts
also add doas to extended image
2019-12-06 17:48:38 +00:00
Ariadne Conill
c9a0209cbd bootstrap: use mpfr4 not mpfr3 2019-12-06 06:15:56 +00:00
Timo Teräs
e6b7d47e7a scripts/bootstrap.sh: fix openssh bootstrap
Since commit 5bd58072 it requires libedit, so include that in
bootstrap reorder ncurses before it.
2019-10-01 10:22:33 +03:00
alpine-mips-patches
fad9a11100 scripts/bootstrap.sh: build ca-certificates too 2019-02-05 10:41:56 +00:00
alpine-mips-patches
27f819eb76 scripts/bootstrap.sh: catch up with the openssl switch
Replace libressl with openssl, add libbsd and libtls-standalone (for busybox)
but still build libressl for apk-tools.

[TT: Remove libressl, it is not needed anymore.]
2018-11-09 09:24:16 +00:00
Timo Teräs
9b82f3b654 main/libaio, scripts/bootstrap.sh: cross build libaio as lvm dependency 2018-08-02 08:37:03 +00:00
Timo Teräs
a0e3ae1279 main/busybox, scripts/bootstrap: fix bootstrap
busybox now requires ssl on the target host. Fix busybox dependency
and adjust bootstrap build order accordingly.
2018-08-02 08:18:55 +00:00
Jonathan Neuschäfer
6460eef0b8 scripts/bootstrap.sh: Build lzip (required by abuild)
In order to install abuild, lzip needs to be available. Add it to the list of
packages built in bootstrap.sh.

Fixes: 9674a6492d ("main/abuild: add support for lzip source packages")
2018-03-31 15:47:55 +02:00
Jonathan Neuschäfer
c32abc47dc scripts/bootstrap.sh: Fix a typo ("compiler tripler") 2018-03-09 18:43:30 +01:00
Timo Teräs
f4f7e6c25c scripts/bootstrap: update bootstrap deps
apk-tools no longer depends on libfetch
build-base now depends on file
2018-02-06 18:44:13 +00:00
Daniel Sabogal
f1a0dd6c94 scripts/bootstrap.sh: cryptsetup depends on json-c and argon2 2018-02-05 19:36:21 +00:00
Jack Schmidt
24a5da12f9 scripts/bootstrap.sh: ghc moved from testing to community
Commit 3b5707d385 moved ghc from
testing to community, but bootstrap.sh was not updated.
2017-11-05 11:59:27 +01:00
Kaarle Ritvanen
73c524edfc scripts/bootstrap.sh: add util-linux dependency 2017-08-24 21:30:44 +03:00