mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 23:06:34 +00:00

Most Python files were using `# === [...]` instead of `#=== [...]` so I went with what was the most common in the codebase.
26 lines
871 B
Bash
Executable File
26 lines
871 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# ===----------------------------------------------------------------------===##
|
|
#
|
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
# ===----------------------------------------------------------------------===##
|
|
|
|
set -e
|
|
|
|
THIS_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
. "${THIS_DIR}/emulator-functions.sh"
|
|
|
|
# Cleanup the emulator if it's already running.
|
|
if docker container inspect libcxx-ci-android-emulator &>/dev/null; then
|
|
echo "Stopping existing emulator container..."
|
|
docker stop libcxx-ci-android-emulator
|
|
|
|
echo "Emulator container final logs:"
|
|
docker logs libcxx-ci-android-emulator
|
|
|
|
echo "Removing existing emulator container..."
|
|
docker rm libcxx-ci-android-emulator
|
|
fi
|