James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame] | 1 | #!/bin/bash --norc |
| 2 | |
| 3 | LD_LIBRARY_PATH="${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/usr/lib/x86_64-linux-gnu" |
| 4 | # TODO(Brian): Figure out why it segfaults with this enabled, and re-enable it. |
| 5 | #LD_LIBRARY_PATH+=":${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/lib/x86_64-linux-gnu" |
| 6 | LD_LIBRARY_PATH+=":${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/usr/lib" |
| 7 | export LD_LIBRARY_PATH |
| 8 | |
| 9 | exec \ |
| 10 | ${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/usr/bin/clang-6.0 \ |
| 11 | "$@" |