diff options
author | Tom Stellard <[email protected]> | 2012-06-15 16:52:16 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-06-22 16:59:24 -0400 |
commit | ea76f0331011337cc4b7caac8f25947501a5aef9 (patch) | |
tree | 271475eae4324c6518788a48e99e0fbc953380d0 /src/gallium/auxiliary | |
parent | 82d25963a838cfebdeb9b080169979329ee850ea (diff) |
clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR
$CLANG_RESOURCE_DIR is the directory that contains all resources
needed by clang to compile programs. When clover uses clang to
compile kernels it needs to specify a resource dir, so that clang
can find its internal headers (e.g. stddef.h).
clang defines $CLANG_RESOURCE_DIR as $CLANG_LIBDIR/clang/$CLANG_VERSION
This patch adds the --with-clang-libdir option in order to accommodate
clang intalls to non-standard locations, and it also adds a check
to the configure script to verify that $CLANG_RESOURCE_DIR/include
contains the necessary header files.
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions