diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-25 18:04:09 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-25 18:04:09 +0000 |
| commit | 2851072d69af205fd8d2ef438db7e4848afb1592 (patch) | |
| tree | dcb52f43380903216be6c2b4002aa4a0c95b893d /openmp/runtime/test | |
| parent | 2a834115bf5caf0b3a2176dcec5ac4ca295e5332 (diff) | |
| download | bcm5719-llvm-2851072d69af205fd8d2ef438db7e4848afb1592.tar.gz bcm5719-llvm-2851072d69af205fd8d2ef438db7e4848afb1592.zip | |
Add initial support for OpenMP 4.5 task priority feature
The maximum task priority value is read from envirable: OMP_MAX_TASK_PRIORITY.
But as of now, nothing is done with it. We just handle the environment variable
and add the new api: omp_get_max_task_priority() which returns that value or
zero if it is not set.
Differential Revision: http://reviews.llvm.org/D17411
llvm-svn: 261908
Diffstat (limited to 'openmp/runtime/test')
| -rw-r--r-- | openmp/runtime/test/lit.cfg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg index e6d446757be..9e08584c790 100644 --- a/openmp/runtime/test/lit.cfg +++ b/openmp/runtime/test/lit.cfg @@ -70,7 +70,10 @@ if config.operating_system == 'Darwin': # substitutions config.substitutions.append(("%libomp-compile-and-run", \ - "%clang %cflags %s -o %t -lm && %t")) + "%libomp-compile && %libomp-run")) +config.substitutions.append(("%libomp-compile", \ + "%clang %cflags %s -o %t -lm")) +config.substitutions.append(("%libomp-run", "%t")) config.substitutions.append(("%clang", config.test_compiler)) config.substitutions.append(("%openmp_flag", config.test_openmp_flag)) config.substitutions.append(("%cflags", config.test_cflags)) |

