summarylogtreecommitdiffstats
path: root/.SRCINFO
diff options
context:
space:
mode:
authorFelix Singer2023-05-15 23:21:12 +0000
committerFelix Singer2023-05-16 11:24:49 +0000
commitc5a0810b2e1e9f08aaff778367a7415a219b64e3 (patch)
tree1fe4147176975d6fa1c647541cea32307e06c6f3 /.SRCINFO
parentc09b62d2e2c29e6d4f57cd8f143180226dcb1f01 (diff)
downloadaur-c5a0810b2e1e9f08aaff778367a7415a219b64e3.tar.gz
PKGBUILD: Let pacman manage sources allowing builds to be offline
Currently, the buildgcc script used to build the toolchain requires an internet connection during the build step to download the source tarballs. Building the package reproducible is not possible this way. Thus, let pacman manage (and download) the source tarballs and create symlinks to the directory where they are expected. This allows the build step to be offline improving the reproducibility. To keep things modular, create separate arrays for GCC and Clang, containing sources and hashsums, and add the contents to the specified arrays later if their components are enabled. This way, the sources are not downloaded when their components are not enabled. Signed-off-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to '.SRCINFO')
-rw-r--r--.SRCINFO40
1 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df4884c80b61..b2a4302a0f65 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,9 +13,49 @@ pkgbase = coreboot-toolchain
license = GPL3Plus
makedepends = python3
makedepends = gcc-ada
+ noextract = coreboot#commit=465fbbe93ee01b4576689a90b7ddbeec23cdace2
+ noextract = R10_20_22.tar.gz
+ noextract = nasm-2.15.05.tar.bz2
+ noextract = gmp-6.2.1.tar.xz
+ noextract = mpfr-4.2.0.tar.xz
+ noextract = mpc-1.3.1.tar.gz
+ noextract = gcc-11.3.0.tar.xz
+ noextract = binutils-2.40.tar.xz
+ noextract = llvm-15.0.7.src.tar.xz
+ noextract = clang-15.0.7.src.tar.xz
+ noextract = cmake-15.0.7.src.tar.xz
+ noextract = compiler-rt-15.0.7.src.tar.xz
+ noextract = clang-tools-extra-15.0.7.src.tar.xz
+ noextract = cmake-3.26.3.tar.gz
options = buildflags
source = git+https://review.coreboot.org/coreboot#commit=465fbbe93ee01b4576689a90b7ddbeec23cdace2
+ source = https://github.com/acpica/acpica/archive/refs/tags/R10_20_22.tar.gz
+ source = https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.bz2
+ source = https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz
+ source = https://ftpmirror.gnu.org/mpfr/mpfr-4.2.0.tar.xz
+ source = https://ftpmirror.gnu.org/mpc/mpc-1.3.1.tar.gz
+ source = https://ftpmirror.gnu.org/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz
+ source = https://ftpmirror.gnu.org/binutils/binutils-2.40.tar.xz
+ source = https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-15.0.7.src.tar.xz
+ source = https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang-15.0.7.src.tar.xz
+ source = https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/cmake-15.0.7.src.tar.xz
+ source = https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/compiler-rt-15.0.7.src.tar.xz
+ source = https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang-tools-extra-15.0.7.src.tar.xz
+ source = https://cmake.org/files/v3.26/cmake-3.26.3.tar.gz
sha256sums = SKIP
+ sha256sums = 1aa17eb1779cd171110074ce271a65c06046eacbba7be7ce5ee71df1b31c3b86
+ sha256sums = 3c4b8339e5ab54b1bcb2316101f8985a5da50a3f9e504d43fa6f35668bee2fd0
+ sha256sums = fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
+ sha256sums = 06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993
+ sha256sums = ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
+ sha256sums = b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39
+ sha256sums = 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1
+ sha256sums = 4ad8b2cc8003c86d0078d15d987d84e3a739f24aae9033865c027abae93ee7a4
+ sha256sums = a6b673ef15377fb46062d164e8ddc4d05c348ff8968f015f7f4af03f51000067
+ sha256sums = 8986f29b634fdaa9862eedda78513969fe9788301c9f2d938f4c10a3e7a3e7ea
+ sha256sums = 353832c66cce60931ea0413b3c071faad59eefa70d02c97daa8978b15e4b25b7
+ sha256sums = 809a2ef46d46be3b83ca389356404ac041fa6d8f5496cb02ec35d252afb64fd1
+ sha256sums = bbd8d39217509d163cb544a40d6428ac666ddc83e22905d3e52c925781f0f659
pkgname = coreboot-toolchain-i386