Build the 'Release' version instead of 'RelwithAsserts'.

This commit is contained in:
Edmund Lodewijks 2026-02-16 19:34:28 +02:00
parent 87cd53b396
commit d238d61cf9
No known key found for this signature in database
GPG key ID: 5D0AC5211E8D1C4C
2 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = aws-lc
pkgdesc = general-purpose cryptographic library maintained by the AWS Cryptography team for AWS
pkgver = 1.67.0
pkgrel = 3
pkgrel = 4
url = https://github.com/aws/aws-lc
arch = x86_64
license = MIT
@ -19,7 +19,7 @@ pkgbase = aws-lc
optdepends = libunwind: For extra tests
optdepends = clang: alternative C/C++ compiler
optdepends = llvm: LLVM toolchain utilities (ar, ranlib, etc.) for use with clang
options = !strip
options = !lto
source = aws-lc-1.67.0.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.67.0.tar.gz
b2sums = 2fc94dca5ff6bd2bd387035270bd65674621bc62b4d33522134c881aa81e59131eeb99f3d3e9a72e74e3bbb03770e5c5f425ec28007b58fd28ecc6219693f60f

View file

@ -10,7 +10,7 @@
pkgname=aws-lc
pkgver=1.67.0
pkgrel=3
pkgrel=4
pkgdesc='general-purpose cryptographic library maintained by the AWS Cryptography team for AWS'
url='https://github.com/aws/aws-lc'
license=('MIT' 'ISC' 'Apache-2.0' 'OpenSSL')
@ -35,9 +35,10 @@ optdepends=(
arch=('x86_64')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
b2sums=('2fc94dca5ff6bd2bd387035270bd65674621bc62b4d33522134c881aa81e59131eeb99f3d3e9a72e74e3bbb03770e5c5f425ec28007b58fd28ecc6219693f60f')
options=(!strip)
options=(!lto)
# Temporary: testing with Clang/LLVM toolchain
# No need to disable lto in 'options' above when using Clang
#_set_clang_toolchain() {
# export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib
#}
@ -70,7 +71,7 @@ build() {
cmake -B build \
-GNinja \
-DCMAKE_BUILD_TYPE=RelWithAsserts \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SBINDIR:PATH=bin/aws-lc \
-DCMAKE_INSTALL_BINDIR:PATH=bin/aws-lc \