Skip to content

Commit 1a5de01

Browse files
committed
cat error logs
1 parent b23f277 commit 1a5de01

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/apk/APKBUILD

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,17 @@ build() {
4141
git clone https://github.com/microsoft/vcpkg.git
4242
mv vcpkg $ROOT_DIR/
4343
export VCPKG_FORCE_SYSTEM_BINARIES=1
44-
set -e
44+
set +e
4545
cmake -B build -DINTEGRATE_VCPKG=ON -DCMAKE_BUILD_TYPE=Release \
4646
-DCMAKE_MAKE_PROGRAM=make \
4747
-DCMAKE_INSTALL_PREFIX="$pkgdir" \
4848
-DBUILD_TESTS=OFF -DBUILD_DYNAMIC_LIB=ON -DBUILD_STATIC_LIB=ON \
4949
$ROOT_DIR
50+
if [[ $? -ne 0 ]]; then
51+
cat $ROOT_DIR/vcpkg/buildtrees/detect_compiler/*.log
52+
exit 1
53+
fi
54+
set -e
5055
cmake --build build -j8
5156
}
5257

0 commit comments

Comments
 (0)