Changeset View
Changeset View
Standalone View
Standalone View
Makefile
Context not available. | |||||
@echo mode=$(mode) | @echo mode=$(mode) | ||||
@echo jobs=$(jobs) | @echo jobs=$(jobs) | ||||
include $(omp_root)$(SLASH)..$(SLASH)testsuite/Makefile | |||||
libiomp5_path=$(shell $(omp_root)/tools/check-openmp.pl) | |||||
test_path=$(shell $(omp_root)/tools/check-openmp-test.pl) | |||||
#check-openmp: info mkdir | |||||
test: info mkdir | |||||
@$(Verb) if which llvm-lit &> /dev/null; then \ | |||||
if [ -d "$(omp_root)$(SLASH)..$(SLASH)testsuite$(SLASH)LLVM-IR" ] ; then \ | |||||
TESTSUITE_TEMP=$(realpath $(omp_root))$(SLASH)tmp \ | |||||
LIBRARY_PATH=$(libiomp5_path):$(LIBRARY_PATH) \ | |||||
LD_LIBRARY_PATH=$(libiomp5_path):$(LD_LIBRARY_PATH) \ | |||||
DYLD_LIBRARY_PATH=$(libiomp5_path):$(DYLD_LIBRARY_PATH) \ | |||||
llvm-lit -j 1 $(realpath $(omp_root))$(SLASH)..$(SLASH)testsuite$(SLASH)LLVM-IR$(SLASH)$(test_path) -v ; \ | |||||
else \ | |||||
echo "No test directory" ; exit 1; \ | |||||
fi; else echo "No llvm-lit in $(PATH)"; exit 1; fi | |||||
Context not available. |