Home
last modified time | relevance | path

Searched +full:ninja +full:- +full:build (Results 1 – 17 of 17) sorted by relevance

/openthread-2.7.6/.github/workflows/
Dbuild.yml29 name: Build
35 cancel-previous-runs:
36 runs-on: ubuntu-20.04
38 - uses: rokroskar/workflow-run-cleanup-action@master
44 runs-on: ubuntu-20.04
46 - uses: actions/checkout@v2
49 - name: Bootstrap
51 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
52 sudo apt-get --no-install-recommends install -y clang-format-9 clang-tidy-9 shellcheck
53 python3 -m pip install yapf==0.31.0
[all …]
Dsimulation-1.2.yml35 cancel-previous-runs:
36 runs-on: ubuntu-20.04
38 - uses: rokroskar/workflow-run-cleanup-action@master
43 thread-1-2:
44 name: thread-1-2-${{ matrix.compiler.c }}-${{ matrix.arch }}
45 runs-on: ubuntu-20.04
47 CFLAGS: -${{ matrix.arch }}
48 CXXFLAGS: -${{ matrix.arch }}
49 LDFLAGS: -${{ matrix.arch }}
58 … compiler: [{c: "gcc", cxx: "g++", gcov: "gcc"}, { c: "clang-10", cxx: "clang++-10", gcov: "llvm"}]
[all …]
Dposix.yml35 cancel-previous-runs:
36 runs-on: ubuntu-20.04
38 - uses: rokroskar/workflow-run-cleanup-action@master
43 expects-linux:
44 runs-on: ubuntu-18.04
46 CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
47 CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
49 - uses: actions/checkout@v2
50 - name: Bootstrap
52 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
[all …]
Dotbr.yml35 cancel-previous-runs:
36 runs-on: ubuntu-20.04
38 - uses: rokroskar/workflow-run-cleanup-action@master
43 backbone-router:
44 runs-on: ubuntu-20.04
60 - uses: actions/checkout@v2
63 - name: Build OTBR Docker
68 - name: Bootstrap
70 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
71 …sudo apt-get --no-install-recommends install -y python3-setuptools python3-wheel ninja-build socat…
[all …]
Dsimulation-1.1.yml35 cancel-previous-runs:
36 runs-on: ubuntu-20.04
38 - uses: rokroskar/workflow-run-cleanup-action@master
44 runs-on: ubuntu-20.04
52 - uses: actions/checkout@v2
55 - name: Bootstrap
57 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
58 … sudo apt-get --no-install-recommends install -y llvm-runtime python3-setuptools python3-wheel
59 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
60 - name: Run
[all …]
/openthread-2.7.6/script/
Dcmake-build31 # This script calls cmake and ninja to compile OpenThread for the given platform.
33 # Compile with default build options:
35 # script/cmake-build ${platform}
37 # Compile with the specified build option enabled:
39 # script/cmake-build ${platform} -D${option}=ON
41 # Compile with the specified build option disabled that already enabled by default:
43 # script/cmake-build ${platform} -D${option}=OFF
45 # Compile with the specified ninja build target:
47 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/cmake-build ${platform}
49 # Compile with the specified build directory:
[all …]
Dcheck-gn-build34 set -e
35 set -x
39 # Check GN build for OT1.1
40 rm gn-out -r || true
41 gn gen --check gn-out
42 gn args gn-out --list
43 ninja -C gn-out
44 test -f gn-out/obj/src/core/libopenthread-ftd.a
46 # Check GN build for OT1.2
47 rm gn-out -r || true
[all …]
Dbootstrap34 set -euxo pipefail
40 # add clang-format and clang-tidy for pretty
41 …sudo apt-get --no-install-recommends install -y clang-format-9 clang-tidy-9 || echo 'WARNING: coul…
44 …python3 -m pip install yapf==0.31.0 || echo 'WARNING: could not install yapf, which is useful if y…
47 …python3 -m pip install mdv || echo 'WARNING: could not install mdv, which is required to post mark…
50 …command -v shfmt || brew install shfmt || echo 'WARNING: could not install shfmt, which is useful …
57 # apt-get update and install dependencies
58 sudo apt-get update
59 …sudo apt-get --no-install-recommends install -y automake g++ libtool lsb-release make cmake ninja-…
63 PLATFORM=$(lsb_release -is)
[all …]
Dcheck-size30 set -euo pipefail
32 readonly OT_TMP_DIR=/tmp/ot-size-report
33 readonly OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)}
34 readonly OT_SHA_OLD="$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' ' -f2)"
39 if arm-none-eabi-gcc --version | grep -q 'Arm Embedded Processors 7'; then
44 …&& wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018
45 && tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
46 export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
48 arm-none-eabi-gcc --version
53 sudo apt-get --no-install-recommends install -y ninja-build
[all …]
Dtest33 set -euo pipefail
35 readonly OT_BUILDDIR="${OT_BUILDDIR:-${PWD}/build}"
43 readonly OT_NODE_TYPE="${OT_NODE_TYPE:-cli}"
44 readonly OT_NATIVE_IP="${OT_NATIVE_IP:-0}"
45 readonly THREAD_VERSION="${THREAD_VERSION:-1.2}"
46 readonly INTER_OP="${INTER_OP:-0}"
47 readonly VERBOSE="${VERBOSE:-0}"
48 readonly BORDER_ROUTING="${BORDER_ROUTING:-1}"
49 readonly INTER_OP_BBR="${INTER_OP_BBR:-1}"
51 readonly OT_COREDUMP_DIR="${PWD}/ot-core-dump"
[all …]
/openthread-2.7.6/examples/platforms/simulation/
DREADME.md5 ## Build Examples
7 ### Build using autotools
10 $ cd <path-to-openthread>
12 $ make -f examples/Makefile-simulation
15 After a successful build, the `elf` files are found in:
17 - `<path-to-openthread>/output/<platform>/bin`
19 ### Build using cmake/ninja
22 $ cd <path-to-openthread>
23 $ mkdir build && cd build
24 $ cmake -GNinja -DOT_PLATFORM=simulation ..
[all …]
/openthread-2.7.6/etc/docker/environment/
DDockerfile1 # Ubuntu image with tools required to build OpenThread
5 ENV LANG en_US.UTF-8
7 RUN set -x \
8 && apt-get update -y \
9 && apt-get install -y locales \
10 && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
11 && apt-get --no-install-recommends install -fy \
13 ninja-build \
15 python3-pip \
16 python3-setuptools \
[all …]
/openthread-2.7.6/third_party/build_gn/
DREADME.md5 https://gn.googlesource.com/gn/+/refs/heads/master/examples/simple_build/build
9 BSD 3-Clause
17 gn is metabuild system that generates ninja files for further compilation
20 example compiler, linker etc. The toolchains in toolchain/BUILD.gn are from the
22 examples/simple_build/build/
/openthread-2.7.6/
D.gitignore11 *.ninja*
27 .local-version
32 build
41 etc/cmake/openthread-config-generic.h
42 include/openthread-config.h
43 include/openthread-config.h.in
44 include/openthread-config-generic.h
45 include/openthread-config-generic.h.in
46 include/stamp-h1
52 third_party/nlbuild-autotools/repo/third_party/autoconf/compile
[all …]
D.lgtm.yml33 - cmake
34 - ninja-build
37 - THREAD_VERSION=1.2 NODE_MODE=rcp OT_NATIVE_IP=1 ./script/test build
/openthread-2.7.6/tests/toranj/
Dbuild.sh33 echo "Toranj Build script "
37 echo " ncp : Build OpenThread NCP FTD mode with simulation platform"
38 …echo " ncp-15.4 : Build OpenThread NCP FTD mode with simulation platform - 15.4 radi…
39 …echo " ncp-trel : Build OpenThread NCP FTD mode with simulation platform - TREL radi…
40 …echo " ncp-15.4+trel : Build OpenThread NCP FTD mode with simulation platform - multi rad…
41 … echo " rcp : Build OpenThread RCP (NCP in radio mode) with simulation platform"
42 echo " posix : Build OpenThread POSIX NCP"
43 echo " posix-15.4 : Build OpenThread POSIX NCP - 15.4 radio"
44 echo " posix-trel : Build OpenThread POSIX NCP - TREL radio "
45 echo " posix-15.4+trel : Build OpenThread POSIX NCP - multi radio (15.4+TREL)"
[all …]
/openthread-2.7.6/tests/fuzz/
Doss-fuzz-build31 mkdir build
32 cd build || exit
34 cmake -GNinja \
35 -DCMAKE_C_FLAGS="${CFLAGS}" \
36 -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
37 -DOT_BUILD_EXECUTABLES=OFF \
38 -DOT_FUZZ_TARGETS=ON \
39 -DOT_MTD=OFF \
40 -DOT_PLATFORM=external \
41 -DOT_RCP=OFF \
[all …]