Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 1 | #!/bin/bash --norc |
| 2 | |
| 3 | LD_LIBRARY_PATH="${BAZEL_OUTPUT_ROOT}external/clang_3p6_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_3p6_repo/lib/x86_64-linux-gnu" |
| 6 | LD_LIBRARY_PATH+=":${BAZEL_OUTPUT_ROOT}external/clang_3p6_repo/usr/lib" |
| 7 | export LD_LIBRARY_PATH |
| 8 | |
| 9 | exec \ |
| 10 | ${BAZEL_OUTPUT_ROOT}external/clang_3p6_repo/usr/bin/clang-3.6 \ |
| 11 | "$@" |