blob: a652027ac6af23f8755f9675145671ab98f2ccd9 [file] [log] [blame]
James Kuszmaul3ae42262019-11-08 12:33:41 -08001#!/bin/bash --norc
2
3LD_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"
6LD_LIBRARY_PATH+=":${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/usr/lib"
7export LD_LIBRARY_PATH
8
9exec \
10 ${BAZEL_OUTPUT_ROOT}external/clang_6p0_repo/usr/bin/clang-6.0 \
11 "$@"