Fix for testsuite including omp.h

When calling the testsuite, clang could not locate omp.h.  The
proper environment variable was modified to include:
exports/common/omp.h.  Documentation was also updated to be more
clear.

Patch by Sunita Chandrasekaran

llvm-svn: 237618
This commit is contained in:
Jonathan Peyton 2015-05-18 21:38:50 +00:00
parent 2da7b84852
commit 41216393a4
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ test: omp
if [ -d "$(omp_root)$(SLASH)..$(SLASH)testsuite$(SLASH)LLVM-IR" ] ; then \
export TESTSUITE_TEMP=$(realpath $(omp_root))$(SLASH)tmp ; \
export LIBRARY_PATH=$(libiomp5_path):$(LIBRARY_PATH) ; \
export INCLUDE_PATH=$(libiomp5_path)$(SLASH)..$(SLASH)..$(SLASH)common$(CLASH)include:$(INCLUDE_PATH) ; \
export LD_LIBRARY_PATH=$(libiomp5_path):$(LD_LIBRARY_PATH) ; \
export DYLD_LIBRARY_PATH=$(libiomp5_path):$(DYLD_LIBRARY_PATH) ; \
cd $(omp_root)$(SLASH)..$(SLASH)testsuite ; \

View File

@ -8,7 +8,7 @@
Two new files have been added to openmp/runtime: check-openmp.pl and check-openmp-test.pl
Go to /openmp/runtime, run:
make test
make test compiler=clang
make test-clean
------------------------------------------------------------------------------