mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
21 lines
568 B
Text
21 lines
568 B
Text
|
#!/bin/bash
|
||
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
echo "Building ChromeOS dependencies..."
|
||
|
if ! make -j $(nproc) -C ci/build_environment \
|
||
|
>/root/build_environment.log 2>&1; then
|
||
|
echo "Failed to build ChromeOS dependencies"
|
||
|
cat /root/build_environment.log
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
echo ""
|
||
|
echo "crosvm-$(arch) builder is ready:"
|
||
|
echo " Cargo version: $(cargo --version)"
|
||
|
echo ""
|
||
|
|
||
|
# Run user provided command (Docker defaults to bash)
|
||
|
$@
|