Lines Matching +full:- +full:r

30 set -euxo pipefail
45 sudo apt install -y "${PACKAGES[@]}"
47 pip3 install -r "${POSIX_DIR}/requirements.txt"
48 python3 -m grpc_tools.protoc -I"${SNIFFER_DIR}" --python_out="${SNIFFER_DIR}" --grpc_python_out="${…
50 CONFIG_NAME=${1:-"${POSIX_DIR}/config.yml"}
52 CONFIG=$(python3 -c 'import json, sys, yaml; print(json.dumps(yaml.safe_load(open(sys.argv[1]))))' …
54 MAX_NETWORK_SIZE=$(jq -r '.ot_build.max_number' <<<"$CONFIG")
60 target="ot-cli-ftd"
61 build_dir=$(jq -r '.subpath' <<<"$1")
62 cflags=$(jq -r '.cflags | join(" ")' <<<"$1")
63 version=$(jq -r '.version' <<<"$1")
64 options=$(jq -r '.options | join(" ")' <<<"$1")
66 read -ra options <<<"$options"
75 script/cmake-build \
78 -DOT_THREAD_VERSION="$version" \
79 -DOT_SIMULATION_MAX_NETWORK_SIZE="$MAX_NETWORK_SIZE"
87 target="ot-rcp"
88 build_dir=$(jq -r '.rcp_subpath' <<<"$1")
89 version=$(jq -r '.version' <<<"$1")
90 rcp_options=$(jq -r '.rcp_options | join(" ")' <<<"$1")
92 read -ra rcp_options <<<"$rcp_options"
99 script/cmake-build \
102 -DOT_THREAD_VERSION="$version" \
103 -DOT_SIMULATION_MAX_NETWORK_SIZE="$MAX_NETWORK_SIZE"
108 otbr_docker_image=$(jq -r '.docker_image' <<<"$1")
109 build_args=$(jq -r '.build_args | map("--build-arg " + .) | join(" ")' <<<"$1")
111 read -ra build_args <<<"$build_args"
112 options=$(jq -r '.options | join(" ")' <<<"$1")
116 "-DOT_THREAD_VERSION=$version"
117 "-DOT_SIMULATION_MAX_NETWORK_SIZE=$MAX_NETWORK_SIZE"
121 -t "${otbr_docker_image}" \
122 -f "${ETC_DIR}/Dockerfile" \
124 --build-arg OTBR_OPTIONS="${otbr_options[*]}"
127 for item in $(jq -c '.ot_build.ot | .[]' <<<"$CONFIG"); do
131 git clone https://github.com/openthread/ot-br-posix.git --recurse-submodules --shallow-submodules -…
133 cd ot-br-posix
135 mkdir -p root/etc/init.d
142 mkdir -p root/tmp
145 for item in $(jq -c '.ot_build.otbr | .[]' <<<"$CONFIG"); do
149 rm -rf ot-br-posix