• Home
  • Raw
  • Download

Lines Matching +full:buck +full:- +full:build +full:- +full:test

6 # This source code is licensed under the BSD-style license found in the
10 # On MacOS, buck2 daemon can get into a weird non-responsive state
12 rm -rf ~/.buck/buckd
23 if [[ "${1:-}" == "use-pt-pinned-commit" ]]; then
24 ./install_requirements.sh --pybind xnnpack --use-pt-pinned-commit
26 ./install_requirements.sh --pybind xnnpack
35 pip install --progress-bar off -r requirements-ci.txt
41 pushd third-party/flatbuffers || return
43 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
45 CMAKE_JOBS=$(( $(sysctl -n hw.ncpu) - 1 ))
47 CMAKE_JOBS=$(( $(nproc) - 1 ))
49 cmake --build . -j "${CMAKE_JOBS}"
61 git config --global user.email "github_executorch@arm.com"
62 git config --global user.name "Github Executorch"
63 bash examples/arm/setup.sh --i-agree-to-the-contained-eula
65 # Test tosa_reference flow
66 source examples/arm/ethos-u-scratch/setup_path.sh
70 # Build executorch runtime with retry as this step is flaky on macos CI
71 retry buck2 build //examples/portable/executor_runner:executor_runner
75 CMAKE_OUTPUT_DIR=cmake-out
76 # Build executorch runtime using cmake
77 rm -rf "${CMAKE_OUTPUT_DIR}" && mkdir "${CMAKE_OUTPUT_DIR}"
82 retry cmake -DPYTHON_EXECUTABLE="${PYTHON_EXECUTABLE}" -DCMAKE_BUILD_TYPE=Release ..
86 CMAKE_JOBS=$(( $(sysctl -n hw.ncpu) - 1 ))
88 CMAKE_JOBS=$(( $(nproc) - 1 ))
90 cmake --build "${CMAKE_OUTPUT_DIR}" -j "${CMAKE_JOBS}"
99 echo "Invalid build tool $1. Only buck2 and cmake are supported atm"
106 rm -rf cmake-out
107 retry cmake -DBUCK2="$BUCK" \
108 -DCMAKE_INSTALL_PREFIX=cmake-out \
109 -DCMAKE_BUILD_TYPE=Release \
110 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
111 -Bcmake-out .
112 cmake --build cmake-out -j9 --target install --config Release
117 …curl -Ls "https://huggingface.co/karpathy/tinyllamas/resolve/main/stories110M.pt" --output stories…
118 …curl -Ls "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokenizer.model" --output tok…
121 …echo '{"dim": 768, "multiple_of": 32, "n_heads": 12, "n_layers": 12, "norm_eps": 1e-05, "vocab_siz…
127 TORCH_VERSION=$(pip list | grep -w 'torch ' | awk -F ' ' {'print $2'} | tr -d '\n')