toolchain/ios_trampolines/clang_trampoline_ios.sh
raw| 1 | #!/bin/bash |
| 2 | # Copyright 2022 Google LLC |
| 3 | # |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | set -euo pipefail |
| 8 | |
| 9 | # Find this file and look for ../../external |
| 10 | BASE_DIR=$( realpath $( dirname ${BASH_SOURCE[0]})) |
| 11 | CLANG_DIR=$( dirname $( dirname $BASE_DIR))/external/*clang_ios |
| 12 | |
| 13 | $CLANG_DIR/bin/clang $@ |