From 046b20a844823fe03cad0278bbd54b95fe1a9bf6 Mon Sep 17 00:00:00 2001 From: Pansysk75 Date: Mon, 8 Apr 2024 16:14:29 -0500 Subject: [PATCH] Use -fnoopenmp-use-tls for building HPXMP tests --- openmp/runtime/test/lit.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg index da2d48d0a071b..528a568da4ee2 100644 --- a/openmp/runtime/test/lit.cfg +++ b/openmp/runtime/test/lit.cfg @@ -52,7 +52,8 @@ if config.with_hpxc: flags += " -I " + config.hpxc_header_directory + \ " -L " + os.path.realpath(config.hpxc_library_directory) + \ " --include=hpxc/threads.h --include=hpxc/util/wrap_main.h " + \ - " -DHPXC_HAVE_DYNAMIC_HPXC_MAIN" + " -DHPXC_HAVE_DYNAMIC_HPXC_MAIN" + \ + " -fnoopenmp-use-tls " print("with_hpxc: " + str(config.with_hpxc))