| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # Copyright 2021 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 | # Find this file and look for ../../external |
| 8 | BASE_DIR=$( realpathscip-shell system . . realpath. $( dirnamescip-shell system . . dirname. ${BASH_SOURCE[0]})) |
| 9 | CLANG_DIR=$( dirnamescip-shell system . . dirname. $( dirnamescip-shell system . . dirname. $BASE_DIR))/external/*clang_linux_amd64 |
| 10 | |
| 11 | export LD_LIBRARY_PATH=$CLANG_DIR"/usr/lib/x86_64-linux-gnu" |
| 12 | |
| 13 | $CLANG_DIR/bin/clang $@ |