Skip to content

Commit 5d07162

Browse files
authored
[OpenMP] Fix the test issue when libomp is built as a static library (#113522)
1 parent 5d37415 commit 5d07162

File tree

1 file changed

+1
-1
lines changed
  • openmp/runtime/test/tasking/hidden_helper_task

1 file changed

+1
-1
lines changed

openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct anon {
4343
};
4444
}
4545

46-
kmp_int32 __kmp_hidden_helper_threads_num;
46+
static kmp_int32 __kmp_hidden_helper_threads_num;
4747

4848
kmp_int32 omp_task_entry(kmp_int32 gtid, kmp_task_t_with_privates *task) {
4949
auto shareds = reinterpret_cast<anon *>(task->task.shareds);

0 commit comments

Comments
 (0)