Compile telnetsrv in cross-compilation pipeline
This commit is contained in:
@@ -36,7 +36,7 @@ RUN /bin/sh oaienv && \
|
|||||||
cd cmake_targets && \
|
cd cmake_targets && \
|
||||||
mkdir -p log ran_build/build ran_build/build-cross && \
|
mkdir -p log ran_build/build ran_build/build-cross && \
|
||||||
cd ran_build/build && \
|
cd ran_build/build && \
|
||||||
cmake ../../.. -GNinja && \
|
cmake ../../.. -GNinja -DENABLE_TELNETSRV=ON && \
|
||||||
echo "====== Start of log for host-tools ======" && \
|
echo "====== Start of log for host-tools ======" && \
|
||||||
ninja ldpc_generators generate_T > ../../log/host-tools.txt 2>&1 && \
|
ninja ldpc_generators generate_T > ../../log/host-tools.txt 2>&1 && \
|
||||||
echo "====== End of log for host-tools ======" && \
|
echo "====== End of log for host-tools ======" && \
|
||||||
@@ -48,7 +48,7 @@ RUN /bin/sh oaienv && \
|
|||||||
-DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" && \
|
-DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" && \
|
||||||
echo "====== Start of log for cross-build executables ======" && \
|
echo "====== Start of log for cross-build executables ======" && \
|
||||||
# making always passing so we can analyze the all.txt file
|
# making always passing so we can analyze the all.txt file
|
||||||
ninja dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim lte-softmodem nr-softmodem nr-cuup oairu lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator > ../../log/all.txt 2>&1; \
|
ninja dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim lte-softmodem nr-softmodem nr-cuup oairu lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator telnetsrv > ../../log/all.txt 2>&1; \
|
||||||
# displaying errors and warnings
|
# displaying errors and warnings
|
||||||
grep -E -A3 "warning:|error:" ../../log/all.txt || true && \
|
grep -E -A3 "warning:|error:" ../../log/all.txt || true && \
|
||||||
# will fail only if string "errors:" is found
|
# will fail only if string "errors:" is found
|
||||||
|
|||||||
Reference in New Issue
Block a user