File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1717# Install Boost and TBB
1818bash ci/utils/install_boost_tbb.sh
1919
20+ # Install Protobuf
21+ bash ci/utils/install_protobuf.sh
22+
2023export SKBUILD_CMAKE_ARGS=" -DCUOPT_BUILD_WHEELS=ON;-DDISABLE_DEPRECATION_WARNING=ON"
2124
2225# For pull requests we are enabling assert mode.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ set -euo pipefail
7+
8+ # Install Protobuf development libraries
9+ if [ -f /etc/os-release ]; then
10+ . /etc/os-release
11+ if [[ " $ID " == " rocky" ]]; then
12+ echo " Detected Rocky Linux. Installing Protobuf via dnf..."
13+ dnf install -y protobuf-devel protobuf-compiler
14+ elif [[ " $ID " == " ubuntu" ]]; then
15+ echo " Detected Ubuntu. Installing Protobuf via apt..."
16+ apt-get update
17+ apt-get install -y libprotobuf-dev protobuf-compiler
18+ else
19+ echo " Unknown OS: $ID . Please install Protobuf development libraries manually."
20+ exit 1
21+ fi
22+ else
23+ echo " /etc/os-release not found. Cannot determine OS. Please install Protobuf development libraries manually."
24+ exit 1
25+ fi
You can’t perform that action at this time.
0 commit comments