Skip to content

Commit

Permalink
CI Linux: utilize continuous GPUJPEG build from GH
Browse files Browse the repository at this point in the history
advantages:

- it saves some build time (approx. 25 sec)
- it is compatible with Windows CI where the binary build is used as well
- reduces complexity by delegating the build to GPUJPEG CI
  • Loading branch information
MartinPulec committed Aug 12, 2024
1 parent 97e494a commit 8f213c2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/scripts/Linux/install_others.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)}

Expand Down

0 comments on commit 8f213c2

Please sign in to comment.