blob: 369bf41dda63f8f233b0f5ff472054b5ec69a226 [file] [log] [blame]
Philipp Schrader9b1790e2018-03-10 20:21:30 -08001#!/bin/bash --norc
2
3LD_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"
6LD_LIBRARY_PATH+=":${BAZEL_OUTPUT_ROOT}external/clang_3p6_repo/usr/lib"
7export LD_LIBRARY_PATH
8
9exec \
10 ${BAZEL_OUTPUT_ROOT}external/clang_3p6_repo/usr/bin/clang-3.6 \
11 "$@"