summaryrefslogtreecommitdiff
path: root/main/llvm14/APKBUILD
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-22 23:30:43 +0000
committeralice <alice@ayaya.dev>2022-08-22 23:46:41 +0000
commit04b55468f9d651c3a01dff7c4f7cc823b3f9b12c (patch)
treef8a99d6a863d41ffb67b64c041b3a44953073838 /main/llvm14/APKBUILD
parent21953918a759fc8a1c3a0bb0d47aaef566b4fabe (diff)
downloadaports-04b55468f9d651c3a01dff7c4f7cc823b3f9b12c.zip
main/llvm14: improve stack-size a bit
Diffstat (limited to 'main/llvm14/APKBUILD')
-rw-r--r--main/llvm14/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/llvm14/APKBUILD b/main/llvm14/APKBUILD
index 4b72ed5b565..e802db84d74 100644
--- a/main/llvm14/APKBUILD
+++ b/main/llvm14/APKBUILD
@@ -10,7 +10,7 @@ _pkgname=llvm
pkgver=14.0.6
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
-pkgrel=3
+pkgrel=4
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"
@@ -28,6 +28,7 @@ source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/l
0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch
fix-memory-mf_exec-on-aarch64.patch
install-prefix.patch
+ llvm-stack-size.patch
"
builddir="$srcdir/$_pkgname-$pkgver.src"
@@ -134,7 +135,6 @@ build() {
# NOTE: DO NOT change CMAKE_BUILD_TYPE! Buildmodes like None will enable
# debug assertions for LLVM!
- LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" \
cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/$_prefix \
@@ -306,4 +306,5 @@ sha512sums="
6021b5a39843d645a8c63d558568f120d0d91a1ce209e46f0b980253fafb18dfc2078ef39cf63b0900f4313e3c5636320b3c179ff7a4e220d06aec2455063993 0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch
dd5efd88abdd13db3b17bde8735c2ddb1ed1ac690a8ab06072e3e91f87d7ede924dcb513ee31b855d304fe43246619e5fa83fcbaeabb256b3b96ff4ebaf3b110 fix-memory-mf_exec-on-aarch64.patch
7a87da5ee5f9d4db21974023eab88645610fdfae856e445f402169bc2aed74ab3861ad03974421aaa2312e24efb55bdbcd312146eb12b52f5c8c7515713bd40f install-prefix.patch
+c96cbd78a71d62e2ad273f0d2ef853644a5a80613e2519c49a9b7c04f684b106fb1dbb969626207bf16edb72c2dbfec23037b74716d5717263a1b86c60df52b4 llvm-stack-size.patch
"