From b8e4ea69e708ea3dba48f72d09b69a86569a32b7 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 12 Aug 2024 10:21:50 +0200 Subject: [PATCH] CI Linux: utilize continuous GPUJPEG build from GH advantages: - it saves some build time (approx. 25 min) - it is compatible with Windows version where the binary build is used as well - reduces complexity by delegating the build to GPUJPEG CI --- .github/scripts/Linux/install_others.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/scripts/Linux/install_others.sh b/.github/scripts/Linux/install_others.sh index 6763b2355..293d25ff3 100755 --- a/.github/scripts/Linux/install_others.sh +++ b/.github/scripts/Linux/install_others.sh @@ -20,15 +20,10 @@ install_ximea() { } install_gpujpeg() {( - cd "$GITHUB_WORKSPACE" - ./ext-deps/bootstrap_gpujpeg.sh -d - mkdir ext-deps/gpujpeg/build - cd ext-deps/gpujpeg/build - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CUDA_ARCHITECTURES=35 \ - -DBUILD_OPENGL=OFF .. - cmake --build . --parallel "$(nproc)" - sudo cmake --install . + curl -LO https://github.com/CESNET/GPUJPEG/releases/download/\ +continuous/GPUJPEG-Linux.tar.xz + tar xaf GPUJPEG-Linux.tar + cp -r GPUJPEG/* /usr/local/ sudo ldconfig )}