diff options
Diffstat (limited to 'system/cmake/APKBUILD')
-rw-r--r-- | system/cmake/APKBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/system/cmake/APKBUILD b/system/cmake/APKBUILD index f8570efd9..596ed68bd 100644 --- a/system/cmake/APKBUILD +++ b/system/cmake/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=cmake -pkgver=3.16.4 +pkgver=3.22.1 pkgrel=0 pkgdesc="Cross-platform build system" url="https://cmake.org" @@ -22,12 +22,12 @@ source="https://cmake.org/files/$_v/cmake-${pkgver}.tar.gz" _parallel_opt() { local i n - for i in $MAKEOPTS; do + for i in $MAKEFLAGS; do case "$i" in -j*) n=${i#-j};; esac; done - [ -n "$n" ] && echo "--parallel $n" + [ -n "$n" ] && echo "--parallel=$n" } build() { @@ -45,12 +45,21 @@ build() { } check() { + # disable only one part of this test (see #417) + sed -i Tests/RunCMake/ctest_submit/RunCMakeTest.cmake \ + -e '/^run_ctest_submit_FailDrop(https)/d' \ + ; + # skip CTestTestUpload: tries to upload something during check... - CTEST_OUTPUT_ON_FAILURE=TRUE bin/ctest -E CTestTestUpload + #CTEST_PARALLEL_LEVEL=${JOBS} \ + CTEST_OUTPUT_ON_FAILURE=TRUE \ + bin/ctest \ + -E CTestTestUpload \ + ; } package() { make DESTDIR="$pkgdir" install } -sha512sums="4aa36608bac3b9e29ea765003cdc684733c025d7b18fbae057f3be1f726a159d4b0231b8b1be269206aa7dbd7177fe0110d5bac8d72fb0f6ad392bb284b1fce3 cmake-3.16.4.tar.gz" +sha512sums="b1e900fe573cd1cc76d26386f2298d7722737c9ff67930ee108994972b4561ef69caeb537177c9b95b7f17b755e20e034825d3807ea0d2dd4c391310b03adc11 cmake-3.22.1.tar.gz" |