Add ZMQ radio to OAI build scripts
This commit is contained in:
@@ -68,7 +68,7 @@ Options:
|
|||||||
--UE-conf-nvram [configuration file]
|
--UE-conf-nvram [configuration file]
|
||||||
Specify conf_nvram_path (default \"$conf_nvram_path\")
|
Specify conf_nvram_path (default \"$conf_nvram_path\")
|
||||||
-w | --hardware
|
-w | --hardware
|
||||||
USRP, BLADERF, LMSSDR, IRIS, SIMU, AW2SORI, AERIAL, None (Default)
|
USRP, BLADERF, LMSSDR, IRIS, SIMU, AW2SORI, AERIAL, ZMQ, None (Default)
|
||||||
Adds this RF board support (in external packages installation and in compilation)
|
Adds this RF board support (in external packages installation and in compilation)
|
||||||
-t | --transport
|
-t | --transport
|
||||||
Selects the transport protocol type, options: None, Ethernet, oran_fhlib_5g, oran_fhlib_5g_mplane, WLS
|
Selects the transport protocol type, options: None, Ethernet, oran_fhlib_5g, oran_fhlib_5g_mplane, WLS
|
||||||
@@ -223,7 +223,7 @@ function main() {
|
|||||||
shift 2;;
|
shift 2;;
|
||||||
-w | --hardware)
|
-w | --hardware)
|
||||||
case "$2" in
|
case "$2" in
|
||||||
"USRP" | "BLADERF" | "LMSSDR" | "IRIS")
|
"USRP" | "BLADERF" | "LMSSDR" | "IRIS" | "ZMQ")
|
||||||
HWs+=" OAI_"$2
|
HWs+=" OAI_"$2
|
||||||
TARGET_LIST="$TARGET_LIST oai_${2,,}devif" # ,, makes lowercase
|
TARGET_LIST="$TARGET_LIST oai_${2,,}devif" # ,, makes lowercase
|
||||||
CMAKE_CMD="$CMAKE_CMD -DOAI_$2=ON"
|
CMAKE_CMD="$CMAKE_CMD -DOAI_$2=ON"
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ RUN apt-get update && \
|
|||||||
wget \
|
wget \
|
||||||
flatbuffers-compiler \
|
flatbuffers-compiler \
|
||||||
libflatbuffers-dev \
|
libflatbuffers-dev \
|
||||||
libnanomsg-dev && \
|
libnanomsg-dev \
|
||||||
|
libzmq3-dev && \
|
||||||
# --break-system-packages allows externally managed environment in pip
|
# --break-system-packages allows externally managed environment in pip
|
||||||
pip3 install --ignore-installed pyyaml --break-system-packages
|
pip3 install --ignore-installed pyyaml --break-system-packages
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ RUN \
|
|||||||
-w USRP -t Ethernet -w BLADERF \
|
-w USRP -t Ethernet -w BLADERF \
|
||||||
--build-e2 --cmake-opt -DKPM_VERSION=$KPM_VERSION --cmake-opt -DE2AP_VERSION=$E2AP_VERSION \
|
--build-e2 --cmake-opt -DKPM_VERSION=$KPM_VERSION --cmake-opt -DE2AP_VERSION=$E2AP_VERSION \
|
||||||
--cmake-opt -DOAI_VRTSIM_TAPS_CLIENT=ON \
|
--cmake-opt -DOAI_VRTSIM_TAPS_CLIENT=ON \
|
||||||
|
-w ZMQ \
|
||||||
--noavx512 \
|
--noavx512 \
|
||||||
--build-tool-opt -k10 \
|
--build-tool-opt -k10 \
|
||||||
--cmake-opt -DT_RECORD_DB=ON \
|
--cmake-opt -DT_RECORD_DB=ON \
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ RUN apt-get update && \
|
|||||||
python3-requests \
|
python3-requests \
|
||||||
libusb-1.0-0 \
|
libusb-1.0-0 \
|
||||||
libyaml-cpp-dev \
|
libyaml-cpp-dev \
|
||||||
libnanomsg5 && \
|
libnanomsg5 \
|
||||||
|
libzmq5 && \
|
||||||
# if the --sanitize option was used to build, additional packages are required
|
# if the --sanitize option was used to build, additional packages are required
|
||||||
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
||||||
libasan8 \
|
libasan8 \
|
||||||
@@ -78,6 +79,7 @@ COPY --from=gnb-build \
|
|||||||
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_rrc.so \
|
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_rrc.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_o1.so \
|
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_o1.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libvrtsim.so \
|
/oai-ran/cmake_targets/ran_build/build/libvrtsim.so \
|
||||||
|
/oai-ran/cmake_targets/ran_build/build/liboai_zmqdevif.so \
|
||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
# Now we are copying from builder-image the UHD files.
|
# Now we are copying from builder-image the UHD files.
|
||||||
@@ -105,7 +107,8 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
|
|||||||
/usr/local/lib/libldpc*.so \
|
/usr/local/lib/libldpc*.so \
|
||||||
/usr/local/lib/libtelnetsrv.so \
|
/usr/local/lib/libtelnetsrv.so \
|
||||||
/usr/local/lib/libtelnetsrv_ci.so \
|
/usr/local/lib/libtelnetsrv_ci.so \
|
||||||
/usr/local/lib/libuhd.so.4.8.0
|
/usr/local/lib/libuhd.so.4.8.0 \
|
||||||
|
/usr/local/lib/liboai_zmqdevif.so
|
||||||
|
|
||||||
WORKDIR /opt/oai-gnb
|
WORKDIR /opt/oai-gnb
|
||||||
#EXPOSE 2152/udp # S1U, GTP/UDP
|
#EXPOSE 2152/udp # S1U, GTP/UDP
|
||||||
|
|||||||
@@ -50,7 +50,8 @@ RUN apt-get update && \
|
|||||||
iperf \
|
iperf \
|
||||||
libyaml-cpp-dev \
|
libyaml-cpp-dev \
|
||||||
libzstd1 \
|
libzstd1 \
|
||||||
libnanomsg5 && \
|
libnanomsg5 \
|
||||||
|
libzmq5 && \
|
||||||
# if the --sanitize option was used to build, additional packages are required
|
# if the --sanitize option was used to build, additional packages are required
|
||||||
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
||||||
libasan8 \
|
libasan8 \
|
||||||
@@ -83,6 +84,7 @@ COPY --from=nr-ue-build \
|
|||||||
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv.so \
|
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libparams_yaml.so \
|
/oai-ran/cmake_targets/ran_build/build/libparams_yaml.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libvrtsim.so \
|
/oai-ran/cmake_targets/ran_build/build/libvrtsim.so \
|
||||||
|
/oai-ran/cmake_targets/ran_build/build/liboai_zmqdevif.so \
|
||||||
# Wildcards so it doesn't fail if not present
|
# Wildcards so it doesn't fail if not present
|
||||||
/oai-ran/cmake_targets/ran_build/build/_deps*/fmtlog-build*/libfmtlog-shared*.so \
|
/oai-ran/cmake_targets/ran_build/build/_deps*/fmtlog-build*/libfmtlog-shared*.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/_deps*/clickhouse-cpp-build*/clickhouse/libclickhouse*.so \
|
/oai-ran/cmake_targets/ran_build/build/_deps*/clickhouse-cpp-build*/clickhouse/libclickhouse*.so \
|
||||||
@@ -114,7 +116,8 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
|
|||||||
/usr/local/lib/libtelnetsrv.so \
|
/usr/local/lib/libtelnetsrv.so \
|
||||||
/usr/local/lib/libtelnetsrv_ciUE.so \
|
/usr/local/lib/libtelnetsrv_ciUE.so \
|
||||||
/usr/local/lib/libtelnetsrv_5Gue.so \
|
/usr/local/lib/libtelnetsrv_5Gue.so \
|
||||||
/usr/local/lib/libuhd.so.4.8.0
|
/usr/local/lib/libuhd.so.4.8.0 \
|
||||||
|
/usr/local/lib/liboai_zmqdevif.so
|
||||||
|
|
||||||
WORKDIR /opt/oai-nr-ue
|
WORKDIR /opt/oai-nr-ue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user